Zombies and Multiprocessor???
I am having a problem with fork() and the child processes becoming zombies.
I am using the code from the Advanced Linux Programming book that sets up a simple
web server that forks child processes to handle requests. This is all working OK but
when the child processes complete they are not being cleared correctly by the
signal handler clean up function that calls the wait() function.
I am wondering if there is anything that needs to be done beyond the code from
the book if this program is running on a Dual Processor machine?
Cheers in advance
Re: Zombies and Multiprocessor???
Just rechecked, and yes I am using wait() so will try waitpid() and get back to you.
Need to do some more readup on this call to make sure it does not break other things.
Thanks for the prompt reply.
Not quite fixed but published
After letting the process run for a while longer it seems that the Zombie issue is not resolved correctly.
However I now have finished my webpage on the information for the Parallel Port Interface I constructed. Check out: