> Hi All,
>
> Need help debugging squid, it's not filling up the cache_dir at all.
>
> Squid: 2.5.STABLE12 on FreeBSD 5.4 RELEASE

 - Try to use the latest STABLE release, if possible.

>
> ###Configuration option:
> ./configure  --enable-delay-pools --enable-storeio=diskd,ufs \
> --enable-removal-policies=heap,lru --enable-snmp --disable-ident-lookups
>
> ###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
>
> 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.
>

  - Do you get any TCP_HIT in access.log ?
  - Check cache.log, watchout for erros.

  - Check your system's error logs too, for any other info.

  M.

Reply via email to