Skip to content
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

use of closed network connection #34

Open
lookfirst opened this issue Jun 6, 2019 · 2 comments
Open

use of closed network connection #34

lookfirst opened this issue Jun 6, 2019 · 2 comments

Comments

@lookfirst
Copy link
Contributor

Copied the code on the homepage, but now I print out the error from http.Serve().

./test
2019/06/06 15:42:07 [overseer master] run
2019/06/06 15:42:07 [overseer master] starting /tmp/main/test
2019/06/06 15:42:07 [overseer slave#1] run
2019/06/06 15:42:07 [overseer slave#1] start program
2019/06/06 15:42:07 app (f81a86c0d7a5120aa306900493dacb542143ca66) listening...
2019/06/06 15:42:45 [overseer master] graceful restart triggered
2019/06/06 15:42:45 [overseer slave#1] graceful shutdown requested
2019/06/06 15:42:45 accept tcp [::]:3000: use of closed network connection
2019/06/06 15:42:45 [overseer master] signaled, sockets ready
2019/06/06 15:42:45 [overseer master] starting /tmp/main/test
2019/06/06 15:42:45 [overseer master] restart success
2019/06/06 15:42:45 [overseer slave#2] run
2019/06/06 15:42:45 [overseer slave#2] start program
2019/06/06 15:42:45 app (f81a86c0d7a5120aa306900493dacb542143ca66) listening...

The problem is that when I do a kill -s SIGUSR2 PID, I sometimes get an error along the lines of:

accept tcp [::]:3000: use of closed network connection

Ideas?

@lookfirst lookfirst changed the title Order of events use of closed network connection Jun 6, 2019
@zltgo
Copy link

zltgo commented Oct 25, 2019

I have the same problem, also in fvbock/endless.
why?

@yrashk
Copy link

yrashk commented May 3, 2021

I also am running into this. Any discoveries on this end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants