[squid-users] Squid slow performance

From: Alamgir Shamim <gtuhin_at_gmail.com>
Date: Tue, 24 Jul 2012 13:21:50 +0600

Hello,

We are using squid version squid-2.6.STABLE21-6.el5. But getting very
poor performance.

Our total Internet user are almost 750. At a time 500 to 600 user
browse internet.

all of them are getting slow response. it takes 10 to 30 second to load a page.

Here I am giving you some out put.

top out put...

=========

top - 12:54:09 up 31 days, 5:59, 2 users, load average: 0.18, 0.24, 0.24

Tasks: 80 total, 1 running, 79 sleeping, 0 stopped, 0 zombie

Cpu(s): 1.5%us, 0.2%sy, 0.0%ni, 93.5%id, 4.2%wa, 0.0%hi, 0.6%si, 0.0%st

Mem: 2075016k total, 2020432k used, 54584k free, 233784k buffers

Swap: 2031608k total, 96k used, 2031512k free, 1538140k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

12866 squid 15 0 100m 70m 2508 S 3 3.5 4:56.96 squid

 2531 root 15 0 26744 5656 3328 S 0 0.3 1:34.82 snmpd

 2583 ntp 15 0 4448 4448 3440 S 0 0.2 6:11.39 ntpd

 6815 root 18 0 10936 4280 428 S 0 0.2 0:00.00 squid

 2781 haldaemo 19 0 5748 3728 1604 S 0 0.2 0:00.78 hald

12716 root 15 0 10116 2808 2252 S 0 0.1 0:02.98 sshd

12746 root 16 0 10116 2808 2252 S 0 0.1 0:00.24 sshd

 2565 root 18 0 9848 1972 1364 S 0 0.1 0:00.00 cupsd

12718 root 15 0 4764 1512 1200 S 0 0.1 0:00.25 bash

12750 root 15 0 4764 1512 1200 S 0 0.1 0:00.05 bash

 2756 avahi 18 0 2672 1328 1152 S 0 0.1 0:00.16 avahi-daemon

free -m output

============

[root_at_proxy253 squid]# free -m

             total used free shared buffers cached

Mem: 2026 1973 53 0 228 1502

-/+ buffers/cache: 242 1783

Swap: 1983 0 1983

Processor infor

==============

processor : 0

vendor_id : GenuineIntel

cpu family : 15

model : 4

model name : Intel(R) Xeon(TM) CPU 3.20GHz

stepping : 3

cpu MHz : 3200.343

cache size : 2048 KB

physical id : 0

siblings : 2

------------------------

processor : 1

vendor_id : GenuineIntel

cpu family : 15

model : 4

model name : Intel(R) Xeon(TM) CPU 3.20GHz

stepping : 3

cpu MHz : 3200.343

cache size : 2048 KB

physical id : 0

siblings : 2

-------------------------

Could you please let me know what might be the reason for getting slow
performance. We have 14 mbps of Internet bandwidth.

We are doing some content filtering also with squid.

Please help us.

Regards,
---------------------------------------------------
Md. Alamgir Shamim (Tuhin)
Senior Manager || Enterprise Network
Technology Operations
BRAC Bank Limited | Anik Tower
220/B, Tejgaon Industrial Area, Dhaka 1208, Bangladesh
Tel : +88-02-8836302-5 Ext. 5368 | Fax : +88-02-9898910
GSM - 01713481059
URL - http://www.bracbank.com
Received on Tue Jul 24 2012 - 07:21:56 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 24 2012 - 12:00:02 MDT