|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^6: Daemon crashes the systemby RMGir (Parson) |
| on Nov 02, 2011 at 13:19 UTC ( #935393=note: print w/ replies, xml ) | Need Help?? |
|
I don't think I can help you any more than this - there's too much I don't know about your system. Have you tried using system monitoring tools to look at the machine and see what's going on? Are there a lot of php or perl processes still running? Is there one process (or one KIND of process) that's using too many resources? Late edit: You asked "if I add: $ SIG {CHLD} = 'IGNORE'; in each sub?" - that doesn't matter, the $SIG{CHLD} setting is global - it affects the whole program. As long as you do it before the first "fork", it's fine. Mike
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||