-
Notifications
You must be signed in to change notification settings - Fork 93
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
Poll gave fd xx which isn't in m_sockets #28
Comments
Maybe this will help a bit with the problem. I added debug statements to see if this error happens in the middle of a request or after and it looks like it only happens after returning true from response().
The last line is repeated a total of 963 times. I have an atomic enum that I set to either start/working/finished that gets set to finished before calling My guess is that something isn't quite closed. |
Yeah. This is a tough one. I'd guess that the OS just isn't cleaning things up as quickly as fastcgi++ is expecting it to. I myself have never run into this issue but I suspect different system configurations have different socket cleanup strategies. In all fairness it's probably not worth even throwing an error message since the code tries again to fully clean things up. It's more just intended to notify you that, although everything is okay, something happened that was unexpected. Are your systems Linux epoll() or posix select()? |
I'm in Linux. My guess is that it's not sending the data, or not all of it. I don't know enough about how it works or about epoll but could it be that we still have data to send when we call
My setup is Fastcgipp is listening on a TCP port and Apache w/ fastcgi_module is on a remote server on same lan. I'm running the Manager on a single thread and pushing all response handling to a thread pool. |
Again, thanks @Erroneous1 for solving this one. |
No problem. I'm in the process of updating my 2.1 code to 3.0. So far I am loving the improvements! |
Ah glad to hear it! Let me know once you feel it is running smoothly and we'll do a 3.1 "Aaron" release with all your fixes. |
Excellent! i expect your good news! @Erroneous1 |
I came across this problem sometimes.
Jul 10 00:00:03 machinename /fastcgidemo [1452] [error]: Poll gave fd 26 which isn't in m_sockets.
It was likely that socket gourps was in disorder.i want to know what can lead to this error and how to solve.
The text was updated successfully, but these errors were encountered: