[BusyBox 0000421]: httpd applet in non-inet mode creates zombies
bugs at busybox.net
bugs at busybox.net
Fri Dec 16 07:47:57 UTC 2005
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=421
======================================================================
Reported By: jamwyatt
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 421
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 09-08-2005 08:23 PDT
Last Modified: 12-15-2005 23:47 PST
======================================================================
Summary: httpd applet in non-inet mode creates zombies
Description:
httpd main loop, when not in debug mode forks off children and never reaps
their returns codes. I've got a local fix working and have provided an
example diff.
The solution that I've used was to change the select in the loop to have a
2 second timeout and then add a general waitpid without hang at the end to
scan for any children to reap. This isn't the most efficient, as waitpid
is run every two seconds or after every incomming request ... not nice
behavior if you are handling 1000's of connections, but I suspect most
busybox use is not in that category.
Robert
======================================================================
----------------------------------------------------------------------
vodz - 09-19-05 03:49
----------------------------------------------------------------------
I destroy this bug from revision 11501
Issue History
Date Modified Username Field Change
======================================================================
09-08-05 08:23 jamwyatt New Issue
09-08-05 08:23 jamwyatt Status new => assigned
09-08-05 08:23 jamwyatt Assigned To => BusyBox
09-19-05 03:49 vodz Note Added: 0000549
12-15-05 23:47 landley Status assigned => closed
======================================================================
More information about the busybox-cvs
mailing list