-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No answer from server #40
Comments
I can reproduce this on my local box (fedora 30) with FPM on PHP 7.3, PHP 7.2 and PHP 7.1. So at least it's nothing where the FPM changes had any effect. Switching to UnixDomainSocket does not change the observed behavior, either. |
* Those tests cover the issue when not using response callbacks
To also document it here: The root cause of this behavior was the change to re-using idle sockets in The fix was to close & remove sockets of async requests after they have responded. The fix was merged in f09beca |
Expected Behavior
An error message/exception and correct work finishing of the server, if responses cannot be handled.
Actual Behavior
No answer from the server, because a client has unhandled responses, but it cannot be handled.
Specifications
Further comments
Fpm-server configuration has the number of child processes pm.max_children = 3.
The problem occurs, if the number of concurrently sent processes is above pm.max_children. I send concurrently five PostRequests to the fpm-server via hollodotme\FastCGI\Client. The server receives all requestIds and stores them. First three requests are successfully processed. The last two are only stored, but aren’t handled. No exception is shown. The server can’t finish a script execution.
The text was updated successfully, but these errors were encountered: