public function actionStop($trys=3)
    {
        $pid = $this->getMasterPid();
        Console::stdout("stopping $pid ...");
        while( $trys>0 ){
            if(!posix_kill($pid, SIGTERM)) {
                Console::stdout(" success.\r\n");
                exit(0);
            }
            
            $trys--;
            usleep(300000);
        }
        
        if($trys <=0){
            Console::error(" failed !\r\n");
        }
        exit(5);
    }