On Sat, May 26, 2007 at 01:35:17PM +0300, Alex Efros wrote: > On Fri, May 25, 2007 at 01:07:42AM +0200, Radek Podgorny wrote: > > I'm experiancing a weird behaviour where runit (1.5.0) does not collect > > zombies. AFAIK the init (pid=1) process should take care of these and > > make them quit "correctly". I know that when zombies show up, the > > initiating application is to blame but in the real world, I need a > > stable server where I don't run out of PIDs after just few hours :-(. > > I've just got same issue. This is first time I see runit does not collect > zombies. Server uptime is 28 days, runit 1.5.0 (upgraded from 1.4.1 at > 21 Apr). Server generate huge amount of short-living processes, so maybe > some integer overflow in runit or something similar result in this issue. > > Right now I've 8114 zombies and user which run all these scripts now > unable to start new processes: > bash: fork: Resource temporarily unavailable > > Looks like I've to reboot to fix this issue for some time. :-( Hi Alex, the runit program didn't change from 1.4.1 to 1.5.0 or 1.5.1, so downgrading should not help. I'm not yet completely sure what the actual problem is, but have an idea. Can you please test the patch below?: cd /package/admin/runit patch -p0