alanbraw
(usa Ubuntu)
Enviado em 31/10/2014 - 09:05h
Bom Dia!
Apaguei a pasta do var/cache/squid3/ apague os arquivos cache.log access.log iniciei o serviço mas mesmo assim ele continua tentando recriar as pastas
Mudei a estrutura dos diretório conforme abaixo sem novidade mesmo problema
Engraçado parece não esta impactando em nada por o cache esta sendo feito perfeitamente conforme log abaixo será que pode ser a ordem das regras no squid.conf?
cache_dir aufs /var/cache/squid3/1/ 50000 16 256
cache_dir aufs /var/cache/squid3/2/ 50000 16 256
cache_dir aufs /var/cache/squid3/3/ 50000 16 256
cache_dir aufs /var/cache/squid3/4/ 50000 16 256
Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done.
Creating Squid HTTP Proxy 3.x cache structure ... (warning).
2014/10/31 08:55:40| Creating Swap Directories
2014/10/31 08:55:40| /var/cache/squid3/1/ exists
2014/10/31 08:55:40| /var/cache/squid3/1//00 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//00
2014/10/31 08:55:40| /var/cache/squid3/1//01 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//01
2014/10/31 08:55:40| /var/cache/squid3/1//02 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//02
2014/10/31 08:55:40| /var/cache/squid3/1//03 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//03
2014/10/31 08:55:40| /var/cache/squid3/1//04 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//04
2014/10/31 08:55:40| /var/cache/squid3/1//05 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//05
2014/10/31 08:55:40| /var/cache/squid3/1//06 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//06
2014/10/31 08:55:40| /var/cache/squid3/1//07 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//07
2014/10/31 08:55:40| /var/cache/squid3/1//08 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//08
2014/10/31 08:55:40| /var/cache/squid3/1//09 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//09
2014/10/31 08:55:40| /var/cache/squid3/1//0A exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0A
2014/10/31 08:55:40| /var/cache/squid3/1//0B exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0B
2014/10/31 08:55:40| /var/cache/squid3/1//0C exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0C
2014/10/31 08:55:40| /var/cache/squid3/1//0D exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0D
2014/10/31 08:55:40| /var/cache/squid3/1//0E exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0E
2014/10/31 08:55:40| /var/cache/squid3/1//0F exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/1//0F
2014/10/31 08:55:40| /var/cache/squid3/2/ exists
2014/10/31 08:55:40| /var/cache/squid3/2//00 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//00
2014/10/31 08:55:40| /var/cache/squid3/2//01 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//01
2014/10/31 08:55:40| /var/cache/squid3/2//02 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//02
2014/10/31 08:55:40| /var/cache/squid3/2//03 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//03
2014/10/31 08:55:40| /var/cache/squid3/2//04 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//04
2014/10/31 08:55:40| /var/cache/squid3/2//05 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//05
2014/10/31 08:55:40| /var/cache/squid3/2//06 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//06
2014/10/31 08:55:40| /var/cache/squid3/2//07 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//07
2014/10/31 08:55:40| /var/cache/squid3/2//08 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//08
2014/10/31 08:55:40| /var/cache/squid3/2//09 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//09
2014/10/31 08:55:40| /var/cache/squid3/2//0A exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0A
2014/10/31 08:55:40| /var/cache/squid3/2//0B exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0B
2014/10/31 08:55:40| /var/cache/squid3/2//0C exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0C
2014/10/31 08:55:40| /var/cache/squid3/2//0D exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0D
2014/10/31 08:55:40| /var/cache/squid3/2//0E exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0E
2014/10/31 08:55:40| /var/cache/squid3/2//0F exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/2//0F
2014/10/31 08:55:40| /var/cache/squid3/3/ exists
2014/10/31 08:55:40| /var/cache/squid3/3//00 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//00
2014/10/31 08:55:40| /var/cache/squid3/3//01 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//01
2014/10/31 08:55:40| /var/cache/squid3/3//02 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//02
2014/10/31 08:55:40| /var/cache/squid3/3//03 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//03
2014/10/31 08:55:40| /var/cache/squid3/3//04 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//04
2014/10/31 08:55:40| /var/cache/squid3/3//05 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//05
2014/10/31 08:55:40| /var/cache/squid3/3//06 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//06
2014/10/31 08:55:40| /var/cache/squid3/3//07 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//07
2014/10/31 08:55:40| /var/cache/squid3/3//08 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//08
2014/10/31 08:55:40| /var/cache/squid3/3//09 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//09
2014/10/31 08:55:40| /var/cache/squid3/3//0A exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0A
2014/10/31 08:55:40| /var/cache/squid3/3//0B exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0B
2014/10/31 08:55:40| /var/cache/squid3/3//0C exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0C
2014/10/31 08:55:40| /var/cache/squid3/3//0D exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0D
2014/10/31 08:55:40| /var/cache/squid3/3//0E exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0E
2014/10/31 08:55:40| /var/cache/squid3/3//0F exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/3//0F
2014/10/31 08:55:40| /var/cache/squid3/4/ exists
2014/10/31 08:55:40| /var/cache/squid3/4//00 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//00
2014/10/31 08:55:40| /var/cache/squid3/4//01 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//01
2014/10/31 08:55:40| /var/cache/squid3/4//02 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//02
2014/10/31 08:55:40| /var/cache/squid3/4//03 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//03
2014/10/31 08:55:40| /var/cache/squid3/4//04 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//04
2014/10/31 08:55:40| /var/cache/squid3/4//05 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//05
2014/10/31 08:55:40| /var/cache/squid3/4//06 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//06
2014/10/31 08:55:40| /var/cache/squid3/4//07 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//07
2014/10/31 08:55:40| /var/cache/squid3/4//08 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//08
2014/10/31 08:55:40| /var/cache/squid3/4//09 exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//09
2014/10/31 08:55:40| /var/cache/squid3/4//0A exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0A
2014/10/31 08:55:40| /var/cache/squid3/4//0B exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0B
2014/10/31 08:55:40| /var/cache/squid3/4//0C exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0C
2014/10/31 08:55:40| /var/cache/squid3/4//0D exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0D
2014/10/31 08:55:40| /var/cache/squid3/4//0E exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0E
2014/10/31 08:55:40| /var/cache/squid3/4//0F exists
2014/10/31 08:55:40| Making directories in /var/cache/squid3/4//0F
root@SRV-CACHE:~# squid3 -k parse
2014/10/31 08:44:16| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2014/10/31 08:44:16| Starting Authentication on port [::]:3128
2014/10/31 08:44:16| Disabling Authentication on port [::]:3128 (interception enabled)
2014/10/31 08:44:16| Disabling IPv6 on port [::]:3128 (interception enabled)
2014/10/31 08:44:16| WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP
2014/10/31 08:44:16| WARNING: use of 'reload-into-ims' in 'refresh_pattern' violates HTTP
2014/10/31 08:44:16| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
2014/10/31 08:44:16| WARNING: use of 'ignore-private' in 'refresh_pattern' violates HTTP
root@SRV-CACHE:~#
LOGS
414727059.684 38 192.168.2.122 TCP_HIT/200 1897 GET
http://s.ytimg.com/yts/jsbin/www-scheduler-vflV8nwAd/www-scheduler.js - NONE/- text/javascript
1414727059.707 61 192.168.2.122 TCP_HIT/200 21636 GET
http://s.ytimg.com/yts/cssbin/www-player-webp-vflfSAPut.css - NONE/- text/css
1414727059.709 64 192.168.2.122 TCP_HIT/200 30872 GET
http://s.ytimg.com/yts/cssbin/www-core-webp-vfl7XKw68.css - NONE/- text/css
1414727059.848 16 192.168.2.122 TCP_HIT/200 11075 GET
http://s.ytimg.com/yts/jsbin/spf-vflxLbQzG/spf.js - NONE/- text/javascript
1414727059.869 36 192.168.2.122 TCP_HIT/200 26921 GET
http://s.ytimg.com/yts/jsbin/www-en_US-vflSU60OC/base.js - NONE/- text/javascript
1414727059.875 228 192.168.2.122 TCP_HIT/200 318381 GET
http://s.ytimg.com/yts/jsbin/html5player-pt_BR-vflfLX_3x/html5player.js - NONE/- text/javascript
1414727059.876 823 192.168.2.122 TCP_MISS/200 34601 GET
http://www.youtube.com/watch? - DIRECT/173.194.118.73 text/html
1414727060.174 28 192.168.2.122 TCP_HIT/200 30200 GET
http://s.ytimg.com/yts/imgbin/player-common-vflDtscSi.webp - NONE/- image/webp