in reply to script meant to act as daemon dies unexpectedly
If the above doesn't help, there are unfortunately several things that could be causing it outside of perl. As mentioned above, it could be MySQL with the problem. The best advice I can give is to do some verbose debugging in the script: write out to a logfile, check every return code from all system calls and MySQL calls, write success messages for every part that succeeds, etc. Try putting an END block in your perl code to trap the time that it's dying, and see if it's doing so at a regular interval.
Hope this helps.
|Replies are listed 'Best First'.|
RE: Re: script meant to act as daemon dies unexpectedly
by Anonymous Monk on May 06, 2000 at 01:07 UTC