Re: cache_mem at version 1.1.14

From: Thomas Krause <tom@dont-contact.us>
Date: Wed, 10 Sep 1997 19:49:27 +0200

----------
> Von: Larmour, Jonathan <Jonathan.Larmour@uk.origin-it.com>
> An: 'squid-users@nlanr.net'; 'Thomas Krause' <tom@deh.de>
> Betreff: RE: cache_mem at version 1.1.14
> Datum: Mittwoch, 10. September 1997 19:17
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Use the cache manager to get more information about malloc, to see
> whether that really is used. You could try turning memory_pools off
> in squid.conf. Or you can change to the NOVM branch of squid, which
> doesn't keep things in memory when they are being downloaded - but
> for a small performance hit, and a vast increase in the number of
> file descriptors used.

There is very high traffic at this (transparent) proxy,
about 200 Dialup-Lines and lots of leased lines - so the
proxy must be fast. Maybe turning off memory_pools is not
so good. If 128 MB additional RAM will solve the problem,
I will install them.

Here is the cache manager info:

Squid Object Cache: Version 1.1.14
Start Time: Wed, 10 Sep 1997 17:02:09 GMT
Current Time: Wed, 10 Sep 1997 17:37:07 GMT
Connection information for squid:
        Number of TCP connections: 6250
        Number of UDP connections: 281
        Connections per hour: 11206.7
        Select loop called: 61965 times, 33.858 ms avg
Cache information for squid:
        Storage Swap size: 6625 MB
        Storage Mem size: 22395 KB
        Storage LRU Expiration Age: 20.36 days
        Requests given to unlinkd: 0
        Unused fileno stack count: 31
Resource usage for squid:
        CPU Time: 207 seconds (160 user 47 sys)
        CPU Usage: 10%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 74259
Memory usage for squid via mallinfo():
        Total space in arena: 144845 KB
        Ordinary blocks: 103692 KB 61694 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 656 KB 3 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 41152 KB
        Total in use: 104348 KB 72%
        Total free: 41152 KB 28%
File descriptor usage for squid:
        Maximum number of file descriptors: 256
        Largest file desc currently in use: 73
        Number of file desc currently in use: 73
        Available number of file descriptors: 183
        Reserved number of file descriptors: 64
Internal Data Structures:
        460451 StoreEntries
          3366 StoreEntries with MemObjects
          3366 StoreEntries with MemObject Data
          3350 Hot Object Cache Items
Accounted Memory Usage:
        StoreEntry 460451 x 52 bytes = 23382 KB
        URL strings = 21148 KB
        IPCacheEntry 315 x 36 bytes = 11 KB
        FQDNCacheEntry 496 x 56 bytes = 27 KB
        Hash link 3350 x 12 bytes = 39 KB
        Pool MemObject structures 3366 x 100 bytes = 328 KB ( 0
free)
        Pool for Request structur 44 x 4408 bytes = 189 KB ( 0
free)
        Pool for in-memory object 12288 x 4096 bytes = 49152 KB ( 18784
free)
        Pool for disk I/O 22 x 8192 bytes = 176 KB ( 96
free)
        NetDB Address Entries 0 x 76 bytes = 0 KB
        NetDB Host Entries 0 x 8 bytes = 0 KB
        NetDB Peer Entries 0 x 24 bytes = 0 KB
        ClientDB Entries 73 x 292 bytes = 20 KB
        Miscellaneous = 2733 KB
        Total Accounted = 97208 KB
Received on Wed Sep 10 1997 - 11:03:43 MDT

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