I did noticed a problem on my iworx server today morning, mysql was refusing any new connections, I did looked and found that the cause of the problem was an user account that exceeded quota, there was a big number of httpd processes spawn (same amount as mysqld max conections setting I guess…), and on mysqld.log I had this:
111027 6:26:35 [ERROR] /usr/libexec/mysqld: Disk is full writing '/var/lib/mysql/xxxxxxxx/yyyyyyyyy.MYI' (Errcode: 122). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
111027 6:26:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 6:36:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 6:46:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 6:56:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:06:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:16:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:26:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:36:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:46:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 7:56:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
111027 8:06:35 [ERROR] /usr/libexec/mysqld: Retry in 60 secs. Message reprinted in 600 secs
As soon as I did increased that specific account quota problem got fixed.
Any ideas on how to fix/workaround this? Obviously it’s not a very good idea to “take all server down” because one single site account did exceed quota… temporarily I had to just disable quotas to prevent the problem