Very High RAM Usage
-
- Posts: 3
- Joined: Fri Nov 28, 2014 6:37 pm
Very High RAM Usage
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
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.
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
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.
Re: Very High RAM Usage
And you don't have an idea what's using up all of it?
Try
Try
And see.top
-
- Posts: 3
- Joined: Fri Nov 28, 2014 6:37 pm
Re: Very High RAM Usage
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
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.
Re: Very High RAM Usage
If it's cache - don't worry.
-
- Posts: 3
- Joined: Fri Nov 28, 2014 6:37 pm
Re: Very High RAM Usage
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!?sim wrote:If it's cache - don't worry.
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.