Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Re: Daemon causing zombies under 5.8

by virtualsue (Vicar)
on Jan 13, 2003 at 23:35 UTC ( #226650=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Daemon causing zombies under 5.8
in thread Daemon causing zombies under 5.8

You're welcome. I suggest you think about removing the recursion that Helter pointed out, too. I never noticed it when I skimmed your program the first time, because I was only looking for the cause of your zombie problem. Wouldn't it be much cleaner to structure your code like

while (1) { process_files(); # loop(), essentially sleep $interval; }

Comment on Re: Re: Re: Daemon causing zombies under 5.8
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://226650]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2015-11-30 17:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls