大网数据广告活动
服务器运维问答

What does systemd "thawing" mean?

· 52CE 我爱测

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…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-10-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。