Re: [squid-users] Fwd: Hye I have some problems with my cache

From: Olivier Calzi <oliviercalzi_at_gmail.com>
Date: Fri, 22 Mar 2013 17:22:35 +0100

Thanks ofr the reply i will test this asap.

Have a nice week-end

2013/3/22 Squidblacklist <webmaster_at_squidblacklist.org>:
> Also I use this directive in my conf to ensure squid will purge older
> unused cache and not run out of disk space
>
> cache_swap_low 90
> cache_swap_high 95
>
> Not sure if you need that, but it works for me.
>
>
>
>
> On Fri, 22 Mar 2013 07:40:01 -0700
> Squidblacklist <webmaster_at_squidblacklist.org> wrote:
>
>>
>> You have your cache set to 1024mb in size, this is very small, it is
>> no wonder it is filling quickly. I would increase that.
>>
>>
>>
>> On Fri, 22 Mar 2013 11:40:24 +0100
>> Olivier Calzi <oliviercalzi_at_gmail.com> wrote:
>>
>> > Hye Everyone,
>> >
>> > Thanks for reading me.
>> >
>> > I'm working in a firm and we have a situation with squid on one of
>> > ours squidserveur.
>> > There are the same squid.conf except for the initialisation of
>> > Squidguard.
>> >
>> > The problem is:
>> > - My cache grow up again and again and soon my drive will be full
>> > and we don't understand why.
>> >
>> > Our squid is:
>> >
>> > Package: squid
>> > Status: install ok installed
>> > Priority: optional
>> > Section: web
>> > Installed-Size: 1876
>> > Maintainer: Ubuntu Developers
>> > <ubuntu-devel-discuss_at_lists.ubuntu.com> Architecture: i386
>> > Version: 2.7.STABLE7-1ubuntu12.6
>> >
>> > My squid.conf:
>> >
>> >
>> > http_port 192.168.1.244:3128
>> >
>> > # Ajout pour le logiciel de compta qui n'accept pas les retours http
>> > 417 sur des requetes en http 1.1 alors qu'il devrait
>> > ignore_expect_100 on
>> >
>> > hierarchy_stoplist cgi-bin ?
>> >
>> > acl QUERY urlpath_regex cgi-bin \?
>> > no_cache deny QUERY
>> >
>> > cache_dir ufs /var/cache/squid 1024 16 256
>> >
>> > hosts_file /etc/hosts
>> >
>> >
>> >
>> >
>> > refresh_pattern ^ftp: 1440 20% 10080
>> > refresh_pattern ^gopher: 1440 0% 1440
>> > refresh_pattern . 0 20% 4320
>> >
>> >
>> > acl all src 0.0.0.0/0.0.0.0
>> > acl manager proto cache_object
>> > #IP autorise a telecharger
>> > acl localhost src 127.0.0.1/255.255.255.255
>> >
>> > #acl adm_downloader src 192.168.2.104
>> > acl to_localhost dst 127.0.0.0/8
>> > acl SSL_ports port 443 563 8080 10000 # https, snews + https de
>> > Peexter acl SSL_ports port 873 # rsync
>> > acl SSL_ports port 9433 # S_at_My
>> > acl Safe_ports port 80 # http
>> > acl Safe_ports port 21 # ftp
>> > acl Safe_ports port 443 563 # https, snews
>> > acl Safe_ports port 70 # gopher
>> > acl Safe_ports port 210 # wais
>> > acl Safe_ports port 1025-65535 # unregistered ports
>> > acl Safe_ports port 280 # http-mgmt
>> > acl Safe_ports port 488 # gss-http
>> > acl Safe_ports port 591 # filemaker
>> > acl Safe_ports port 777 # multiling http
>> > acl Safe_ports port 631 # cups
>> > acl Safe_ports port 873 # rsync
>> > acl Safe_ports port 901 # SWAT
>> > acl purge method PURGE
>> > acl CONNECT method CONNECT
>> > acl Safe_ports port 280 # http-mgmt
>> > acl Safe_ports port 488 # gss-http
>> > acl Safe_ports port 591 # filemaker
>> > acl Safe_ports port 777 # multiling http
>> > acl Safe_ports port 631 # cups
>> > acl Safe_ports port 873 # rsync
>> > acl Safe_ports port 901 # SWAT
>> > acl purge method PURGE
>> > acl CONNECT method CONNECT
>> >
>> >
>> >
>> > http_access allow manager localhost
>> > http_access deny manager
>> > http_access allow purge localhost
>> > http_access deny purge
>> > http_access deny !Safe_ports
>> > http_access deny CONNECT !SSL_ports
>> >
>> > acl lan src 192.168.1.0/24
>> >
>> > http_access allow lan
>> >
>> > http_access deny all
>> >
>> > http_reply_access allow all
>> >
>> > icp_access allow all
>> >
>> > coredump_dir /var/spool/squid
>> > #redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
>> >
>> >
>> > Thanks again for reading me.
>> > Olivier Calzi
>> >
>>
>>
>>
>> -
>> Signed,
>>
>> Fix Nichols
>>
>> http://www.squidblacklist.org
>
>
>
> -
> Signed,
>
> Fix Nichols
>
> http://www.squidblacklist.org

-- 
Cordialement
Olivier Calzi
Received on Fri Mar 22 2013 - 16:22:42 MDT

This archive was generated by hypermail 2.2.0 : Sat Mar 23 2013 - 12:00:05 MDT