I use it to develop multiprocess program, but i found in python2.6 use ForkingTcpServer has some problem, for example: the child process without next new request, the resource will in system to become zombie process if i use multiprocess client to request this server, that will cause so more resource wasted, how can I fix this? and the other problem is child process inherit parent socket, and i find python3.7 just allow SOCK_CLOEXEC ,how can i deal with this socket inherit issue?
I use it to develop multiprocess program, but i found in python2.6 use ForkingTcpServer has some problem, for example: the child process without next new request, the resource will in system to become zombie process if i use multiprocess client to request this server, that will cause so more resource wasted, how can I fix this? and the other problem is child process inherit parent socket, and i find python3.7 just allow SOCK_CLOEXEC ,how can i deal with this socket inherit issue?