沒有任何操作 出現(xiàn)了一次重啟 概率性重啟 幾個月一次這樣
出現(xiàn)服務異常重啟
升級版本?還是? 畢竟一兩個月一次 影響還不是很大
2023-07-31 07:06:47 pid:3104117 Workerman[/game/gameServer/Server/../Games/ludo/start.php] status
2023-07-31 21:39:00 pid:3197219 Workerman[/game/gameServer/Server/../Games/ludo/start.php] status
2023-08-16 03:01:47 pid:3277683 Workerman[start.php] stopping ...
2023-08-16 03:01:47 pid:3277683 Workerman[start.php] stopping ...
2023-08-16 03:01:47 pid:3580182 worker[3580182] remains 64 connection(s)
2023-08-16 03:01:47 pid:3580182 worker[3580182] remains 32 connection(s)
2023-08-16 03:01:47 pid:3277683 worker[ludo:3580182] exit with status 139
2023-08-16 03:01:47 pid:3277683 Workerman[start.php] has been stopped
2023-08-16 03:05:37 pid:5653 Workerman[/game/gameServer/Games/ludo/start.php] start in DAEMON mode
2023-08-18 03:02:20 pid:205308 Workerman[/game/gameServer/Server/../Games/ludo/start.php] status
Workerman version:4.0.25 PHP version:7.3.10
load average: 2.74, 2.35, 2.17 event-loop:\Workerman\Events\Event
1 workers 1 processes
出現(xiàn)這個INFO信息:
2023-08-16 03:01:47 pid:3580182 worker[3580182] remains 64 connection(s)
2023-08-16 03:01:47 pid:3580182 worker[3580182] remains 32 connection(s)
記得只有你執(zhí)行了 stop -g 命令才會出現(xiàn)上面提示,當前那個進程告訴你還有64個TCP連接存活,過了一會兒還有32個連接存活。這種停止方式,客戶端在超時范圍內(nèi)都是安全的,不會暴力關閉客戶端連接。