os.fork leaving processes behind

Falcolas garrickp at gmail.com
Mon Dec 31 13:21:22 EST 2007


On Dec 28, 12:11 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> I'd try to use any of the existing server implementations in
> SocketServer.py, but if you insist on using your own, look at the
> ForkingMixin class as an example of using waitpid() to avoid having zombie
> processes.
>
> --
> Gabriel Genellina

Thanks for the excellent advice. I went with the SocketServer, and I'm
quite happy with the results. I had not considered it earlier due to
the atrocious documentation on the Python site. Google helped with
that immensely.

G



More information about the Python-list mailing list