I have a problem with squid eventually consuming all swap space of the
server. from the cachemgr.cgi i can tell that the 'Pool for Request
structur' is the biggest memory user and keeps on growing. looking thru
the FAQ i didn't see any reference to this one.  how do i put a limit on
it???
michael
Squid Object Cache: Version 1.1.20
Start Time:	Fri, 24 Apr 1998 21:09:10 GMT
Current Time:	Tue, 26 May 1998 02:20:06 GMT
Connection information for squid:
        Number of TCP connections:	220151
        Number of UDP connections:	0
        Connections per hour:	293.9
        Select loop called: 6534504 times, 412.741 ms avg
Cache information for squid:
        Storage Swap size:	368 MB
        Storage Mem size:	4800 KB
        Storage LRU Expiration Age:	 11.55 days
        Requests given to unlinkd:	18783
        Unused fileno stack count:	128
Resource usage for squid:
        CPU Time: 5045 seconds (2626 user 2419 sys)
        CPU Usage: 0%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 99577
Memory usage for squid via mallinfo():
        Total space in arena:   88298 KB
        Ordinary blocks:        85845 KB   5157 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:             0 KB      0 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:    2453 KB
        Total in use:           85845 KB 97%
        Total free:              2453 KB 3%
File descriptor usage for squid:
        Maximum number of file descriptors:    256
        Largest file desc currently in use:     18
        Number of file desc currently in use:   18
        Available number of file descriptors:  238
        Reserved number of file descriptors:    64
Internal Data Structures:
         38882 StoreEntries
           527 StoreEntries with MemObjects
           527 StoreEntries with MemObject Data
           525 Hot Object Cache Items
Accounted Memory Usage:
        StoreEntry                  38882 x   52 bytes =   1974 KB
        URL strings                                    =   1940 KB
        IPCacheEntry                  238 x   36 bytes =      8 KB
        FQDNCacheEntry                  0 x   56 bytes =      0 KB
        Hash link                     768 x   12 bytes =      9 KB
        Pool MemObject structures     527 x  100 bytes =     51 KB (     0 free)
        Pool for Request structur   13717 x 4408 bytes =  59047 KB (     0 free)
        Pool for in-memory object    2048 x 4096 bytes =   8192 KB (  2048 free)
        Pool for disk I/O              22 x 8192 bytes =    176 KB (   168 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              186 x  292 bytes =     53 KB
        Miscellaneous                                  =    519 KB
        Total Accounted                                =  71971 KB
Received on Thu May 28 1998 - 06:26:33 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:29 MST