If it's useful, the right on the cache directory is
ls -la /usr/local/squid/var/cache2
total 152
drwxr-xr-x 18 squid squid 4096 Mar 30 23:30 .
drwxr-xr-x 6 squid squid 4096 Mar 26 11:28 ..
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 00
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 01
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 02
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 03
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 04
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 05
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 06
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 07
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 08
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 09
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0A
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0B
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0C
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0D
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0E
drwxr-x--- 258 squid squid 4096 Mar 26 11:28 0F
-rw-r----- 1 squid squid 96 Mar 30 23:30 swap.state
-rw-r----- 1 squid squid 0 Mar 30 23:30 swap.state.last-clean
----------------------------
Guillaume Chartrand
Technicien informatique
Cégep régional de Lanaudière
Centre administratif, Repentigny
(450) 470-0911 poste 7218
-----Message d'origine-----
De : Guillaume Chartrand [mailto:guillaume.chartrand@collanaud.qc.ca]
Envoyé : 31 mars 2008 13:44
À : squid-users@squid-cache.org
Objet : [squid-users] empty cache
Hi, I've already post with a similar subject but I think it's different. I run squid 24h/24h and my cache directory remains empty. I don't know why no object is cached on disk.
Here is a brief of my configuration
Squid -v
Squid Cache: Version 2.6.STABLE12
configure options: '--enable-storeio=aufs,null,ufs' '--with-large-files'
Here some of my squid.conf
http_port 3128 transparent
cache_mem 100 MB
maximum_object_size 25600 KB
maximum_object_size_in_memory 24 KB
cache_dir aufs /usr/local/squid/var/cache2 2500 16 256
url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf
url_rewrite_children 80
acl our_networks src 172.16.0.0/12
http_access allow our_networks
no_cache deny our_networks
## purger site
acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE
###
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
cache_effective_user squid
#Default:
# wccp_router 0.0.0.0
wccp2_router 172.20.20.11
wccp2_router 172.20.20.12
wccp_version 4
wccp2_forwarding_method 2
wccp2_return_method 2
wccp2_assignment_method 1
wccp2_service standard 0 password=xxxxx
all the other option is default option
----------------------------
Guillaume Chartrand
Technicien informatique
Cégep régional de Lanaudière
Centre administratif, Repentigny
(450) 470-0911 poste 7218
Received on Mon Mar 31 2008 - 11:53:07 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT