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 General Discussion
  • Search

high ram usage?

General questions about VestaCP
Locked
  • Print view
Advanced search
19 posts
  • Previous
  • 1
  • 2
jtothez
Posts: 9
Joined: Fri Apr 04, 2014 11:12 pm

Re: high ram usage?

Post by jtothez » Thu Apr 17, 2014 12:14 am

bump, any ideas here...is this typical ram usage of what others are seeing?
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: high ram usage?

Post by mephivio » Thu Apr 17, 2014 10:44 am

Hi

Have a look at this post :viewtopic.php?f=11&t=4758&start=10
(page 2)

there is a soluce witch works fine for me !

cool
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: high ram usage?

Post by misak35 » Sat Apr 19, 2014 9:17 am

I have problem i think with this too. I use 512mb ram and here is

Code: Select all

free -m
                  total       used       free     shared    buffers     cached
Mem:           512        378        133          0          0        156
-/+ buffers/cache:        221        290
Swap:          512          1        510
top said:

Code: Select all

Tasks:  46 total,   1 running,  45 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni, 99.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.1%st
Mem:    524288k total,   379932k used,   144356k free,        0k buffers
Swap:   524288k total,     1200k used,   523088k free,   152444k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
18538 root      20   0  2308 1040  836 R  0.3  0.2   0:00.01 top                
    1 root      20   0  2176  652  556 S  0.0  0.1   0:00.28 init               
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd/3864      
    3 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper/3864       
  116 root      16  -4  2280  568  348 S  0.0  0.1   0:00.00 udevd              
  475 root      20   0  1832  536  468 S  0.0  0.1   0:00.08 syslogd            
  497 named     20   0 60744 2212 1188 S  0.0  0.4   0:00.33 named              
  527 root      20   0  7328  932  576 S  0.0  0.2   0:00.00 sshd               
  535 root      20   0  2852  576  564 S  0.0  0.1   0:00.00 xinetd             
  546 root      20   0  5328  288  188 S  0.0  0.1   0:00.00 vsftpd             
  583 root      20   0  2568 1180  992 S  0.0  0.2   0:00.01 mysqld_safe        
 1047 mysql     20   0  363m  94m 4900 S  0.0 18.4   0:48.72 mysqld             
 1086 root      20   0  1984  504  384 S  0.0  0.1   0:01.57 dovecot            
 1088 root      20   0  7868 1760 1284 S  0.0  0.3   0:00.99 dovecot-auth       
 1100 exim      20   0 12360 1176  588 S  0.0  0.2   0:00.00 exim               
 1112 root      20   0  134m  10m 5592 S  0.0  2.1   0:01.33 httpd              
 1120 root      20   0 27544 1584  308 S  0.0  0.3   0:00.00 nginx  
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: high ram usage?

Post by misak35 » Sat Apr 19, 2014 9:20 am

Code: Select all

 cat /proc/meminfo
MemTotal:         524288 kB
MemFree:          155852 kB
Cached:           141092 kB
Buffers:               0 kB
Active:           155784 kB
Inactive:         197996 kB
Active(anon):     101220 kB
Inactive(anon):   111468 kB
Active(file):      54564 kB
Inactive(file):    86528 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        524288 kB
SwapFree:         523088 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        212688 kB
Shmem:             33900 kB
Slab:              14644 kB
SReclaimable:       6532 kB
SUnreclaim:         8112 kB
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: high ram usage?

Post by pandabb » Sun Mar 06, 2016 3:40 am

Hello, can somone again interpret the free m usage, for centos 7 is quite different.

Image

Does this mean that my ACTUAL available memory is 2186 only or should i add 571 under the "free" row ?


thanks
Top

kmore
Posts: 3
Joined: Mon Feb 29, 2016 12:38 pm

Re: high ram usage?

Post by kmore » Sun Mar 06, 2016 7:46 am

Actual Free Memory = Free (571 MB) + Buffers/Cached (1892 MB) = 2,463 MB
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: high ram usage?

Post by pandabb » Sun Mar 06, 2016 3:26 pm

thank you sir!
Top

Aldoseri
Posts: 14
Joined: Fri Nov 25, 2016 12:08 pm

This is way too much

Post by Aldoseri » Sun Nov 27, 2016 11:40 pm

Here are my readings

free -m
- - - total used free shared buffers cached
Mem: 32105 23714 8391 129 2327 19314
-/+ buffers/cache: 2072 30033
Swap: 16367 0 16367


I'm using Nginx + php-fpm - Only one Wordpress installation. when I was using virtualmin with Apache, memory usage never exceeded 9%
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: high ram usage?

Post by skid » Mon Nov 28, 2016 3:33 pm

Ooops! Thanks for rising this. Unfortunately there is a bug in current version. New memory function ignores available cached/buffered memory. I can assure you that the real memory consumption on your server hasn't changed since release. Bugfix will be available soon.

Old method:

Code: Select all

[root@r6 ~]# free -m |awk '{print $4}'|head -n3 |tail -n1
404
New method:

Code: Select all

[root@r6 ~]# free -m |grep Mem |awk '{print $4}'
98
Top


Locked
  • Print view

19 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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