public function processRecoverCallback()
    {
        while (($pid = pcntl_waitpid(0, $status, WNOHANG)) > 0) {
            $message = "process exit. pid:" . $pid . ". exit code:" . $status;
            $this->logger->info($message);
        }
    }
public function processRecoverCallback()
    {
        while (($pid = pcntl_waitpid(0, $status, WNOHANG)) > 0) {
            $message = "process exit. pid:" . $pid . ". exit code:" . $status;
            $this->logger->info($message);
        }
    }
public function processRecoverCallback ( ) { while ( ( $ pid = pcntl_waitpid ( 0 , $ status , WNOHANG ) ) > 0 ) { $ message = "process exit. pid:" . $ pid . ". exit code:" . $ status ; $ this -> logger -> info ( $ message ) ; } }
recover the sub processes
recover the sub processes