Skip to content

Commit cb4937a

Browse files
committed
ignore errProcessInfoMissing when getting process RSS
1 parent f248bbb commit cb4937a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pipe/memorylimit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func killAtLimit(byteLimit uint64, eventHandler func(e *Event)) memoryWatchFunc
5858
return
5959
case <-t.C:
6060
rss, err := stage.GetRSSAnon(ctx)
61-
if err != nil {
61+
if err != nil && err != errProcessInfoMissing {
6262
consecutiveErrors++
6363
if consecutiveErrors >= 2 {
6464
eventHandler(&Event{

0 commit comments

Comments
 (0)