php forking issue
问题 I have the following test php to do a fork/spawn process, where the test also attempts to kill the child process (zombie) after is completes.. I'd like to have a more efficient process, where any child processes are immediately removed from the process table as soon as possible. The current attempt fills up the process table, and causes a memory allocation issue that shuts down the system. The app is running on a Fedora/Centos system. I'm running into a memory allocation err when this runs,