#1  
Old 26th November 2010, 16:33
vaio vaio is offline
Member
 
Join Date: Nov 2010
Posts: 48
Thanks: 21
Thanked 1 Time in 1 Post
Default Little free RAM

Hello ISPConfig friends,
I have finally managed to install and setup ISPConfig on Debian Lenny VPS.
At this point i would like to say thank you Till and Falko and others who contribute to manual, howto's, forum etc...

With your advices and help, i got up my ISPconfig running (and working!).

My question is about free RAM.
Code:
# free -m
             total       used       free     shared    buffers     cached
Mem:          2048       1984         63          0        119       1617
-/+ buffers/cache:        248       1800
Swap:         4095          0       4095
I have optimized apache2 and mysql (as far as i know) with tutorials and help. So my question is:
How do i have only so few free ram?

I am running on VPS with 2048mb ddr3 + swap 4096mb ddr3, currently only 1 site with 10kb is on ISPConfig...

What should i do? Please in advices try to use step by step info.
Thank you,
V.
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2010, 07:46
Antennipasi Antennipasi is offline
ISPConfig Developer
 
Join Date: Dec 2008
Location: Finland
Posts: 67
Thanks: 6
Thanked 13 Times in 12 Posts
Default

1617MB is used as cache. 0MB of swap is used. So in Windows-terms only 431MB is in use.

There is absolutely no reason to have free, unused RAM. In Linux it is very normal to use any available RAM for something usefull, in this case as cache.

You should worry your memory usage only when amount of swap in use is constantly significant number.
Reply With Quote
The Following User Says Thank You to Antennipasi For This Useful Post:
vaio (27th November 2010)
  #3  
Old 27th November 2010, 09:01
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,145
Thanks: 4
Thanked 55 Times in 51 Posts
Default

Ram is incredibly fast... so Linux caches things as long as there is ram free... if those things are needed again, it's a lot faster reading from cache than from disk again.

Basically the principle "unused ram == wasted ram" applies here
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
The Following User Says Thank You to sjau For This Useful Post:
vaio (27th November 2010)
  #4  
Old 27th November 2010, 09:01
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,145
Thanks: 4
Thanked 55 Times in 51 Posts
Default

Ram is incredibly fast... so Linux caches things as long as there is ram free... if those things are needed again, it's a lot faster reading from cache than from disk again.

Basically the principle "unused ram == wasted ram" applies here
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 27th November 2010, 09:47
vaio vaio is offline
Member
 
Join Date: Nov 2010
Posts: 48
Thanks: 21
Thanked 1 Time in 1 Post
Default

So this basicly means that when i add site it won't ran out of ram just like that ...

Thank you both for excellent explanation. I thought it's same as normal PC (with WIN apparently ).

Kind regards,
V.
Reply With Quote
  #6  
Old 28th November 2010, 23:23
vaio vaio is offline
Member
 
Join Date: Nov 2010
Posts: 48
Thanks: 21
Thanked 1 Time in 1 Post
 
Cool

For all people who want to know why there is so 'little0 free ram on linux:


Why, why, WHY?? click for explanation...


kind regards,
V.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who is consuming my ram? rafael-ec Installation/Configuration 1 9th July 2008 04:22
Free RAM up and down and up and ...? edge Installation/Configuration 7 7th April 2006 12:12
QUICK! Free registered Opera!! domino Smalltalk 2 1st September 2005 10:48


All times are GMT +2. The time now is 22:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.