Project

General

Profile

Actions

Bug #1625

closed

Fastcgi zombies

Added by Anonymous about 17 years ago. Updated about 16 years ago.

Status:
Invalid
Priority:
High
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

Actions #1

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.

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions #3

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.

Actions #4

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).

Actions

Also available in: Atom