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

Very High RAM Usage

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Kingpin007
Posts: 3
Joined: Fri Nov 28, 2014 6:37 pm

Very High RAM Usage
  • Quote

Post by Kingpin007 » Fri Nov 28, 2014 6:42 pm

So I just installed VestaCP on my 1GB RAM VPS. It is a preety fast server from what I have gathered but after Installing Vesta CP I am getting a very high RAM usage.
I barely banve 50MB RAM free right now.
Here is the code that is displayed when I type free-m

Code: Select all

             total       used       free     shared    buffers     cached
Mem:          1024       1006         17         34          0       1006
-/+ buffers/cache:          0       1024
Swap:            0          0          0
From what I gather the cache size is over 1000MB which is causing the slowdown.
Do you guys know any way in which I can reduce the RAM usage like drastically?

Update 1: Whenever I try to Install Wordpress or do anything this error pops up in the SSH window:
-bash: fork: Cannot allocate memory
So I am unable to do anything. Please Help me here.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Very High RAM Usage
  • Quote

Post by sim » Fri Nov 28, 2014 7:13 pm

And you don't have an idea what's using up all of it?

Try
top
And see.
Top

Kingpin007
Posts: 3
Joined: Fri Nov 28, 2014 6:37 pm

Re: Very High RAM Usage
  • Quote

Post by Kingpin007 » Sat Nov 29, 2014 5:05 am

Code: Select all

top - 08:03:45 up 0 min,  1 user,  load average: 0.04, 0.01, 0.00
Tasks:  44 total,   1 running,  43 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1048576k total,   991068k used,    57508k free,        0k buffers
Swap:        0k total,        0k used,        0k free,    40488k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      20   0 19236 1448 1212 S  0.0  0.1   0:00.02 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd/7189
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper/7189
  140 root      16  -4 10644  664  400 S  0.0  0.1   0:00.00 udevd
  700 root      20   0  179m 1424 1028 S  0.0  0.1   0:00.00 rsyslogd
  719 named     20   0  782m  25m 2592 S  0.0  2.5   0:00.03 named
  756 dbus      20   0 21436  884  636 S  0.0  0.1   0:00.00 dbus-daemon
  771 root      20   0 66692 1256  500 S  0.0  0.1   0:00.00 sshd
  779 root      20   0 22192  968  712 S  0.0  0.1   0:00.00 xinetd
  790 root      20   0 52584  824  248 S  0.0  0.1   0:00.00 vsftpd
  826 root      20   0  105m 1600 1304 S  0.0  0.2   0:00.03 mysqld_safe
 1105 mysql     20   0  558m  41m 5660 S  0.0  4.0   0:00.11 mysqld
 1144 root      20   0 19268  764  504 S  0.0  0.1   0:00.00 dovecot
 1146 dovecot   20   0 12988 1052  860 S  0.0  0.1   0:00.00 anvil
 1147 root      20   0 13116 1144  848 S  0.0  0.1   0:00.00 log
 1151 root      20   0 14360 2416  948 S  0.0  0.2   0:00.00 config
 1157 root      20   0 66876 1028  312 S  0.0  0.1   0:00.00 saslauthd
This is the output when I type top
anyway, as I told this is related to the cache size as that is large. The rest of it is not so large. I need to reduce the cache for my server.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Very High RAM Usage
  • Quote

Post by sim » Sat Nov 29, 2014 8:36 am

If it's cache - don't worry.
Top

Kingpin007
Posts: 3
Joined: Fri Nov 28, 2014 6:37 pm

Re: Very High RAM Usage
  • Quote

Post by Kingpin007 » Sat Nov 29, 2014 9:57 am

sim wrote:If it's cache - don't worry.
What the fuck do you mean by don't worry my site goes down every 2 minutes due to very high RAM usage I have to reboot the server to connect via SSH. What the fuck!?
What I am asking is to reduce the cache size so my server has some breathing room. If you can't help me then please don't fucking reply,
Bottom line: I want to reduce RAM usage (it should typically be below 100MB if I am not wrong.
Top


Post Reply
  • Print view

5 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