Little free RAM

Discussion in 'Installation/Configuration' started by vaio, Nov 26, 2010.

  1. vaio

    vaio New Member

    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:
    [B]# free -m[/B]
                 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.
     
  2. Antennipasi

    Antennipasi ISPConfig Developer ISPConfig Developer

    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.
     
  3. sjau

    sjau Local Meanie Moderator

    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 :)
     
  4. sjau

    sjau Local Meanie Moderator

    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 :)
     
  5. vaio

    vaio New Member

    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.
     
  6. vaio

    vaio New Member

Share This Page