Problem with ForkingTCPServer

Marc KRAUTH marc.krauth at ac-strasbourg.fr
Tue Oct 14 09:29:14 EDT 2003


I've writen a program with this class and it works fine, but when a
process is forked, he stay in zombi state.

12697 pts/3    S      0:00 /usr/bin/python ./pygmee.py
12699 pts/3    Z      0:00 [pygmee.py <defunct>]

If someone could help me and tell me how exactly to kill this forked
process with an example ?

---
pygmed = SocketServer.ForkingTCPServer (server_address,
AlpesRequestHandler)
pygmed.serve_forever()

class AlpesRequestHandler(SocketServer.BaseRequestHandler):
        def handle(self):
            etc...




More information about the Python-list mailing list