Bug 914 - Disk space getting full and webui not loading properly || CSC || AS-14381
Review Request #606 — Created Jan. 7, 2025 and updated — Latest diff uploaded
| Information | |
|---|---|
| tanya | |
| APV10 | |
| rel_apv_10_7, rel_apv_10_7_2 | |
| 914 | |
| Reviewers | |
| kevin.poh, prajesh, satyendra, timlai | |
The /var/crash/graphdb directory is not cleaned fast enough and takes most of the disk space in sertain conditions. According to SE files can get big enought to use up disk space. The code checks for not allowing for more that 31 files inthe directory but does not check for /var taking more than 90%. I added the check for var <90 which makes it consistent with another tool that cleans extra files (discfreed)
added extra files in the /var/crash/graphdb to exceed var 90% before reaching 31 files in the directory and I can see the script deleting oldest files from /var/crash/graphdb
