How to troubleshoot application crashes due to full partitions.

View profile for Gajan Rajah

DevOps Engineer | Red Hat Certified OpenShift Administrator | RHEL | Kubernetes | Docker | GitLab CI/CD | AWS | Ansible | Prometheus | Grafana | Rook | Ceph | Telco

All of a sudden your applications crash, do not respond, show multiple errors and are not working properly anymore. The first instinct is observe the application logs, but they do not get printed. Most probably the culprit is a filled up partition with no space left. 𝘥𝘧 -𝘩 | 𝘴𝘰𝘳𝘵 -𝘬 5 -𝘳𝘩 There are no advanced algorithms going around, we are just listing the partitions and then sorting them based on the 5th column which will depict the used percentage. Sorting is done in the descending order for numerical values. Now go to these locations and move or remove files based on least priority. Or else you can create a compressed archive of the unused files using 𝘵𝘢𝘳 -𝘤𝘻𝘧 𝘧𝘪𝘭𝘦.𝘵𝘢𝘳.𝘨𝘻 𝘧𝘪𝘭𝘦 and decide later whether to remove them or not.

Isuru Piyumal Athukorala

Systems Engineer | Oracle DBA | DevSecOps | UCSC

1mo

Answer : create log rotation script ?

To view or add a comment, sign in

Explore content categories