in reply to A daemon to tail a log and fork multiple external (perl) script

Maybe the prgPROCESS processes don't end and stay stuck without make room for other process?

Yes. You are creating zombie processes and not collecting them.

Adding:

$SIG{CHLD} = 'IGNORE';

to the top of your program will likely make the problem go away.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: A daemon to tail a log and fork multiple external (perl) script
  • Download Code