Re: Re[2]: [squid-users] why it works so SLOW ???

From: Chris Wilcox <[email protected]>
Date: Sat, 29 Nov 2003 16:05:08 +0000

>have just compiled newest stable version of squid... work this same
>slow about 20 second till anything appear on screan :(
>( www browsing work perfect without squid )
>
>i think its a reason of my squid.conf
>can I see ur squid.conf
>
>if possible plz send it to me
>
>
>--
>Best regards,
> Maciej mailto:mwosko@o2.pl

Hi,

Since I have certain things in my squid.conf that I'd prefer to keep private
(IPs etc) here's the minimum lines you'll need to change:

1) cache_dir ufs /hdd1/squidcache 1000 16 256
2) acl MyLan src 192.168.3.1-192.168.3.254/255.255.255.255
3) http_access allow MyLan
4) visible_hostname Squid Cache

These lines are:

1) Alter the path to your personal cache directory. Leave directory numbers
etc standard. I've increased my cache_dir size to 1Gbyte. I have a VERY
small LAN so 1Gbyte is enough.
2) Create an ACL for your LAN
3) Allow your LAN access through Squid
4) Unless your Squid box has a Fully Qualified Domain Name, set this to your
liking.

Last thing I can think of: make sure that the user for which Squid runs as
(as listed in the squid.conf file) has full permissions on the cache_dir and
log directories. My current guess is that Squid can't write to the cache or
logs. Check these permissions and see if speed improves!

hth

Regards,

nry

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband
Received on Sat Nov 29 2003 - 09:05:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:43 MST