[squid-users] Squid very slow

From: Jonis Maurin Ceará <jmceara@dont-contact.us>
Date: Tue, 05 Apr 2005 14:17:45 -0300

Hi...

I'm using squid 2.5stable9 in acceleration (reverse) mode, with
authentication.

Authentication is only for external users (acl), local users
(192.168.X.X) goes direclty.

The problem is: squid is verry slow....
is i try to access apache direct on port 81, it's very veryy veryyyy
fast....but by squid, they make some seconds (sometimes 1~2~3~more
seconds) to load a simple page.

It's not a traffic or network problem, since my server don't have access
(until now) and accessing apache directly it's very fast.

what could be?

my config:

visible_hostname rio
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?

auth_param basic program /usr/local/bin/authpop.py
auth_param basic children 5
auth_param basic realm Intranet - Ribeirao Preto
auth_param basic credentialsttl 2 hours

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

acl password proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl redesliberadas src "/usr/local/squid/etc/redesliberadas"
no_cache deny ALL

http_access allow redesliberadas
http_access allow password !redesliberadas
http_reply_access allow all
icp_access allow all

http_port 80
httpd_accel_port 81
httpd_accel_host 192.168.202.4
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

forwarded_for on

cachemgr_passwd rweerg54 all
coredump_dir /var/spool/squid
Received on Tue Apr 05 2005 - 11:16:37 MDT

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