Re: Memory Usage

From: John Saunders <john@dont-contact.us>
Date: 19 May 1997 23:10:44 GMT

Don Joy (joydon@soonet.ca) wrote:
> My squid process is using far more memory than it should be. I'm
> running 1.1.10. Last night i noticed that 62 M had been consumed by
> squid. Here are my memory setimgs:
>
> cache_mem 8

Squid uses memory to store the information about each object it has on disk.
This memory is over and above the cache_mem setting. The cache_mem setting
is simply how much memory to keep around for "hot objects" and currently
occuring transfers. If you have a 5GB cache you can expect to use at
least 40MB for keeping track of the objects, then add in the 8MB for the
cache. Another source of high memory usage is that the heap gets
fragmented and cannot return unused memory to the system.

Cheers.
-- +------------------------------------------------------------+
        . | John Saunders - mailto:john@nlc.net.au (EMail) |
    ,--_|\ | - http://www.nlc.net.au/ (WWW) |
   / Oz \ | - 041-822-3814 or 02-9477-2881 (Phone) |
   \_,--\_/ | NHJ NORTHLINK COMMUNICATIONS - Supplying a professional, |
         v | and above all friendly, internet connection service. |
              +------------------------------------------------------------+
Received on Mon May 19 1997 - 16:13:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:13 MST