Containers with CPU limits fail to start with error "failed to write 100000 to cpu.cfs_period_us: write /sys/fs/cgroup/cpu,cpuacct/kubepods.slice/kubepods-podXX_XXXX_XXXX_XXXX_XXX.slice/docker-XXXXX.scope/cpu.cfs_period_us: invalid argument\""

Solution In Progress - Updated -

Issue

  • Deploy a pod with CPU limits on affected nodes and pods deployment failed with error
level=error msg="containerd: start container" error="oci runtime error: container_linux.go:235: starting container process caused "process_linux.go:327: setting cgroup config for procHooks process caused \"failed to write 100000 to cpu.cfs_period_us: write /sys/fs/cgroup/cpu,cpuacct/kubepods.slice/kubepods-podXXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX.slice/docker-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.scope/cpu.cfs_period_us: invalid argument\""

Environment

  • Red Hat OpenShift Container Platform
    • 3.9+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content