yuchen99
yuchen99
补充,版本为swoole-src-swoole-1.7.8-stable/
补充: 运行一段时间会出现僵尸进程 root 18441 0.0 0.0 422112 14544 ? S 11:30 0:00 php order_dispatch_server.php root 18450 0.0 0.0 0 0 ? Z 11:30 0:00 [php] root 18451 0.0 0.0 0...
@matyhtf 配置参数 $setting = array( 'worker_num' => 8, 'daemonize' => true, //是否作为守护进程,此配置一般配合log_file使用 'max_request' => 1000, 'dispatch_mode' => 2, 'debug_mode' => 0, 'task_ipc_mode ' => 2, 'task_worker_num' => 10, );
strace -p 26819 poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout) poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout) poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout)...
strace -p 26820 Process 26820 attached - interrupt to quit wait4(-1,
运行中的php进程 ``` root 26819 0.0 0.0 1028352 15924 ? Ssl 14:19 0:00 php order_dispatch_server.php root 26820 0.0 0.0 422112 14520 ? S 14:19 0:00 php order_dispatch_server.php root 26829 0.0 0.0...
出现了大量的等待,这是在等待什么回复吗?
取消掉所有的业务逻辑后,启动的时候出现了大量的等待啊 ``` poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout) poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout) poll([{fd=51, events=POLLIN}, {fd=60, events=POLLIN}], 2, 1000) = 0 (Timeout) poll([{fd=51,...
fd 60 : lrwx------ 1 root root 64 12月 30 15:27 60 -> [signalfd]
在/proc/net $ cat tcp | grep 8132849 4: 00000000:1F97 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 8132849 1 ffff8803b8cd6ac0 99 0 0 10 -1 后边的远程端口是什么?