Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

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

Open
RyanBlundell opened this issue Feb 11, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@RyanBlundell
Copy link

RyanBlundell commented Feb 11, 2020

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/socket-raw#52

@nesk nesk added the bug Something isn't working label Sep 21, 2020
@vcjacks1224
Copy link

vcjacks1224 commented Aug 4, 2021

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

@vcjacks1224
Copy link

Hi @RyanBlundell did you find workaround fix for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants