>> > From what I understand, Linux memory isn't freed up until it is full.
>> > Is there a way to find out how much memory is actively in use?
>>
>> The free command.
>>
>> $ free
>> total used free shared buffers
>> cached
>> Mem: 1028164 928764 99400 0 28228
>> 468768
>> -/+ buffers/cache: 431768 596396
>> Swap: 1556168 210476 1345692
>
> That looks like the exact same info top gives me. I have 2GB in my
> server and I'm trying to figure out if I could get away with 1GB
> without swapping. Is there a tool that can help me figure that out?
>
> - Grant
Well here is my free:
> [EMAIL PROTECTED] / # free
> total used free shared buffers cached
> Mem: 1034792 977788 57004 0 243928 169800
> -/+ buffers/cache: 564060 470732
> Swap: 976712 32 976680
> [EMAIL PROTECTED] / #
If you drop to 1GB what you will loose is space for buffers and cached
data. It may be a small amount of slow down but depending on what your
server is used for, it may make a difference.
My server is mainly used for apache2 with mod_perl. I would think
that cache comes in handy. Will a web server pretty much always find
something more to cache, or can you add memory to the point where
everything that can be cached is cached?
- Grant
--
gentoo-user@gentoo.org mailing list