Eu rodei um vOS do CentOS para hospedar alguns websites com cPanel / WHM, mas de vez em quando meus sites param de funcionar porque não podem estabelecer uma conexão com o banco de dados mysql.
Olhando para o log de mensagens, ele mostra o seguinte:
Oct 16 04:03:07 s97-74-228-8 kernel: [54180237.755824] Out of memory in UB 88299: OOM killed process 413 (spamd child) score 0 vm:232540kB, rss:100696kB, swap:0kB
Oct 16 04:03:08 s97-74-228-8 kernel: [54180237.863552] Out of memory in UB 88299: OOM killed process 1060 (spamd child) score 31 vm:231516kB, rss:99536kB, swap:0kB
Oct 16 04:03:08 s97-74-228-8 kernel: [54180237.888621] Out of memory in UB 88299: OOM killed process 1061 (spamd) score 31 vm:231516kB, rss:99160kB, swap:0kB
Oct 16 04:03:08 s97-74-228-8 kernel: [54180237.898954] Out of memory in UB 88299: OOM killed process 25084 (spamd) score 0 vm:231516kB, rss:100204kB, swap:0kB
Oct 16 04:03:08 s97-74-228-8 kernel: [54180238.007397] Out of memory in UB 88299: OOM killed process 29642 (mysqld) score 0 vm:7849012kB, rss:62860kB, swap:0kB
Oct 16 04:03:08 s97-74-228-8 kernel: [54180238.165135] Out of memory in UB 88299: OOM killed process 29450 (named) score 0 vm:1786256kB, rss:31192kB, swap:0kB
Oct 16 04:03:11 s97-74-228-8 kernel: [54180241.036672] Out of memory in UB 88299: OOM killed process 1191 (mysqld) score 0 vm:1662420kB, rss:42300kB, swap:0kB
Oct 16 04:03:12 s97-74-228-8 kernel: [54180242.761161] Out of memory in UB 88299: OOM killed process 1362 (mysqld) score 0 vm:807072kB, rss:40124kB, swap:0kB
Oct 16 04:03:16 s97-74-228-8 kernel: [54180246.167647] Out of memory in UB 88299: OOM killed process 1434 (mysqld) score 0 vm:2188788kB, rss:43808kB, swap:0kB
Oct 16 04:03:31 s97-74-228-8 kernel: [54180261.056050] Out of memory in UB 88299: OOM killed process 1562 (mysqld) score 0 vm:7980592kB, rss:59692kB, swap:0kB
Depois que meu site cai, eu ssh, mas eu só vejo no máximo 446MB / 3072MB usado.
Não tenho certeza do que tentar ser honesto, qualquer ajuda seria muito apreciada:)
Alex