Re: [squid-users] squid does not fill cache_dir

From: Odhiambo WASHINGTON <odhiambo.raburu@dont-contact.us>
Date: Wed, 5 Apr 2006 18:20:44 +0300

* On 06/04/06 01:10 +1000, yance_kowara@exemail.com.au wrote:
| Hi All,
|
| Need help debugging squid, it's not filling up the cache_dir at all.

Why would you want it to fill it up?

| Squid: 2.5.STABLE12 on FreeBSD 5.4 RELEASE
|
| ###Configuration option:
| ./configure --enable-delay-pools --enable-storeio=diskd,ufs \
| --enable-removal-policies=heap,lru --enable-snmp --disable-ident-lookups

cd /usr/ports/www/squid
make config # More flexible and helpful

| ###Cache_dir in squid.conf
| cache_dir diskd /cache/cache1 5000 16 256 Q1=72 Q2=64
|
| ###df -H
| /dev/mirror/gm0s1e 10G 17M 9.5G 0% /cache

du -hc /cache/cache1 ???

| It's been running since late Jan 2006. 60 workstations
|
|
| ###mgr:info
| Connection information for squid:
| Number of clients accessing cache: 68
| Number of HTTP requests received: 1250960
| Number of ICP messages received: 0
| Number of ICP messages sent: 0
| Number of queued ICP replies: 0
| Request failure ratio: 0.00
| Average HTTP requests per minute since start: 357.9
| Average ICP messages per minute since start: 0.0
| Select loop called: 20624438 times, 10.168 ms avg
| Cache information for squid:
| Request Hit Ratios: 5min: 0.0%, 60min: 0.0%
| Byte Hit Ratios: 5min: 1.8%, 60min: 0.7%
| Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0%
| Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0%
| Storage Swap size: 0 KB
| Storage Mem size: 104 KB
| Mean Object Size: 0.00 KB
| Requests given to unlinkd: 0
| Median Service Times (seconds) 5 min 60 min:
| HTTP Requests (All): 0.49576 0.49576
| Cache Misses: 0.49576 0.49576
| Cache Hits: 0.00000 0.00000
| Near Hits: 0.00000 0.00000
| Not-Modified Replies: 0.00000 0.00000
| DNS Lookups: 0.19488 0.20377
| ICP Queries: 0.00000 0.00000
|
| What am I missing? I have not tried to recompile it, I would like to know
| what mistakes I made.

This is not funny!

1. Does your /usr/local/squid/logs/access.log show that clients are
   using it?
2. Show us also the cache.log, from the same location please.

PS: I have never used cachemgr so I am not relying on the data you've
given to help me decide.

-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Some people live life in the fast lane.  You're in oncoming traffic.

Received on Wed Apr 05 2006 - 09:20:57 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT