Out of disk space ... again

Started by millerpaint, November 13, 2015, 07:45:04 PM

Previous topic - Next topic

millerpaint

Greetings,

We are running v 1.2.17 on Linux/MySQL, and it is out of disk space, again.  This is happening every 2-3 months.  What can be done to purge (to take care of the immediate problem), and also limit the size of logs, events, maybe auto remove objects that are no longer online, etc.?  I'm getting really good at expanding Linux partitions, but it's getting old.

Thanks in advance for the help!


-Kevin C.

tomaskir

Few things:

1) Check if your MySQL is using binary logging.
If it is and you dont need it, disable it.
2) Set lower retention period on your DCIs.
3) Set lower retention period on your Syslog and/or SNMP Traps, etc.

millerpaint

Thanks for the quick reply.  I checked MySQL first, and although binary logging was not enabled, the mysqld.log was huge!  I removed it, and all is good now.

I'll setup a log rotation script, and this problem should not re-occur.


-Kevin C.