P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> When calling keys %hash, you load all keys in memory at once. This can take quite some time if your database is not small. Are you sure your programm hangs dead? How long have you been waiting? Maybe a look at a process watcher such as top could help. No, I'm sure the process is hung. I've let it sit overnight. It only happens once every few weeks. Rebuilding the corrupt db on the originating server fixes the problem, but the only way to find out I need to do this is after learning my script has been running all night. I then need to isolate which db file it is that's causing the issue, and rebuild that one file. I will work to try and implement your changes. Do you think that will be better at dealing with corrupt entries in the db file? Thanks,Dave In reply to Re^2: Dealing with corrupt db_file files
by gossamer
|
|