CloudLinux & Server Memory
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Ray Baron
  2. Monday, 01 April 2013
  3.  Subscribe via email
memory
Rate this post:
  1. 02.04.2013 10:04:17
  2. # 1
R K Accepted Answer
Posts: 3
Joined: 01.04.2013
0
Votes
Undo
I'm a dummy.  You're absolutely right about Linux caching 'borrowing' the RAM.  Been working with virtualization too much ...
  1. 01.04.2013 22:04:03
  2. # 2
R K Accepted Answer
Posts: 3
Joined: 01.04.2013
0
Votes
Undo
OK, I will look that over ... thanks.
  1. 01.04.2013 20:04:40
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Linux has disk caching enabled always -- you cannot disable it. I think you should read this: http://www.linuxatemyram.com/
It really sounds like you are mixing up disk caching with RAM being unavailable.
  1. 01.04.2013 19:04:29
  2. # 4
R K Accepted Answer
Posts: 3
Joined: 01.04.2013
0
Votes
Undo
Before installing CloudLinux, the system was using about 2GB out of 8GB RAM available.

After installing CloudLinux and adding about 20 domains/websites, the system is using over 6GB RAM.  Right now it is 6.5G out of 8GB system RAM.  I have no caching enabled at this time.
  1. 01.04.2013 13:04:30
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Single LVE takes up around 120kb of RAM.
So, 1000 sites should take up around 120MB of ram.

Also, I am not sure what you mean by +/-2GB -- are you talking about disk cache / buffered memory?
  1. 01.04.2013 13:04:32
  2. # 6
Ray Baron Accepted Answer
Posts: 30
Joined: 01.04.2013
0
Votes
Undo
I have a question about how CloudLinux consumes system memory.  I've read through all of the comments about memory and most are related to LVEs.  Nothing about this issue:

I have a server with a moderate number of high traffic websites that was hosted on a server with 4GB RAM and a 4-core processor.  I needed faster i/o so I migrated to an 8GB server with a faster 4-core processor and fast disks. 

Everything runs fine - the server handles the sites & traffic well.  I thought this would be a good server to test CloudLinux.  After installing CloudLinux, server memory use jumped from +/- 2GB to over 6GB.  It seems as if every time I create a new vhost, memory use goes up by about 100MB.

Can you verify that each new LVE consumes 100GB RAM?  I don't intend to put 100's of sites on this server but it seems that CloudLinux severely restricts the number of sites I can add to the server.  Unless I am completely misunderstanding LVE configuration, which is possible.

Here are the server specs:

8GB RAM
4-core CPU
LiteSpeed 4.2.2
CloudLinux 6
CPanel
+/- 20 WP installs

Apache & MySQL are tuned much like the previous server (which had 4GB) and there are no performance issues.

Seems to be a lot of memory use that I can't account for.  Any insights in to how CloudLinux effects system memory would be greatly appreciated.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.