Search squid archive

Re: squid does not fill cache_dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* On 06/04/06 01:10 +1000, yance_kowara@xxxxxxxxxxxxxx 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@xxxxxxxxxxxx>
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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux