http://www.perlmonks.org?node_id=226650


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; }
?