问题原文
原帖链接 · Johannes Ernst · CC BY-SA 4.0
From systemctl status foo. I have both a foo.service and a foo.timer:
Active: activating (auto-restart) (thawing) since Fri 2020-10-09 21:32:56 UTC; 3min 1s ago
I can't find the word "thaw" anywhere in the docs. This is systemd 246.6.
社区高分解答
原帖链接 · sonali srivastava · CC BY-SA 4.0
It means the same thing that is in your description i.e.activating. Thaw is needed to unfreeze a unit. Freeze means suspending all the process contained in a cgroup corresponding to a unit. This is usually done to save resource. So whenever we want the unit back, it is thawed. systemd has control over units so it handles freeze and thaw depending on task. Although a user can manually also issue freeze on a unit and then thaw it.
systemctl freeze [pattern]
and then
systemctl thaw [pattern]
Check journalctl for the debug logs.
Quick tip : Don't run on a unit that is running your system.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
