We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d9f20f commit b702ba9Copy full SHA for b702ba9
1 file changed
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