Don't fatal on epoll wait
This removes a log fatal on epoll wait for OOM events. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
dfde5ec316
commit
9743ff21c9
@ -116,7 +116,8 @@ func (o *oomCollector) start() {
|
||||
if err == unix.EINTR {
|
||||
continue
|
||||
}
|
||||
logrus.WithField("error", err).Fatal("cgroups: epoll wait")
|
||||
logrus.WithError(err).Error("cgroups: epoll wait failed, OOM notifications disabled")
|
||||
return
|
||||
}
|
||||
for i := 0; i < n; i++ {
|
||||
o.process(uintptr(events[i].Fd), events[i].Events)
|
||||
|
Loading…
Reference in New Issue
Block a user