RE: [squid-users] Cache isn't used

From: Elsen Marc <elsen@dont-contact.us>
Date: Tue, 12 Apr 2005 07:47:52 +0200

 
>
> Hi, in my configuration the cache isn't never used.
> In squid.conf:
>
> cache_dir ufs /var/spool/squid 100 16 256
>
> .. the dir cache exist and:
>
> [root@localhost root]# ls -l /var/spool/squid
> totale 68
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 00
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 01
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 02
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 03
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 04
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 05
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 06
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 07
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 08
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 09
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 0A
> drwxr-xr-x 258 squid squid 4096 11 apr 23:28 0B
> drwxr-xr-x 258 squid squid 4096 11 apr 23:29 0C
> drwxr-xr-x 258 squid squid 4096 11 apr 23:29 0D
> drwxr-xr-x 258 squid squid 4096 11 apr 23:29 0E
> drwxr-xr-x 258 squid squid 4096 11 apr 23:29 0F
> -rw-r--r-- 1 squid squid 2160 11 apr 23:43 swap.state
>
> [root@localhost root]# tail /var/log/squid/cache.log
> 2005/04/11 23:29:05| 0 Objects expired.
> 2005/04/11 23:29:05| 0 Objects cancelled.
> 2005/04/11 23:29:05| 0 Duplicate URLs purged.
> 2005/04/11 23:29:05| 0 Swapfile clashes avoided.
> 2005/04/11 23:29:05| Took 3.1 seconds ( 0.0 objects/sec).
> 2005/04/11 23:29:05| Beginning Validation Procedure
> 2005/04/11 23:29:05| Completed Validation Procedure
> 2005/04/11 23:29:05| Validated 0 Entries
> 2005/04/11 23:29:05| store_swap_size = 0k
> 2005/04/11 23:29:06| storeLateRelease: released 0 objects
>
> I usr squid 2.5 stable3
> thanks.
>
 
 Check : cachemg -> General runtime information.

 Look for 'Internal Data Structures' ; what is the value
 for 'on-disk objects' ?

 M.
Received on Mon Apr 11 2005 - 23:48:03 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT