Current time: 04-20-2024, 03:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
RAM used
Author Message
sarah Offline
Junior Member
*

Posts: 21
Joined: Apr 2011
Reputation: 0
Post: #1
RAM used
Hi! I've a Virtual Server with 10 sites activated. It seems strange that I've 95% for memory used. I tried to execute top command and this is what I see.... can you help me to make better performance?


top - 21:56:10 up 31 days, 16:55, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 115 total, 1 running, 114 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: 4061760k total, 3169432k used, 892328k free, 262844k buffers
Swap: 4290552k total, 0k used, 4290552k free, 2212784k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1131 mysql 20 0 242m 60m 8396 S 0 1.5 7:49.96 mysqld
978 vu2015 20 0 191m 41m 3996 S 0 1.1 0:07.26 php5-cgi
979 vu2015 20 0 188m 39m 3980 S 0 1.0 0:06.80 php5-cgi
1099 vu2008 20 0 180m 31m 4268 S 0 0.8 0:00.89 php5-cgi
1420 vu2027 20 0 175m 26m 4180 S 0 0.7 0:00.86 php5-cgi
1419 vu2027 20 0 173m 25m 3200 S 0 0.6 0:00.85 php5-cgi
1433 vu2010 20 0 173m 24m 4188 S 0 0.6 0:00.13 php5-cgi
1434 vu2010 20 0 171m 23m 3308 S 0 0.6 0:00.13 php5-cgi
5129 bind 20 0 198m 23m 2480 S 0 0.6 0:08.04 named
1098 vu2008 20 0 170m 22m 3272 S 0 0.6 0:00.69 php5-cgi
18180 vu2000 20 0 171m 21m 4152 S 0 0.6 0:05.20 php5-cgi
14833 vu2009 20 0 170m 20m 3972 S 0 0.5 0:18.83 php5-cgi
18179 vu2000 20 0 171m 20m 4316 S 0 0.5 0:04.44 php5-cgi
31715 vu2012 20 0 167m 19m 3376 S 0 0.5 0:02.66 php5-cgi
31714 vu2012 20 0 167m 19m 3268 S 0 0.5 0:02.57 php5-cgi
14832 vu2009 20 0 166m 18m 3376 S 0 0.5 0:19.70 php5-cgi
17760 vu2011 20 0 166m 18m 3184 S 0 0.5 0:01.62 php5-cgi
17761 vu2011 20 0 165m 17m 3184 S 0 0.5 0:01.12 php5-cgi
18177 vu2000 20 0 159m 13m 5712 S 0 0.3 0:00.01 php5-cgi
1106 postgrey 20 0 58256 12m 2792 S 0 0.3 0:00.07 postgrey
1104 polw 20 0 54556 12m 1296 S 0 0.3 0:00.00 perl
1112 polw 20 0 54556 12m 984 S 0 0.3 0:04.28 perl
14559 www-data 20 0 312m 11m 1844 S 0 0.3 0:01.86 apache2
14560 www-data 20 0 311m 11m 1824 S 0 0.3 0:01.80 apache2
1431 vu2010 20 0 154m 9168 5704 S 0 0.2 0:00.01 php5-cgi
31712 vu2012 20 0 154m 9164 5704 S 0 0.2 0:00.00 php5-cgi
1096 vu2008 20 0 154m 9160 5704 S 0 0.2 0:00.00 php5-cgi


Thanks
06-11-2012 09:59 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: RAM used
Hi

its normal, because Linux tries to make as much use of the available ram as possible.
In your case of the 3169432k actually used ram, 2212784k are used for caching only some things only.
So absolutely nothing to worry Smile

If your ram is 100% used and nothing is cached ... and the Swap usage is getting high ( >200M+ ) then you are hitting the limits of the machine in terms of your ram.
06-13-2012 09:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
petru Offline
Banned

Posts: 6
Joined: Jun 2012
Post: #3
RE: RAM used
By the way, it's normal to have so much RAM occupied on a fresh install ispCP Omega?
Code:
[b]total      used       free     shared    buffers     cached [/b]
Mem:          1024        554        469          0          0        451
-/+ buffers/cache:        102        921
Swap:         4096          0       4096
(This post was last modified: 06-15-2012 03:32 AM by petru.)
06-15-2012 03:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)