Re: [squid-users] Slow performance through Squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 12 Aug 2010 21:52:42 +1200

fRANz wrote:
> On Thu, Aug 12, 2010 at 5:40 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>
>>>> http_port 127.0.0.1:3128 transparent
>>>> visible_hostname proxy.local.domain
>>>> cache_mgr root_at_local.domain
>> Sigh. So the remote admin who want to contact you about problems they
>> encounter coming out of your proxy are supposed to email root_at_local.domain
>> about the host at proxy.local.domain?. Very helpful :(
>
> just a personal use :-) don't worry
>
>>>> acl CONNECT method CONNECT
>>>> acl all src 0.0.0.0/0.0.0.0
>>>> acl restr src 192.168.100.50 192.168.100.51 \
>>>> 192.168.100.52 192.168.100.53 192.168.100.54
>>>> acl tutto src 192.168.100.0/255.255.255.0
>> acl all src all
>> acl restr src 192.168.100.50-192.168.100.54
>> acl tutto src 192.168.100.0/24
>
> OK! Thanks for the tip.
>
>>>> access_log syslog:daemon.info
>>>> emulate_httpd_log on
>> Um. Logging to syslog in apache format. Okay.
>>
>> access_log syslog:daemon.info common
>
> Uh? :-) emulate_httpd_log could slow down Squid?
>

About one CPU cycle per output line. :-)

emulate_* has been deprecated since 2.5. So could be gone when you next
upgrade. One less config line too.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.6
   Beta testers wanted for 3.2.0.1
Received on Thu Aug 12 2010 - 09:52:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 12 2010 - 12:00:03 MDT