We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SIGKILL
1 parent bf70f4d commit a392c0dCopy full SHA for a392c0d
pkg/networks/usernet/recoincile.go
@@ -157,7 +157,10 @@ func Stop(ctx context.Context, name string) error {
157
break
158
}
159
if time.Since(startWaiting) > 5*time.Second {
160
- logrus.Infof("usernet network still running after 5 seconds")
+ logrus.Infof("usernet network still running after 5 seconds. Attempting to forcibly kill")
161
+ if err := osutil.SysKill(pid, osutil.SigKill); err != nil {
162
+ logrus.Error(err)
163
+ }
164
165
166
time.Sleep(500 * time.Millisecond)
0 commit comments