webman 刷新status 状态 不定期报错退出状态程序

mylovehx

问题描述

webman

../webman/start.php status -d

报错信息

unserialize(): Error at offset 0 of 89 bytes in file /home/webman/vendor/workerman/workerman/Worker.php on line 1065
PHP Fatal error: Uncaught TypeError: ksort(): Argument #1 ($array) must be of type array, bool given in /home/webman/vendor/workerman/workerman/Worker.php:1067
Stack trace:

0 /home/webman/vendor/workerman/workerman/Worker.php(1067): ksort()

1 /home/webman/vendor/workerman/workerman/Worker.php(969): Workerman\Worker::formatStatusData()

2 /home/webman/vendor/workerman/workerman/Worker.php(552): Workerman\Worker::parseCommand()

3 /home/webman/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()

4 /home/webman/start.php(4): support\App::run()

5 {main}

thrown in /home/webman/vendor/workerman/workerman/Worker.php on line 1067

Fatal error: Uncaught TypeError: ksort(): Argument #1 ($array) must be of type array, bool given in /home/webman/vendor/workerman/workerman/Worker.php:1067
Stack trace:

0 /home/webman/vendor/workerman/workerman/Worker.php(1067): ksort()

1 /home/webman/vendor/workerman/workerman/Worker.php(969): Workerman\Worker::formatStatusData()

2 /home/webman/vendor/workerman/workerman/Worker.php(552): Workerman\Worker::parseCommand()

3 /home/webman/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()

4 /home/webman/start.php(4): support\App::run()

5 {main}

thrown in /home/webman/vendor/workerman/workerman/Worker.php on line 1067

操作系统及workerman/webman等框架组件具体版本

centos7.9

----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.1.14 PHP version:8.2.4
start time:2024-02-04 20:45:08 run 0 days 12 hours
load average: 0, 0, 0 event-loop:\Workerman\Events\Event
2 workers 97 processes
worker_name exit_status exit_count
webman 0 0
monitor 0 0

440 0 0
0个回答

×
🔝