MQTT启动有worker进程(已解决)

wxvirus

测试环境没有worker启动

截图

正式环境有

截图

这是啥问题啊,而且正式环境kill之后在启动直接top

----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.0.33          PHP version:7.1.33
start time:2022-07-16 11:39:48   run 0 days 0 hours   
load average: 6.18, 5.14, 4.78   event-loop:\Workerman\Events\Select
1 workers       1 processes
worker_name  exit_status      exit_count
none         0                0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory  listening    worker_name  connections send_fail timers  total_request qps    status
184356  2M      none         none         1           0         2       422           0      [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 2M      -            -            1           0         2       422           0      [Summary] 

截图

top 直接爆满

好吧,查询问答里,分析了一波


11:50:54.995201 ioctl(1, TCGETS, 0x7ffe68ad10a0) = -1 ENOTTY (Inappropriate ioctl for device)
11:50:54.995230 write(1, "pcntl_wait() has been disabled f"..., 155) = 155
11:50:54.995261 fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), ...}) = 0
11:50:54.995292 ioctl(1, TCGETS, 0x7ffe68ad10a0) = -1 ENOTTY (Inappropriate ioctl for device)
11:50:54.995321 write(1, "pcntl_wait() has been disabled f"..., 155) = 155
11:50:54.995352 fstat(1, {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x3), ...}) = 0
11:50:54.995383 ioctl(1, TCGETS, 0x7ffe68ad10a0) = -1 ENOTTY (Inappropriate ioctl for device^C

禁用函数还有没关的

1254 0 0
0个回答

年代过于久远,无法发表回答
×
🔝