21CTO
21CTO
May 28, 2018 · Operations

Git Server CPU Spike After Migration: Insights into SSHD, XFS Locks, and PAM

After moving a Git server to a new data center, CPU sys time surged due to thousands of sshd processes contending on XFS read‑write locks while repeatedly reading a massive /var/log/btmp file caused by PAM postlogin, and the analysis shows how perf, strace and log rotation can resolve the issue.

CPUXFSpam
0 likes · 11 min read
Git Server CPU Spike After Migration: Insights into SSHD, XFS Locks, and PAM