webman 1.2.4
1.
有时候,debug模式下,输出以下内容:
worker[15380] remains 1 connection(s)
worker[15379] remains 1 connection(s)
worker[15378] remains 1 connection(s)
worker[15381] remains 1 connection(s)
worker[15378] remains 1 connection(s)
worker[15380] remains 1 connection(s)
worker[15380] remains 1 connection(s)
2.
没有其他报错信息,也没有异常抛出
3.
偶尔发生
这是什么情况啊?
因为终端关闭了,服务在graceful stop。
更新下workerman到4.0.29或者后续更高版本试下。
composer require workerman/workerman ^v4.0.29
4.0.29 优化了下信号。
composer info workerman/workerman
name : workerman/workerman
descrip. : An asynchronous event driven PHP framework for easily building fast, scalable network applications.
keywords : asynchronous, event-loop
versions : * 4.0.29
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : http://www.workerman.net
source : [git] https://github.com/walkor/workerman.git 34fa51d178ca620fbe00fc4b55645b876846886f
dist : [zip] https://api.github.com/repos/walkor/workerman/zipball/34fa51d178ca620fbe00fc4b55645b876846886f 34fa51d178ca620fbe00fc4b55645b876846886f
path : xxx/vendor/workerman/workerman
names : workerman/workerman
support
email : walkor@workerman.net
forum : http://wenda.workerman.net/
issues : https://github.com/walkor/workerman/issues
source : https://github.com/walkor/workerman
wiki : http://doc.workerman.net/
autoload
psr-4
Workerman\ => ./
requires
php >=5.3
suggests
ext-event For better performance.
workerman更新到 4.0.30