[squid-users] Memory configuration

From: Lance Miller <[email protected]>
Date: Wed, 6 Oct 2004 08:57:11 -0600

I am newbie in the caching arena.

O/S: Linux Suse 9
Architecture: Dual Intel Zeon 2.8
Physical Memory (RAM): 8G
Hard Drive Space: 72G
Squid Version: 2.5.STABLE6

I have a few questions concerning squid and RAM memory configuration.

Here are is my memory usage when I fire up squid.

2004/10/05 20:13:23| Swap maxSize 40960000 KB, estimated 3150769 objects
2004/10/05 20:13:23| Target number of buckets: 157538
2004/10/05 20:13:23| Using 262144 Store buckets
2004/10/05 20:13:23| Max Mem size: 4096000 KB
2004/10/05 20:13:23| Max Swap size: 40960000 KB

        Request Hit Ratios: 5min: 17.6%, 60min: 14.4%
        Byte Hit Ratios: 5min: 3.0%, 60min: 3.1%
        Request Memory Hit Ratios: 5min: 20.6%, 60min: 26.2%
        Request Disk Hit Ratios: 5min: 5.7%, 60min: 7.1%
        Storage Swap size: 144760 KB
        Storage Mem size: 58392 KB
        Mean Object Size: 9.77 KB
        Requests given to unlinkd: 0

Any ideas on why Mem size is so small ( 58392 KB )?

Here is some more output?

Memory usage for squid via mallinfo():
        Total space in arena: 80136 KB
        Ordinary blocks: 80038 KB 10 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1784 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 97 KB
        Total in use: 81822 KB 100%
        Total free: 97 KB 0%
        Total size: 81920 KB

Again this doesn't look right.

My squid.conf for memory useage looks like this.

cache_mem 4000 MB

So This limit or set up my default ram limit right?

Thanks in advance!

-Lance
Received on Wed Oct 06 2004 - 08:57:12 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST