Root filesystem 100% occupied: Difference between revisions
Jump to navigation
Jump to search
(Created page with " === '''Introduction''' === On the smaller provisioned TVC systems the root filesystem runs out of free space. The scheduled process of removing the logfiles is somewhere hid...") |
No edit summary |
||
Line 1: | Line 1: | ||
=== '''Introduction''' === | === '''Introduction''' === | ||
On the smaller provisioned TVC systems the root filesystem runs out of free space. The scheduled process of removing the logfiles is somewhere hidden in | On the smaller provisioned TVC systems the root filesystem runs out of free space. The scheduled process of removing the logfiles is somewhere hidden in TruView Java code. On systems with very small disks this process kicks in too late. | ||
| |
Revision as of 20:22, 5 November 2018
Introduction
On the smaller provisioned TVC systems the root filesystem runs out of free space. The scheduled process of removing the logfiles is somewhere hidden in TruView Java code. On systems with very small disks this process kicks in too late.
Solution
Create a cronjob that deletes Cassandra logfiles from the /tmp directory
Logon to TVC console and run the following commands:
$ sudo -i
- crontab -e
And append the following line
30 15 */2 * * find /tmp -maxdepth 1 -name '????????-????-????-????-????????????' | xargs rm -rf
This command deletes the Cassandra logifles every 2 days at half past three in the afternoon.