We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d9f20f + b702ba9 commit d176b6eCopy full SHA for d176b6e
libcontainerd/remote_unix.go
@@ -165,6 +165,10 @@ func (r *remote) handleConnectionChange() {
165
if transientFailureCount >= maxConnectionRetryCount {
166
transientFailureCount = 0
167
if utils.IsProcessAlive(r.daemonPid) {
168
+ logrus.Infof("killing and restarting containerd")
169
+ // Try to get a stack trace
170
+ syscall.Kill(r.daemonPid, syscall.SIGUSR1)
171
+ <-time.After(100 * time.Millisecond)
172
utils.KillProcess(r.daemonPid)
173
}
174
<-r.daemonWaitCh
0 commit comments