[squid-users] High loads on linux box running squid - tuning

From: Finnur Örn Guðmundsson - Skyggnir <fog@dont-contact.us>
Date: Thu, 17 Feb 2005 08:36:29 -0000

Hi all,

Im running squid on HP Proliant DL360 (3.06Ghz Xeon / 1Gb ram / 2x 15K disks in raid1)

We have around 2000-2500 concurrent clients at daytimes

We recently upgraded the squid box from 866Mhz PIII / 1Gb of ram. It had 100% cpu loads all the time and it was...slow :)

After i upgraded the box to the 3Ghz Xeon its still performing pretty much the same (Loads from 0.80 to 2.00). Now i am running Squid 2.5.STABLE3-6.3E2 (from RHEL 3 Update 4). I am by no means a squid expert (go figure:) but here are the parameters i have changed from defaults (after googling for awile).

cache_mem 128 MB
cache_swap_low 80
cache_swap_high 100
maximum_object_size 1024 KB
cache_dir aufs /var/spool/squid 4000 16 256 (i know i do not have alot of cacheing space, but this is a temp proxy solution)
cache_store_log none
request_body_max_size 12 MB
half_closed_clients off

The system is running 2.4.21-27 in non hyperthreading mode. (1 cpu)

Is there anything i can do to quickly lower the load? How many users can one put on a box like this? I have been google-ing alot and have seen talk about 2500-5000 on one box, not unlike this one. Is this wrong?

Kær kveðja / Best regards,
Finnur Ö. Guðmundsson
System Engineer - System Operations
fog@t.is

TM Software - Skyggnir
Holtasmári 1, IS- 201 Kópavogur, Iceland
tel: + 354 545 3000-fax + 354 545 3001
www.t.is

This e-mail message and any attachments is confidential and may be privileged. If you are not the intended recipient, please uphold strict confidentiality and neither read, copy, nor otherwise make use of the content in any way and notify sender immediately, by replying to this message or by sending an e-mail, and destroy all copies of this message and any attachments. Any non work related opinions contained in this message are those of the author and are not given or endorsed by TM Software TölvuMyndir through which this message is sent.
Received on Thu Feb 17 2005 - 01:36:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST