in reply to Perl Daemons
Don't worry about making programs run forever; worry about people who think that servers run forever. The same memory leaks and stealth bugs that might be in your Perl might also be in the server OS.
I don't trust a server with more than about 30 days of uptime. In fact, the Big Brother server monitoring software includes code to send an alarm if server uptime exceeds user-defined threshholds.
Worry about making the code solid for a 30-90 day run. Any longer than that and you could run into problems with the parts you didn't write.
The worker child suggestion above is also a very good idea.
--
Spring: Forces, Coiled Again!
I don't trust a server with more than about 30 days of uptime. In fact, the Big Brother server monitoring software includes code to send an alarm if server uptime exceeds user-defined threshholds.
Worry about making the code solid for a 30-90 day run. Any longer than that and you could run into problems with the parts you didn't write.
The worker child suggestion above is also a very good idea.
--
Spring: Forces, Coiled Again!
In Section
Seekers of Perl Wisdom