Login hangs when storage has high latency #2

Open
opened 2026-07-17 10:46:33 -06:00 by Tyler · 1 comment
Owner

Logging into a system with the MOTD script causes the login to hang when a portion storage is unreachable for doing the calculations for the disk space on root. The system becomes inaccessible at that point via normal shell.

Logging into a system with the MOTD script causes the login to hang when a portion storage is unreachable for doing the calculations for the disk space on root. The system becomes inaccessible at that point via normal shell.
Author
Owner

Recommend swapping the USAGEROOT variable with this line to automatically timeout

USAGEROOT=timeout -k 5 3 df -Ph | grep /$ | awk '{print $5 " of " $2}' || echo Unable to determine space
Recommend swapping the USAGEROOT variable with this line to automatically timeout ``` USAGEROOT=timeout -k 5 3 df -Ph | grep /$ | awk '{print $5 " of " $2}' || echo Unable to determine space ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Tyler/Ansible-Linux_Base#2
No description provided.