运维教程
已收录文章:2篇
-
文章 · linux | 3星期前 | Linux · 服务治理 · 日志排查 · 运维教程 · Linux 服务管理器 journalctl 服务重启 运维排查 RestartSec start-limit-hit本文用一次 Linux 服务反复重启的现场,讲清楚如何看 status、journalctl、RestartSec、reset-failed 和回滚验证,排查 start-limit-hit 问题。408 收藏
-
文章 · linux | 2星期前 | Linux · 运维教程 · cgroup v2 · MemoryMax · 内存限制 · 服务运维 · Linux 内存限制 cgroup v2 MemoryMax MemoryCurrent 服务单元 服务运维Linux 服务内存偶发上涨时,可以用 cgroup v2 配合 MemoryMax 给单个服务设边界。落地时不要只写一个上限值,还要观察 MemoryCurrent、内存事件、OOM 记录和业务错误率,并准备可回退的配置路径。139 收藏