Size of /lib and /usr (mysql can't restart)


#1

Hi all, I’m having problem with my mysql server can’t work properly (fail to restart). The issue seems to be disk space. It used to be 100% when happened. I managed to reduce to 92% (delete log at nginx and mysql, delete some updraft backup files), but still mysql fail to restart.

When i run “du -h / --max-depth=1 | sort -hr” command, I found that the size of /lib is 6.6G while the size of /usr is 4.8G.

Is this normal?


#2

It depends. For large sites, larger databases are expected, what implies more disk space usage.

Are you using some statistics plugin, or something like that? You should investigate which tables are consuming all that space in order to start working on solving the issue.


#3