Skip to content

Warning on stream_select() when catching signal with pcntl_signal() #296

@Divi

Description

@Divi

Hello,

When catching a signal SIGTERM or SIGINT with the function pcntl_signal() there is a warning message just before the signal is catched :

Warning: stream_select(): unable to select [4]: Interrupted system call (max_fd=17) in /vagrant/vendor/react/event-loop/StreamSelectLoop.php on line 252

or, on the second time with the same signal :

Warning: stream_socket_accept(): accept failed: Interrupted system call in /vagrant/vendor/react/socket/Server.php on line 34

Tested with signal function :

function () { die; }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions