diff --git a/cmd/containerd-shim/main_unix.go b/cmd/containerd-shim/main_unix.go index 307d44899..f59a96270 100644 --- a/cmd/containerd-shim/main_unix.go +++ b/cmd/containerd-shim/main_unix.go @@ -60,7 +60,7 @@ func init() { } func main() { - debug.SetGCPercent(10) + debug.SetGCPercent(40) go func() { for range time.Tick(30 * time.Second) { debug.FreeOSMemory() diff --git a/linux/proc/types.go b/linux/proc/types.go index 42dae5abf..17c78fe9d 100644 --- a/linux/proc/types.go +++ b/linux/proc/types.go @@ -4,6 +4,7 @@ import ( google_protobuf "github.com/gogo/protobuf/types" ) +// Mount holds filesystem mount configuration type Mount struct { Type string Source string