hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS cPanel - Odd RAM Reporting?
Reply

Forum Jump

VPS cPanel - Odd RAM Reporting?

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2011, 10:56 AM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863

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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io



Sponsored Links
  #2  
Old 05-09-2011, 11:03 AM
ARPLink ARPLink is offline
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

  #3  
Old 05-09-2011, 11:10 AM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863
Quote:
Originally Posted by ARPLink View Post
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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io

Sponsored Links
  #4  
Old 05-09-2011, 11:12 AM
MeX_DK MeX_DK is offline
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.

  #5  
Old 05-09-2011, 11:13 AM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863
Quote:
Originally Posted by MeX_DK View Post
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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io

  #6  
Old 05-09-2011, 11:15 AM
ARPLink ARPLink is offline
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

  #7  
Old 05-09-2011, 11:20 AM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863
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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io

  #8  
Old 05-09-2011, 11:26 AM
ARPLink ARPLink is offline
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

  #9  
Old 05-09-2011, 11:28 AM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863
Quote:
Originally Posted by ARPLink View Post
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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io

  #10  
Old 05-09-2011, 11:31 AM
ARPLink ARPLink is offline
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

  #11  
Old 05-09-2011, 11:39 AM
Hsunami Hsunami is offline
Web Hosting Master
 
Join Date: Jan 2010
Location: NJ
Posts: 1,762
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.

  #12  
Old 05-09-2011, 01:28 PM
IGobyTerry IGobyTerry is offline
Web Hosting Master
 
Join Date: Oct 2001
Location: Ohio
Posts: 7,975
Quote:
Originally Posted by WickedFactor View Post
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
Product Evangelist @ OnApp.com

T@OnApp.com
OnApp - Automate Everything, Everywhere.


  #13  
Old 05-09-2011, 04:13 PM
Orien Orien is offline
Retired Moderator
 
Join Date: May 2006
Location: San Francisco
Posts: 7,190
Quote:
Originally Posted by Noppix View Post
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.

  #14  
Old 05-09-2011, 06:00 PM
raindog308 raindog308 is offline
Web Hosting Master
 
Join Date: Jul 2010
Posts: 769
Quote:
Originally Posted by ARPLink View Post
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."

__________________
TransLantern - a Better Hosting Experience
A la Carte Pricing - LiteSpeed - cPanel - Softaculous - Financially Guaranteed Backups
Check out our hosting tutorial videos !

  #15  
Old 05-09-2011, 06:05 PM
SajanP SajanP is offline
WHT Content Curator
 
Join Date: Mar 2007
Location: USA
Posts: 4,863
Quote:
Originally Posted by raindog308 View Post
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 - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
A member of Geeked.io
e: sajan [at] parikh.io | w: sajan.io

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] cPanel bandwidth reporting FrankLaszlo Hosting Software and Control Panels 8 02-20-2010 03:05 AM
XEN VPS with 256 MB RAM $10|512 MB VPS for $14| cPanel VPS for $25/m - 99.9% uptime!! LinuxStandard VPS Hosting Offers 3 12-04-2008 02:35 PM
HIVELOCITY- Core2Quad w/ 2GB Ram $125, Core2Duo $99, Odd Lots $49- STUD DOUBLES RAM ceridius Dedicated Hosting Offers 10 10-13-2008 09:50 PM
SuperMicro systems reporting 3GB Ram when it's 4GB ImZan Dedicated Server 14 01-15-2008 01:29 AM
VPS reporting memory incorrectly? dog_star Hosting Security and Technology 3 12-13-2006 08:13 AM

Related posts from TheWhir.com
Title Type Date Posted
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2013-10-05 05:55:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?