
05-09-2011, 10:56 AM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
VPS cPanel - Odd RAM Reporting?
One our VPS cPanel clients seems to be causing my eyebrows to raise a little. Don't know whether it's a bug...or it's possible.
OpenVZ
cPanel Installed, licensed, running with 10+ accounts I think. Few Wordpress sites as well.
Solus is showing RAM usage at sub 200 MB.
Should I look into this? I've NEVER gotten cPanel to run with THAT low of a memory footprint. At least, I don't think....
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|

05-09-2011, 11:03 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Nov 2010
Posts: 87
|
|
Form my experience, CentOS+cPanel on OpenVZ usually eats up around 350 MB of RAM Memory. Maybe it's just a glitch in the report. What does top say on that VM?
__________________
cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more
|

05-09-2011, 11:10 AM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
Quote:
Originally Posted by ARPLink
Form my experience, CentOS+cPanel on OpenVZ usually eats up around 350 MB of RAM Memory. Maybe it's just a glitch in the report. What does top say on that VM?
|
Staring at the terminal for about 3 minutes after running top...it too shows mem usage between 201MB-205MB.
Made sure cPanel was indeed installed. Even logged in (it's a managed server) and saw that he has 11 cPanel accounts, all with active websites. 5 Wordpress.
*One thing I did note was what for 7 of the 11 cPanel accounts and many of the addon domains...the server was not being used for mail exchange.
Does offloading MX really improve mem usage by that much?
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|

05-09-2011, 11:12 AM
|
|
Newbie
|
|
Join Date: May 2011
Posts: 18
|
|
Well I have cPanel/WHM running on CentOS on my VPS as well and the memory print there is:
Memory Used 44.60% (467632 of 1048576)
And it does run email service for several domains.
|

05-09-2011, 11:13 AM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
Quote:
Originally Posted by MeX_DK
Well I have cPanel/WHM running on CentOS on my VPS as well and the memory print there is:
Memory Used 44.60% (467632 of 1048576)
And it does run email service for several domains.
|
Yeah, that seems a more reasonable number. What I'd normally expect.
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|

05-09-2011, 11:15 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Nov 2010
Posts: 87
|
|
It may be possible to reduce memory consumprion by outsourcing the mailserver. And since the databases are probably small, mysql doesn't eat up a lot either.
Could you paste the results of free -m and top ordered by memory consumption?
__________________
cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more
|

05-09-2011, 11:20 AM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
Code:
32117 root 15 0 41260 33m 2544 S 0.0 2.2 1:27.53 spamd
22240 root 15 0 41560 33m 1896 S 0.0 2.2 0:16.39 spamd
30514 mysql 15 0 32716 8748 3740 S 0.0 0.6 2:01.53 mysqld
32570 root 19 0 14872 8552 1428 S 0.0 0.5 0:00.00 cpdavd
32621 root 18 0 15048 8392 1696 S 0.0 0.5 0:41.60 cpsrvd-ssl
16030 root 18 0 8040 5312 1840 S 0.0 0.3 0:00.06 leechprotect
28235 root 15 0 7848 5104 1756 S 0.0 0.3 0:01.99 tailwatchd
1446 named 25 0 40252 4760 2060 S 0.0 0.3 0:18.49 named
32650 root 15 0 6068 4284 1320 S 0.0 0.3 0:06.17 queueprocd
27901 root 15 0 9784 4164 2612 S 0.0 0.3 0:01.05 httpd
16037 nobody 15 0 9912 3160 1516 S 0.0 0.2 0:00.00 httpd
16038 nobody 18 0 9920 3080 1416 S 0.0 0.2 0:00.00 httpd
7688 nobody 15 0 9920 3044 1416 S 0.0 0.2 0:00.00 httpd
16040 nobody 15 0 9920 3040 1408 S 0.0 0.2 0:00.00 httpd
7606 nobody 15 0 9920 3036 1404 S 0.0 0.2 0:00.00 httpd
16039 nobody 15 0 9920 3036 1404 S 0.0 0.2 0:00.00 httpd
16041 nobody 15 0 9920 3036 1404 S 0.0 0.2 0:00.00 httpd
7768 root 15 0 10200 2928 2332 R 0.0 0.2 0:00.01 sshd
7609 nobody 15 0 9784 2864 1244 S 0.0 0.2 0:00.00 httpd
32490 dovecot 15 0 5712 2684 1788 S 0.0 0.2 0:08.68 pop3-login
30698 mailnull 15 0 10360 2648 2160 S 0.0 0.2 0:00.85 exim
32492 dovecot 15 0 5636 2560 1812 S 2.7 0.2 0:07.38 imap-login
32491 dovecot 15 0 5464 2344 1800 S 0.0 0.1 0:00.55 imap-login
32489 dovecot 18 0 5420 2284 1784 S 0.0 0.1 0:02.42 pop3-login
7689 nobody 15 0 9784 2272 700 S 0.0 0.1 0:00.00 httpd
7694 nobody 16 0 9784 2264 692 S 0.0 0.1 0:00.00 httpd
32522 root 15 0 4124 2168 1084 S 0.0 0.1 0:16.98 cphulkd
32679 root 33 18 3896 1848 940 S 0.0 0.1 0:00.60 cpanellogd
12079 [***] 15 0 3308 1840 1356 S 0.3 0.1 0:00.15 imap
9910 [***] 15 0 3236 1756 1292 S 0.0 0.1 0:00.01 imap
16036 root 17 0 9784 1684 132 S 0.0 0.1 0:00.00 httpd
12087 [***] 15 0 3220 1664 1268 S 0.0 0.1 0:00.00 imap
12092 [***] 15 0 3184 1652 1276 S 0.3 0.1 0:00.05 imap
12083 [***] 15 0 3104 1452 1104 S 0.0 0.1 0:00.00 imap
32342 root 15 0 7656 1452 1100 S 0.0 0.1 0:00.02 pure-ftpd
7803 root 15 0 2544 1312 1104 S 0.0 0.1 0:00.01 bash
32344 root 18 0 5076 1148 900 S 0.0 0.1 0:00.00 pure-authd
30489 root 25 0 2544 1140 984 S 0.0 0.1 0:00.00 mysqld_safe
32355 root 15 0 3332 1112 564 S 0.0 0.1 0:03.12 crond
30459 root 15 0 7200 1068 664 S 0.0 0.1 0:11.61 sshd
32241 root 15 0 2628 1048 828 S 0.0 0.1 0:24.56 dovecot-auth
9739 root 15 0 2288 1032 816 R 0.3 0.1 0:00.02 top
30476 root 18 0 2832 836 668 S 0.0 0.1 0:00.00 xinetd
12285 mailnull 15 0 10368 784 296 S 0.0 0.0 0:00.00 exim
32236 root 15 0 2152 704 536 S 0.0 0.0 0:59.07 dovecot
1 root 18 0 2156 660 572 S 0.0 0.0 0:17.32 init
Code:
free -m
total used free shared buffers cached
Mem: 1536 199 1336 0 0 0
-/+ buffers/cache: 199 1336
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|

05-09-2011, 11:26 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Nov 2010
Posts: 87
|
|
Looks ok. Just to be safe I'd keep monitoring it for a few days, but other that that, it looks ok. Maybe the user did some tweaks to the OS template and shut down some nonessential services.
__________________
cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more
|

05-09-2011, 11:28 AM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
Quote:
Originally Posted by ARPLink
Looks ok. Just to be safe I'd keep monitoring it for a few days, but other that that, it looks ok. Maybe the user did some tweaks to the OS template and shut down some nonessential services.
|
Yeah, everything does look okay. You can understand why I did a quick double take this morning though,  . Thanks ARPLink.
I will be keeping an eye on it. If he's able to optimize WHM/Cpanel like this...I might need to call him and hire him, lol.
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|

05-09-2011, 11:31 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Nov 2010
Posts: 87
|
|
Don't mention it  . You'd be surprised what some VPS clients acomplish with some free timpe and ambition  . I saw some cases where they stripped a template and it ended up consuming less than nothing. But then again, the VPS had 256 mb of RAM Memory  .
__________________
cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more
|

05-09-2011, 11:39 AM
|
|
Web Hosting Master
|
|
Join Date: Jan 2010
Location: NYC
Posts: 1,756
|
|
From my experience, cPanel VPS optimized actually has a rather low memory footprint. It looks like you're running OpenVZ so it's not a direct comparison, however, when I installed cPanel on a Xen VPS, it was hovering around 90 MB. Keep in mind that OpenVZ reports allocated memory whereas Xen shows actual memory used.
|

05-09-2011, 01:28 PM
|
|
Web Hosting Master
|
|
Join Date: Oct 2001
Location: Ohio
Posts: 7,831
|
|
Quote:
Originally Posted by WickedFactor
From my experience, cPanel VPS optimized actually has a rather low memory footprint. It looks like you're running OpenVZ so it's not a direct comparison, however, when I installed cPanel on a Xen VPS, it was hovering around 90 MB. Keep in mind that OpenVZ reports allocated memory whereas Xen shows actual memory used.
|
cPanel claims it uses less than 100 mb with the VPS optimized version. I've certainly seen it come close when you get down to optimizing a lot of features. So what you're seeing, definitely looks normal.
__________________
Terry Myers | UK2 Group, Director of Cloud Product Marketing
Midphase - Powerful Shared and Reseller Hosting Solutions.
VPS.NET - Create your Site or Application in the Cloud using VPS.NET.
Contact Me: terry.myers(at)uk2group.com | @igobyterry
|

05-09-2011, 04:13 PM
|
|
iNET Interactive
|
|
Join Date: May 2006
Location: San Francisco
Posts: 7,163
|
|
Quote:
Originally Posted by Noppix
One our VPS cPanel clients seems to be causing my eyebrows to raise a little. Don't know whether it's a bug...or it's possible.
OpenVZ
cPanel Installed, licensed, running with 10+ accounts I think. Few Wordpress sites as well.
Solus is showing RAM usage at sub 200 MB.
Should I look into this? I've NEVER gotten cPanel to run with THAT low of a memory footprint. At least, I don't think....
|
Our cPanel provisioned VPSes are around 150MB on OpenVZ. You have to tune your stack size for processes like named which looks like it was done on this specific VPS based on your top output. 
|

05-09-2011, 06:00 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2010
Posts: 704
|
|
Quote:
Originally Posted by ARPLink
I saw some cases where they stripped a template and it ended up consuming less than nothing.
|
Now that's the perfect VPS client: one who uses negative memory.
"Provisioned three new clients and now we have a gigabyte MORE memory on the box."
__________________
VPSadvice.com - my forum and advice on VPS companies
|

05-09-2011, 06:05 PM
|
|
WHT Content Curator
|
|
Join Date: Mar 2007
Location: USA
Posts: 4,716
|
|
Quote:
Originally Posted by raindog308
Now that's the perfect VPS client: one who uses negative memory.
"Provisioned three new clients and now we have a gigabyte MORE memory on the box."
|
HAHA.
10char
__________________
Sajan Parikh
Feel free to get in touch with me if I can be of assistance with anything.
PHP Development | Server Management | Linux Administration | Web Consulting
p: (563) 726-0371 e: email@sajanp.com | t: @sajanNOPPIX | w: http://sajanp.com
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|