首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swProcessPool_wait: worker#0 abnormal exit, status=0, signal=11
gdb 调戏信息如下 一下的gdb调试信息 {{{ #0 swReactorThread_onReceive_websocket (reactor=0x7f132dd97390, event=0x7f132eba5ca0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1196 #1 0x00007f132f86b832 in swReactorThread_onReceive_http_request (reactor=0x7f132dd97390, event=0x7f132eba5ca0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1286 #2 0x00007f132f8611ef in swReactorEpoll_wait (reactor=0x7f132dd97390, timeo=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/reactor/ReactorEpoll.c:263 #3 0x00007f132f86984b in swReactorThread_loop_stream (param=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1781 #4 0x00007f133ada3a51 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f133b6cd93d in clone () from /lib64/libc.so.6 }}} 我尝试修改修改了运行的模式($this->server = new \swoole_websocket_server($this->config['server']['host'], $this->config['server']['port'],SWOOLE_BASE, SWOOLE_SOCK_TCP | SWOOLE_SSL);) 又得到了如下的debug信息 {{{ #0 swReactorThread_onReceive_websocket (reactor=0x23c8e88, event=0x7fff7e94d310) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1196 #1 0x00007f7822f75832 in swReactorThread_onReceive_http_request (reactor=0x23c8e88, event=0x7fff7e94d310) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1286 #2 0x00007f7822f6b1ef in swReactorEpoll_wait (reactor=0x23c8e88, timeo=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/reactor/ReactorEpoll.c:263 #3 0x00007f7822f7682b in swReactorProcess_loop (pool=<value optimized out>, worker=0x7fff7e94d3c0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorProcess.c:359 #4 0x00007f7822f76c9f in swReactorProcess_start (serv=0x2396630) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorProcess.c:112 #5 0x00007f7822f6e3c7 in swServer_start (serv=0x2396630) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/Server.c:610 #6 0x00007f7822f5ade6 in zim_swoole_http_server_start (ht=<value optimized out>, return_value=0x7f7831edfeb8, return_value_ptr=<value optimized out>, this_ptr=0x7f7831ee0608, return_value_used=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/swoole_http.c:1498 #7 0x00007f78222b9faa in nb_execute_internal (execute_data=0x7f7831eac8b8, fci=0x0, return_value_used=0) at /tingyun/nbprof/nbprof.c:379 #8 0x0000000000872985 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:560 #9 0x0000000000862470 in execute_ex (execute_data=0x7f7831eac8b8) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:363 #10 0x00007f78222ba0da in nb_execute_ex (execute_data=0x7f7831eac8b8) at /tingyun/nbprof/nbprof.c:303 #11 0x0000000000872fec in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:592 #12 0x0000000000862470 in execute_ex (execute_data=0x7f7831eac240) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:363 #13 0x00007f78222ba0da in nb_execute_ex (execute_data=0x7f7831eac240) at /tingyun/nbprof/nbprof.c:303 #14 0x00000000007f3d19 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /www/server/phpextend/php-5.6.16/Zend/zend.c:1341 #15 0x00000000007936ea in php_execute_script (primary_file=0x7fff7e950f20) at /www/server/phpextend/php-5.6.16/main/main.c:2597 #16 0x000000000089a03c in do_cli (argc=2, argv=0x206aa00) at /www/server/phpextend/php-5.6.16/sapi/cli/php_cli.c:994 #17 0x000000000089a7d8 in main (argc=2, argv=0x206aa00) at /www/server/phpextend/php-5.6.16/sapi/cli/php_cli.c:1378 }}}
发布于7年前 · 7 次浏览 · 来自
提问
卢
卢伟-朴添咨询
gdb 调戏信息如下 一下的gdb调试信息 {{{ #0 swReactorThread_onReceive_websocket (reactor=0x7f132dd97390, event=0x7f132eba5ca0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1196 #1 0x00007f132f86b832 in swReactorThread_onReceive_http_request (reactor=0x7f132dd97390, event=0x7f132eba5ca0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1286 #2 0x00007f132f8611ef in swReactorEpoll_wait (reactor=0x7f132dd97390, timeo=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/reactor/ReactorEpoll.c:263 #3 0x00007f132f86984b in swReactorThread_loop_stream (param=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1781 #4 0x00007f133ada3a51 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f133b6cd93d in clone () from /lib64/libc.so.6 }}} 我尝试修改修改了运行的模式($this->server = new \swoole_websocket_server($this->config['server']['host'], $this->config['server']['port'],SWOOLE_BASE, SWOOLE_SOCK_TCP | SWOOLE_SSL);) 又得到了如下的debug信息 {{{ #0 swReactorThread_onReceive_websocket (reactor=0x23c8e88, event=0x7fff7e94d310) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1196 #1 0x00007f7822f75832 in swReactorThread_onReceive_http_request (reactor=0x23c8e88, event=0x7fff7e94d310) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorThread.c:1286 #2 0x00007f7822f6b1ef in swReactorEpoll_wait (reactor=0x23c8e88, timeo=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/reactor/ReactorEpoll.c:263 #3 0x00007f7822f7682b in swReactorProcess_loop (pool=<value optimized out>, worker=0x7fff7e94d3c0) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorProcess.c:359 #4 0x00007f7822f76c9f in swReactorProcess_start (serv=0x2396630) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/ReactorProcess.c:112 #5 0x00007f7822f6e3c7 in swServer_start (serv=0x2396630) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/src/network/Server.c:610 #6 0x00007f7822f5ade6 in zim_swoole_http_server_start (ht=<value optimized out>, return_value=0x7f7831edfeb8, return_value_ptr=<value optimized out>, this_ptr=0x7f7831ee0608, return_value_used=<value optimized out>) at /www/soft/swoole/swoole-src-swoole-1.7.22-stable/swoole_http.c:1498 #7 0x00007f78222b9faa in nb_execute_internal (execute_data=0x7f7831eac8b8, fci=0x0, return_value_used=0) at /tingyun/nbprof/nbprof.c:379 #8 0x0000000000872985 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:560 #9 0x0000000000862470 in execute_ex (execute_data=0x7f7831eac8b8) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:363 #10 0x00007f78222ba0da in nb_execute_ex (execute_data=0x7f7831eac8b8) at /tingyun/nbprof/nbprof.c:303 #11 0x0000000000872fec in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:592 #12 0x0000000000862470 in execute_ex (execute_data=0x7f7831eac240) at /www/server/phpextend/php-5.6.16/Zend/zend_vm_execute.h:363 #13 0x00007f78222ba0da in nb_execute_ex (execute_data=0x7f7831eac240) at /tingyun/nbprof/nbprof.c:303 #14 0x00000000007f3d19 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /www/server/phpextend/php-5.6.16/Zend/zend.c:1341 #15 0x00000000007936ea in php_execute_script (primary_file=0x7fff7e950f20) at /www/server/phpextend/php-5.6.16/main/main.c:2597 #16 0x000000000089a03c in do_cli (argc=2, argv=0x206aa00) at /www/server/phpextend/php-5.6.16/sapi/cli/php_cli.c:994 #17 0x000000000089a7d8 in main (argc=2, argv=0x206aa00) at /www/server/phpextend/php-5.6.16/sapi/cli/php_cli.c:1378 }}}
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2017-06-25
g
gelu
这个问题已经在1.8.2修复
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。