Re: [squid-users] Squid In Redhat 7.1/SuSE 7

From: Joe Cooper <joe@dont-contact.us>
Date: Tue, 21 Aug 2001 13:51:48 -0500

This is normal (and discussed a few times in the archives). Linux, as
most modern Unices, keeps a disk buffer in all available RAM. It frees
what it needs to operate, but keeps popular disk items in memory to
speed accesses.

Mark Tinka wrote:

> hey guys.. am just gonna digress y'all a bit...
>
> i have a strange experience with Squid and my distro:
>
> i am running SuSE 7.2 with kernel 2.2.19-SMP... here are my other
> specs:
>
> 640MB SDRAM Dual Ultra 2 SCSI 36GB HDD Dual 866MHz Pentium III -
> 1.732GHz of processing power
>
> i noticed that when i started, my RAM usage was about 50MB.. it then
> rose slowly over the next two days to 638MB, where it has been for
> the last two weeks...
>
> i monitored memory usage keenly when it had about 2.5MB of RAM left,
> but i discovered something very interesting... whenever my RAM
> usage comes down to 2MB, the system automatically frees another 1MB
> and leaves me with 3MB of RAM to work with... this goes on until
> Squid has to do its routine validations, after which it can free up
> to 40MB of RAM... after this, the whole cycle repeats..
>
> what's amazing is that the system never goes below 2MB, however much
> Squid presses the server, 2MB is least it will go.. what this
> means is that the system has never used the swap memory.. never...
>
> i am not complainig, i mean, this is good, but can someone explain
> this for me...?..
>
> i am running Squid 2.3 STABLE3 that came with the SuSE CDs and my
> cache_mem = 32MB... and get this, this version has not been
> compiled with the GNU Malloc library.. so i don't have any memory
> optimisation, and yet the system is working perfectly, with no
> problems whatsoever, and handling quite a load from my network...
>
> i intend to beef up the RAM to about 1.5GB, and split the cache
> across both disks... if anyone has the same experience, do let me
> know whether it has something to with Squid, my distro, or the way
> my distro compiled and packaged squid..

                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Tue Aug 21 2001 - 12:45:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:52 MST