kuksugen / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

<defunct> processes stay for hours without exiting cleanly while displaying continuous stream of images #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write CGI script to display images continuously
2. View script in the browser or gstreamer
3. Navigate broswer to another webpage or if viewing in gstreamer press CTRL^C 
on gstreamer

What is the expected output? What do you see instead?  See the following for 
complete discussion:
http://stackoverflow.com/questions/6986543/how-to-handle-kill-zombie-or-defunct-
process-for-cgi-script-c-on-mongoose

What version of the product are you using? On what operating system?
Latest Download as of May 15, 2011 on Ubuntu 10.04

Please provide any additional information below.
The problems seems to be related to parent (in this case Mongoose) waiting on 
Child (script) resulting in zombies

Original issue reported on code.google.com by enthusia...@gmail.com on 8 Aug 2011 at 6:49

GoogleCodeExporter commented 9 years ago
Please try the latest code. There is a change to ignore SIGCHLD signal, which 
makes kernel to do the cleanup. Reopen the bug if the fix doesn't work.

Original comment by valenok on 13 Aug 2011 at 8:11