Problem with ForkingTCPServer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marc KRAUTH

    Problem with ForkingTCPServer

    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.Fo rkingTCPServer (server_address ,
    AlpesRequestHan dler)
    pygmed.serve_fo rever()

    class AlpesRequestHan dler(SocketServ er.BaseRequestH andler):
    def handle(self):
    etc...
Working...