public final function onStart(\swoole_server $serv)
{
swoole_set_process_name("dora: master");
echo "MasterPid={$serv->master_pid}\n";
echo "ManagerPid={$serv->manager_pid}\n";
echo "Server: start.Swoole version is [" . SWOOLE_VERSION . "]\n";
$pidPath = rtrim($this->httpConfig['pid_path'], '/') . '/';
file_put_contents($pidPath . static::MASTER_PID, $serv->master_pid);
file_put_contents($pidPath . static::MANAGER_PID, $serv->manager_pid);
}