cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil lakineni <>
Subject mysql-bin log files eating more space and DB server root fs filling up now at 98%
Date Mon, 25 Apr 2016 10:28:10 GMT
Hi All,

In Cloud DB server, the root file system reached to 98% and found that
*/var/lib/mysql/* is consumed with more space.

Inside that specified directory i found that " *mysql bin logs* " are
eating more space and files are there since one year.

My environment has enabled with DB replication.

Is it safe to purge the older mysql bin logs ? if yes, Could you please
paste the working steps here which wouldn't affect replication as some
blogs are saying that replication will be affected if we purge.

*Please recommend best solution that was already worked on production

So please suggest me the process to free up some space and clean up mysql
bin logs.

P.S. I have verified other directories and logs, they are consuming very
little space except this bin logs directory (not *ibdata1* file).

Cloud version is 4.5 and MySQL version is " 5.1.73-log "

My MySQL configuration file is,

#cat /etc/my.cnf
*# Disabling symbolic-links is recommended to prevent assorted security

*binlog-format = 'ROW'*


*# for Master / Slave*
*server-id = 1*


Please let me know if any other information needed and please suggest the
process that would cleanup old logs automatically by mysql.

Hope will get some help here..


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message