rialto icon indicating copy to clipboard operation
rialto copied to clipboard

Failed to select socket for reading: Interrupted system call (SOCKET_EINTR)

Open RyanBlundell opened this issue 5 years ago • 2 comments

Hi there,

I am running php-socket-raw via nesk/puphpeteer. I am often running into the following error. Do you have any idea what is causing it? I can't seem to find anyone else with this issue but it is happening on two of my servers.

PHP Fatal error: Uncaught Socket\\Raw\\Exception: Failed to select socket for reading: Interrupted system call (SOCKET_EINTR) in /var/www/html/vendor/clue/socket-raw/src/Exception.php:59\nStack trace:\n#0 /var/www/html/vendor/clue/socket-raw/src/Exception.php(45): Socket\\Raw\\Exception::createFromCode(4, 'Failed to selec...')\n#1 /var/www/html/vendor/clue/socket-raw/src/Socket.php(307): Socket\\Raw\\Exception::createFromGlobalSocketOperation('Failed to selec...')\n#2 /var/www/html/vendor/nesk/rialto/src/ProcessSupervisor.php(408): Socket\\Raw\\Socket->selectRead(30)\n#3 /var/www/html/vendor/nesk/rialto/src/ProcessSupervisor.php(382): Nesk\\Rialto\\ProcessSupervisor->readNextProcessValue(true)\n#4 /var/www/html/vendor/nesk/rialto/src/Traits/CommunicatesWithProcessSupervisor.php(84): Nesk\\Rialto\\ProcessSupervisor->executeInstruction(Object(Nesk\\Rialto\\Instruction))\n#5 /var/www/html/vendor/nesk/rialto/src/Traits/CommunicatesWithProcessSupervisor.php(100): Nesk\\Rialto\\AbstractEntryPoint->proxyAction('call', 'launch', Array)\n#6 /var/www/html/ind in /var/www/html/vendor/clue/socket-raw/src/Exception.php on line 59

I originally reported this to clue/socket-raw however they suggested that I report it downstream here: clue/php-socket-raw#52

RyanBlundell avatar Feb 11 '20 12:02 RyanBlundell

Do you guys have fix for this one? On local, it seems working, but on our server it throws the error..

vcjacks1224 avatar Aug 04 '21 06:08 vcjacks1224

Hi @RyanBlundell did you find workaround fix for this?

vcjacks1224 avatar Aug 04 '21 17:08 vcjacks1224