Page 1 of 1

VestaCP Centos7 Stopping all services

Posted: Wed Jun 12, 2019 8:28 am
by bkaraca
Hello friends,
CentOS 7.6 1810 version, Apache+nginx, named, exim, dovecot, clamd, spamassassin, mariadb, vsftpd installed.

Updates were made when the server was newly installed. While everything works fine, websites running on the server and access to email accounts are suddenly lost. The ssh console is not responding at that time. After the service provider restarts, everything improves, but after a while the same problems occur again.

As far as I've searched from the internet, I thought the clamd service could cause it for a while.
The service provider conveyed the following message before the reset;
Out of Memory: Kill process 5561 (clamd) score 50 or sacrifice child..

I'm not sure if this problem could be a problem other than clamd.. What do I need to check to solve this problem?
Thanks.

Re: VestaCP Centos7 Stopping all services

Posted: Sun Jun 16, 2019 2:15 pm
by bkaraca
The following 2 articles have solved my problem for now. Maybe you could use it.

viewtopic.php?t=17584
https://github.com/serghey-rodin/vesta/issues/1625

Re: VestaCP Centos7 Stopping all services

Posted: Tue Jun 18, 2019 1:13 pm
by skamasle
But your server say you run out of memory, maybe some overload or to much php / mysql sites and you may need upgrade your server if problem persists.

Re: VestaCP Centos7 Stopping all services

Posted: Tue Jun 18, 2019 1:23 pm
by linuxman
skamasle wrote:
Tue Jun 18, 2019 1:13 pm
But your server say you run out of memory, maybe some overload or to much php / mysql sites and you may need upgrade your server if problem persists.
and if is VPS server check if you have swap partition or swap file, swap small partition is more good.

Re: VestaCP Centos7 Stopping all services

Posted: Tue Jun 18, 2019 1:26 pm
by skamasle
Yes, swap partition can help if not have to much RAM, also I recomend disable clamd, may can cause this problems of memory