Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
459 views
in Technique[技术] by (71.8m points)

swoole制作聊天室有waring:swManager_check_exit_status

swoole制作聊天室,在服务端执行

php server.php

开始没有出现WARNING
当有客户端连接之后,出现warning

 $104903.0] WARNING swManager_check_exit_status: worker#0 abnormal exit, status=0, signal=11

求指导,这个warning是什么意思?谢谢各位

运行环境:

PHP 7.0.17
Apache/2.4.18 (Ubuntu)
swoole-2.0.7

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

如果你没有用到协程,建议使用1.9.8这个版本。 signal=11 表示产生了 core dump,你需要使用 gdb 跟踪。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...