-
Notifications
You must be signed in to change notification settings - Fork 81
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
NTP sync causing periodic crashes #143
Comments
Same happening here -
host is in my case - mail.thefrown.net On production restarts happen quite often - Yesterday 33x times. I will try to increase clock-check-interval and see what happens. EDIT: Did not help... |
@tsupertramp that host does not look NTP-related? I also note that anonymous statistics are sent unless you turn off with |
#144 will increase max allowed skew to 2 min and checks to every 10 mins. If you want to disable it, set it to |
32 restarts in 5h on two different clusters seems pretty hight:
|
@tsupertramp , have you tried setting the |
Time seems to look good. Ah sorry i set it accidentally to Appreciate your fast response time! |
Happened again - |
Oh! Sorry, I misspoke. You need to set See here: |
Running 4h without problems. - Seems to "fix" it. Thanks a lot. |
NTP sync was introduced 0.1.0 via #83
Since upgrading to 0.1.0+ (including latest version) we see periodically the following:
F0529 18:25:05.766404 1 server.go:44] read udp [--IP REDACTED--]->128.138.141.172:123: i/o timeout goroutine 27 [running]: github.com/appscode/guard/vendor/github.com/golang/glog.stacks(0xc420339900, 0xc42019a320, 0x69, 0xa0) /go/src/github.com/appscode/guard/vendor/github.com/golang/glog/glog.go:766 +0xcf github.com/appscode/guard/vendor/github.com/golang/glog.(*loggingT).output(0x22972e0, 0xc400000003, 0xc4200ad4a0, 0x21e0a82, 0x9, 0x2c, 0x0) /go/src/github.com/appscode/guard/vendor/github.com/golang/glog/glog.go:717 +0x322 github.com/appscode/guard/vendor/github.com/golang/glog.(*loggingT).printDepth(0x22972e0, 0xc400000003, 0x1, 0xc420b04f98, 0x1, 0x1) /go/src/github.com/appscode/guard/vendor/github.com/golang/glog/glog.go:646 +0x12a github.com/appscode/guard/vendor/github.com/golang/glog.(*loggingT).print(0x22972e0, 0xc400000003, 0xc420b04f98, 0x1, 0x1) /go/src/github.com/appscode/guard/vendor/github.com/golang/glog/glog.go:637 +0x5a github.com/appscode/guard/vendor/github.com/golang/glog.Fatal(0xc420b04f98, 0x1, 0x1) /go/src/github.com/appscode/guard/vendor/github.com/golang/glog/glog.go:1125 +0x53 github.com/appscode/guard/server.Server.ListenAndServe.func1(0xc420526480, 0xc420366900) /go/src/github.com/appscode/guard/server/server.go:44 +0xf1 created by github.com/appscode/guard/server.Server.ListenAndServe /go/src/github.com/appscode/guard/server/server.go:41 +0xe1b
I note via
host 128.138.141.172
this is utcnist2.colorado.edu.I see the default for
clock-check-interval
is five minutes. Our errors are not that frequent, not are they regular, so I don't think this can be put down to an overly restrictive security group on our part. It happens approximately 10-20 times per week.Ideally - i/o timeouts should be dealt with, rather than any error here causing a fatal exception.
Alternatively - a simple way to turn this off should be provided. Best I can see right now is to make
clock-check-interval
big.The text was updated successfully, but these errors were encountered: