Bug #1625
closedFastcgi zombies
Description
I was kill some processes like: kill 15287 and see in process table
next:
lighttpd 15287 0.0 0.0 0 0 ? Z 15:45 0:00
test.fcgi <defunct>
lighttpd 15288 0.0 0.0 0 0 ? Z 15:45 0:00
test.fcgi <defunct>
lighttpd 15289 0.0 0.0 0 0 ? Z 15:45 0:00
test.fcgi <defunct>
lighttpd 15301 0.0 0.1 6244 2328 ? S 15:46 0:00
/usr/bin/perl /home/www/mysoft/slavefs/cgi/test.fcgi
My system is Fedora 7
It is bug? Any advice.
-- Dmitry
Updated by darix about 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
yeah fix your broken perl lighttpd cant do anything if your fastcgi processes get into zombie state.
Updated by vkhromov about 16 years ago
- Status changed from Invalid to Reopened
It get into zombie state because lighttpd doesn't call wait(2) for it.
Updated by stbuehler about 16 years ago
- Status changed from Reopened to Invalid
- Target version deleted (
1.5.0) - Patch available set to No
lighttpd calls waitpid if the backend doesn't respond to a connect; and i don't see a problem with having zombies. If you don't want them, spawn them via daemontools/runit + spawn-fcgi (as you need to do in 1.5 anyway, and i guess that just the target version was wrong).
Also available in: Atom