Page 1 of 1

httpd rises up the RAM constantly until mysql crash

Posted: Mon Jun 10, 2019 8:56 am
by Teo
Hello everyone,

I have a problem for 2 weeks now, at first I thought it was related at an issue with mysql server... now I'm sure is something with httpd. what happens is this, the RAM continues to grow until the mysql service crashes. I tried to play with the config files (httpd.conf - nginx - mysql ) but nothing always the same thing. At the moment I had to add this crontab:
/sbin/service httpd restart
every 2 hours to remedy the problem, but I would like to solve it.

if someone were kind enough to help me I would be grateful.

Thank you in advance.

Re: httpd rises up the RAM constantly until mysql crash

Posted: Mon Jun 10, 2019 1:31 pm
by Teo
problem is the php-7.3 HTTPD template... i think it has to be checked....

Re: httpd rises up the RAM constantly until mysql crash

Posted: Sat Jun 15, 2019 8:31 am
by adamjedgar
interesting that you bring this up...i found that mariadb had crashed on my server a few days ago. Stupid me restarted the whole server before i checked the logs so i am not sure what caused mariadb to crash unfortunately.

I am also interested in changing multiprocessing module from mpm-prefork to mpm-worker or mpm-event as i am sure on small systems this will help.

Re: httpd rises up the RAM constantly until mysql crash

Posted: Sun Jun 16, 2019 10:18 am
by skamasle
Apache may not use much ram, maybe a PHP problem ?

What template you use ?

By default vesta have some issues if you use fastcgi templates ( as php selector ) and not configure well fastcgi in your server.

But apache not should use much RAM, but it can do if you get some attack in some site, like brute force to wordpress.