bref: Unrecoverable state on Socket Exception
When Lambda enters in the catch section of the responder exception, it will never recover until AWS decides to kill it.
try {
$responder->send($requestHeaders, $requestBody);
} catch (HoaFastCgiException|HoaSocketException $e) {
}
I am investigating what we can do in order to fix this issue.
I Already tried:
1 - killExistingFpm - it does kill, but the process stays as defunct and waitUntilStopped always return timeout error exception. 2 - killExistingFpm removing the waitUntilStopped, this “works” as fpm again loads, but the socket never attach to it… 3 - used shell_exec to kill the process and results the same as 1
Will update here when I have more results… Feel free to drop your penny here.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (19 by maintainers)
Ok more insights…
Even when fpm is exited and i get it running with another pid it does not recover… will continue with tests and will update here.
@mnapoli most extensions yes, but i need to have PHP compiled with SOAP support (google ads sdk) and redis compiled with igbinary support also, with this i need to have my own runtime running ( i could only overwrite those files, but i think its easier having everything in a single layer)