Page 1 of 1

How much memory VesaCP consumes?

Posted: Sun May 15, 2016 12:27 am
by uma1r
Hi,

I have installed VestaCp on my server.. I have one domain installed with fresh wordpress installation.

Just that and my memory usage is 512mb out of available 1024mb.
Is that much VestaCP is supposed to consume?

It is fresh Centos 7 64-bit server, I bought it today and have nothing else installed apart from that..

Re: How much memory VesaCP consumes?

Posted: Sun May 15, 2016 7:51 am
by mehargags
It is not consumed by VestaCP.... its the underlying software that are loaded into your RAM.

MySQL default installation would eat around 300-800mb of RAM depending on your site payload. Plus ClamAV and SpamAssassin running the background can take up alot of RAM too. Fail2Ban can be a resource hog on an insecure server with root login enabled via ssh on default port.

Install HTOP and learn how to trace RAM/CPU/Disk I/O and pin down the heavy processes.
Then try optimizing Wordpress, PHP and MySQL. You can easily run one or two very heavy sites on 1GB VPS.

Re: How much memory VesaCP consumes?

Posted: Tue May 17, 2016 9:55 pm
by uma1r
mehargags wrote:It is not consumed by VestaCP.... its the underlying software that are loaded into your RAM.

MySQL default installation would eat around 300-800mb of RAM depending on your site payload. Plus ClamAV and SpamAssassin running the background can take up alot of RAM too. Fail2Ban can be a resource hog on an insecure server with root login enabled via ssh on default port.

Install HTOP and learn how to trace RAM/CPU/Disk I/O and pin down the heavy processes.
Then try optimizing Wordpress, PHP and MySQL. You can easily run one or two very heavy sites on 1GB VPS.
Hi,

thank you for the help..

I am trying to install the htop, but I get this: http://pastebin.com/sSfiiHUM
It is installed, but when I run it, it says command not found..


Also, could you please provide any help or link regarding optimising wordpress. Can I delete ClamAV ?

Here are the processes running, that I checked by 'top' command: http://pastebin.com/MpffNwxn

I'd appreciate any sort of help please,
regards

Re: How much memory VesaCP consumes?

Posted: Thu May 19, 2016 6:45 pm
by mehargags
So you see the first line shows MySQL is eating up the RAM

Code: Select all

 3121 mysql     20   0  744m  20m 4168 S  0.2  2.0   2:06.64 mysqld
So you are hitting the limits some or the other time which crashes your MySQL
-----------

For ClamAV... not need to delete it, you can simply stop it from your VestaCP --> Server --> Stop it from the list. you can stop BIND, SpamAssasin and any other server that you do not require to save RAM usage
-----------

For htop-- Enable EPEL & REmi CentOS 7 64-Bit

Code: Select all

sudo yum install epel-release
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo rpm -Uvh epel-release-7*.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 
sudo rpm -Uvh remi-release-7*.rpm

yum update -y && yum upgrade -y
yum install htop
-------------

Optimizing server and site are two different things... there is no easy formula to share I'm afraid. I can offer you both help at some reasonable cost if you want... please PM me your SSH details if interested.