MyCrontab.pid';
```
也还是不行
#### 程序代码
```
<?心跳定时器
Timer::add(20, function() use ($conC){$conC->send("ping");});
// 远程websocket服务器发来消息时$data." ");
};
// 连接上发生错误时,一般是连接远程websocket服务器失败错误
$conC->onError = function($connection, $code, $msg){};
// 当连接远程websocket服务器的连接断开时// 如果连接断开20秒后自动重连
$conC->onClose = function($connection){$this->outputmode
Workerman[think] already running
```
#### 触发报错的步骤
think Startws1 start 正常
think Startws2 start 不正常