Squid not caching

From: Benito Fernandez Garcia <befernandez@dont-contact.us>
Date: Tue, 14 Sep 1999 10:06:08 +0200

Desde: Benito Fernandez Garcia@ISNOTES el 14/09/99 10.06

Hello friends, I've got a big problem.

I think that my Squid not caching enough.

I have just installed Squid 2.2 with RedHat 6.0, I have also 2.8 GB for
caching (cache_dir) and
64 MB (cache_mem 20 MB) of RAM. My problem is that even I've got much free
 space in the cache,
 if I see the stats I find out that there aren't TCP_HIT.

Perhaps the directive never_direct do that extrange behaviour..... I don't
Know.

Below I put the report General Runtime Information from cachemgr.cgi and a
bit of Cache client list report
just in case this can help you.

Thanks very much.

 Start Time:
            Mon, 13 Sep 1999 11:31:24 GMT
 Current Time:
            Tue, 14 Sep 1999 06:32:34 GMT

Connection information for squid:
        Number of clients accessing cache: 3
        Number of HTTP requests received: 575
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        Request failure ratio: 0.00%
        HTTP requests per minute: 0.5
        ICP messages per minute: 0.0
        Select loop called: 158294 times, 432.553 ms avg
Cache information for squid:
        Request Hit Ratios: 5min: 0.0%, 60min: 1.4%
        Byte Hit Ratios: 5min: -0.0%, 60min: 12.0%
        Storage Swap size: 863 KB
        Storage Mem size: 1044 KB
        Storage LRU Expiration Age: 5.00 days
        Mean Object Size: 3.32 KB
        Requests given to unlinkd: 33
Median Service Times (seconds) 5 min 60 min:
        HTTP Requests (All): 0.00000 3.28534
        Cache Misses: 0.00000 3.46762
        Cache Hits: 0.00000 0.00000
        Near Hits: 0.00000 0.00000
        Not-Modified Replies: 0.00000 0.00494
        DNS Lookups: 0.00000 0.64769
        ICP Queries: 0.00000 0.00000
Resource usage for squid:
        UP Time: 68470.614 seconds
        CPU Time: 18.890 seconds
        CPU Usage: 0.03%
        CPU Usage, 5 minute avg: 0.00%
        CPU Usage, 60 minute avg: 0.16%
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 281
Memory usage for squid via mallinfo():
        Total space in arena: 3643 KB
        Ordinary blocks: 3397 KB 184 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 176 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 246 KB
        Total in use: 3573 KB 98%
        Total free: 246 KB 7%
Memory accounted for:
        Total accounted: 1272 KB
File descriptor usage for squid:
        Maximum number of file descriptors: 1024
        Largest file desc currently in use: 36
        Number of file desc currently in use: 15
        Files queued for open: 0
        Available number of file descriptors: 1009
        Reserved number of file descriptors: 100
        Store Disk files open: 0
Internal Data Structures:
           263 StoreEntries
           234 StoreEntries with MemObjects
           233 Hot Object Cache Items
           260 Filemap bits set
           260 on-disk objects

______________ Cache client list report : ___________________

Address: 172.25.0.97
Name: 172.25.0.97
    ICP Requests 0
    HTTP Requests 457
        TCP_MISS 452 99%
        TCP_REFRESH_HIT 2 0%
        TCP_IMS_HIT 3 1%

Address: 172.25.0.11
Name: 172.25.0.11
    ICP Requests 0
    HTTP Requests 8
        TCP_MISS 8 100%

TOTALS
ICP : 0 Queries, 0 Hits ( 0%)
HTTP: 573 Requests, 5 Hits ( 1%)
Received on Tue Sep 14 1999 - 02:16:19 MDT

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