If you have access to the logs on the remote machine, I'd suggest looking there first - if your program has exceeded any system-imposed limits, you may get an indication as to why. If you're not already, I'd suggest building in some sort of logging mechanism to your own code - this can be as basic as sprinkling print statements in the appropriate places.
Given that you mention 'thousands' of files which are not likely to be enormous (if they're typical of common emails), I'd guess you were running into open file descriptor limits. Better logging will reveal all though.
Hope that helps.
2006-03-13 Retitled by planetscape, as per Monastery guidelines
Original title: 'Re: Terminated'
In reply to Re: Why is my perl program 'Terminated' without explanation?
by john_oshea
in thread Why is my perl program 'Terminated' without explanation?
by wulfric
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |