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
net: bug in new pollserver code #3030
Labels
Milestone
Comments
I just had a look at fd.go and fd_darwin.go behavior using print. --- PASS: TestRequestLimit (0.26 seconds) === RUN TestRequestBodyLimit put fd:4 key:8 depth:47 put fd:73 key:147 depth:48 get-lookupfd fd:73 key:147 depth:47 get-lookupfd fd:4 key:8 depth:46 put fd:73 key:146 depth:47 put fd:4 key:8 depth:48 (snip) get-evict-r fd:73 key:146 depth:47 get-evict-r fd:4 key:8 depth:46 panic: pollServer: unexpected wakeup for fd=73 mode=r Looks like: - New pollServer.Evict calls pollster.DelFD - pollster.DelFD deletes existing events - But a kernel sometimes notifies ex-pending fd's event (in this case fd:73) Perhaps we can drop a print line just after LookFD in pollServer.Run. |
This issue was closed by revision 213997a. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: