求助 stream_select(): unable to select [4]: Interrupted system call (max_fd=8)

wqq

使用workerman和PHPSocket.io时出现了下面的错误
stream_select(): unable to select : Interrupted system call (max_fd=8)

8877 2 0
2个回答

wqq

问题补充:

  • 暂无评论
walkor

stream_select(): unable to select : Interrupted system call (max_fd=8)

是因为stream_select系统调用被信号打断了,比如运行stop reload restart status都会给进程发送功能信号,会出现这个warning,是正常的可预知的warning 。源码里面也用@ 抑制了错误输出。

  • wqq 2017-11-17

    多谢 walkor大大

  • jewey 2018-03-21

    你好,我也遇到类似的问题,不过是报error的错,运行一段时间就会报这个错,并且workerman服务就处理不了消息了,你知道怎么处理吗?
    [ error ] [2]stream_select(): unable to select [4]: Interrupted system call (max_fd=6)

  • walkor 2018-03-22

    这个是可预知的warning,不会导致处理不了消息

  • jewey 2018-03-22

    @1:好的,多谢

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