Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

httpd rises up the RAM constantly until mysql crash

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
httpd rises up the RAM constantly until mysql crash
  • Quote

Post by Teo » Mon Jun 10, 2019 8:56 am

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.
Top

Teo
Posts: 97
Joined: Mon May 11, 2015 9:17 am

Os: CentOS 6x
Web: apache + nginx
Re: httpd rises up the RAM constantly until mysql crash
  • Quote

Post by Teo » Mon Jun 10, 2019 1:31 pm

problem is the php-7.3 HTTPD template... i think it has to be checked....
Top

adamjedgar
Posts: 43
Joined: Tue Apr 18, 2017 7:55 am

Re: httpd rises up the RAM constantly until mysql crash
  • Quote

Post by adamjedgar » Sat Jun 15, 2019 8:31 am

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: httpd rises up the RAM constantly until mysql crash
  • Quote

Post by skamasle » Sun Jun 16, 2019 10:18 am

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password