3.6. freezer


The freezer subsystem suspends or resumes tasks in a cgroup.
freezer.state
freezer.state is only available in non-root cgroups and has three possible values:
  • FROZEN — tasks in the cgroup are suspended.
  • FREEZING — the system is in the process of suspending tasks in the cgroup.
  • THAWED — tasks in the cgroup have resumed.
To suspend a specific process:
  1. Move that process to a cgroup in a hierarchy which has the freezer subsystem attached to it.
  2. Freeze that particular cgroup to suspend the process contained in it.
It is not possible to move a process into a suspended (frozen) cgroup.
Note that while the FROZEN and THAWED values can be written to freezer.state, FREEZING cannot be written, only read.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.