[squid-users] Re: Squid Performance Tuning

From: Adam Aube <aaube01@dont-contact.us>
Date: Tue, 28 Sep 2004 22:06:03 -0400

P.V.Sankar wrote:

> From the last 2 months our users have been complaining that internet
> access is very very slow and downloading files taking lot of
> time. Sometimes downloading doesn't happen/stops in between. .

> We have 2 Mbps leased line and our staff strength is nearly 350.
> Our squid system is running on Linux platform and with 36GB HDD 1GB
> memory.

> my squid.conf is as follows:

> cache_dir ufs /usr/local/squid/cache 100 16 256

Use aufs instead of ufs for better performance, and increase your cache size
for better caching (set to about a week's traffic).

> cache_store_log /usr/local/squid/logs/store.log

Turn this off - you don't need it unless you are trying to debug a problem.

> debug_options ALL,1 33,2

Anything other than ALL,1 should only be used when you are trying to
troubleshoot a specific problem.

> auth_param basic program /usr/local/squid/libexec/ncsa_auth
> /usr/local/squid/etc/passwd
> authenticate_pogram /usr/local/squid/libexec/ncsa_auth
> /usr/local/squid/etc/passwd

The auth_param line is for Squid 2.5, and authenticate_program is for Squid
2.4. Remove the one that is wrong for your Squid version.

> acl domainusers proxy_auth REQUIRED
> acl allowed proxy_auth REQUIRED
> acl foo proxy_auth REQUIRED

These acls are redundant - any one will work fine. Same for the
corresponding http_access rules.

Adam
Received on Tue Sep 28 2004 - 20:05:50 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT