Comments (2)
Update:
func (t *St) SH() {
.... (some code)
c := make(chan os.Signal, len(sigs))
signal.Notify(c, sigs...)
for {
select {
case sig := <-c:
t.handle(sig)
case <-t.ch:
return
}
}
}
I found this function above in the code
When I commented out this function, it closed properly
... Why this happen..?
from overseer.
Also, I did an experiment and without any wrapping, with the default gin framework, when I call
kill -SIGUSR2 ${master_pid}
I get an error as follows
accept tcp [::]:5001: use of closed network connection
Is this error normal and do I need to deal with it?
======
Does this error report have the same effect as the http.ErrServerClosed
?
// ErrServerClosed is returned by the Server's Serve, ServeTLS, ListenAndServe,
// and ListenAndServeTLS methods after a call to Shutdown or Close.
var ErrServerClosed = errors.New("http: Server closed")
from overseer.
Related Issues (20)
- graceful restart can not achieve zero-down HOT 3
- How to fetch the same binary again at a later time by HTTP fetcher?
- Feature Request: Dont show user [OPTION] HOT 1
- Error with windows build HOT 3
- REQUEST: Report an issue
- Operational inquiries
- Windows HOT 1
- Request: pause fetching files when Filesystem usage is about X
- How can overseer integrate with go-daemon HOT 1
- Can I not set Address And Addresses? My app isn't used to listen any port. HOT 1
- Failed to retreive fd for: :5001 (file tcp [::]:5001: not supported by windows) HOT 6
- restart server : accept tcp 127.0.0.1:9507: use of closed network connection HOT 3
- HTTP responsed but associated async tasks not finish, can release http conn after wait sometime?
- Overseer occupies port 80
- Can I set endpoint for s3 fetcher? HOT 2
- Whether the unioxsocket address is supported?
- compile a 32-bit LSB executable on arm and Execution error-> panic: unaligned 64-bit atomic operation
- How to introduce overseer in ListenAndServe in Gin HOT 1
- Overseer consume extra memory usage after upgrade HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overseer.