TheToolsNfsAlmostFull alert fires when the Toolforge NFS server is almost out of disk space. This happens surprisingly often asthe NFS share has no quotas. When that happens, generally a task similar totask T247315 is created with administrator work logged on it and a tree of user tasks that we assign to end users to clean up their tool shares or project shares with some advice and assistance where possible.
The Toolforge NFS server is almost out of disk space. This generally means that some space needs to be freed up. As of 2024-01-03 the nfs server istools-nfs-2.tools.eqiad1.wikimedia.cloud.
Note that this alert comes in multiple severity levels, awarning alert means that there's much more space available than for acritical or apage alert.
Admin actions include, but are not limited to:
sudoionice-c3nice-19find/srv/tools-typef-size+10M-name"*.err"-exectruncate-s1M{}\;
The#Debugging section has some tips to find what's filling up the volume.
If the alert fires after a very short time (about a week or so) after the last time cleanup was done, it is usually caused by the same thing as the last time. Look at the task for that cleanup and look what was done there. Cleanup those again and nudge those maintainers.
:# Individual files:#ionice-c3nice-19find/srv/tools-typef-size+100M-printf"%k KB %p\n"|sort-h>tools_large_files_$(date+%Y%m%d).txt:# Largest tools overall:#du-sh/srv/tools/{project,home}/*|teetools_large_users_$(date+%Y%m%d).txt
These will take a few hours to complete.
Add here any new common issues you find.
Add here any new tasks for incidents you might encounter.