Re: [squid-users] Slow Squid Proxy Server

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Mon, 5 Dec 2005 13:55:27 +0100

On 05.12 12:36, Wennie V. Lagmay wrote:
> I think Im having problem with my squid proxy server. To start with my
> proxy server is DELL 2850 dual XEON 3.0 Ghz processor 64 bit architecture
> with 6 GIG om RAM and 5 x 36 GIG of hard drive, the software running is
> Fedora Core 2 64 bit software and squid 2.5 stable 7. Now here is what I'm
> experiencing, using my workstation connected my local proxy and opening
> the site yahoo.com and cnn.com here are the result:
>
> Also below im my proxy configuration can any body help me to figure out the
> problem? any suggestion or comment is highl appreciated.

> cache_mem 5120 MB

you may be swapping too much. read SQUID FAQ for informations about squid's
memory usage

> maximum_object_size 4096 KB

a bit low for that huge cache, I'd increase it to 64 MB

> maximum_object_size_in_memory 3072 KB

too big imho, it will decrease memory hit raqtio

> cache_dir diskd /cache1/spool/squid 25000 16 256 Q1=500 Q2=512
> cache_dir diskd /cache2/spool/squid 25000 16 256 Q1=500 Q2=512
> cache_dir diskd /cache3/spool/squid 25000 16 256 Q1=500 Q2=512

aufs would be faster on linux systems. Do you have enough of shared memory?
read the squid faq for more info.

> refresh_pattern \.gif$ 10080 90% 43200
[deleted]
> refresh_pattern \.wrl$ 10080 90% 43200

don't play with refresh_pattern unless you know what you do (according to
the above, you don't)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet. 
Received on Mon Dec 05 2005 - 05:55:31 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST