qq has asked for the wisdom of the Perl Monks concerning the following question:
I've got several daemons (using Proc::Daemon) that scrape web pages and insert the info into a mysql database.
If a daemon gets killed (which they do a lot while testing) do I need to explicity close the mysql connection in a signal handler? Is there any other cleanup I should be thinking about?
I'd appreciate pointers to good reading material on daemons. I've read the Camel material, and I've picked up pieces here and there. But they tend to focus just on how simple they are. Are they?
Thank you, qq
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: interrupting a daemon
by Zaxo (Archbishop) on Oct 23, 2004 at 19:54 UTC | |
by tachyon (Chancellor) on Oct 24, 2004 at 04:07 UTC | |
Re: interrupting a daemon
by lhoward (Vicar) on Oct 23, 2004 at 16:00 UTC | |
by tachyon (Chancellor) on Oct 23, 2004 at 22:15 UTC | |
Re: interrupting a daemon
by Your Mother (Archbishop) on Oct 23, 2004 at 23:57 UTC | |
Re: interrupting a daemon
by qq (Hermit) on Oct 25, 2004 at 14:12 UTC |
Back to
Seekers of Perl Wisdom