cancel
Showing results for 
Search instead for 
Did you mean: 

monitor squid performance

Siljumon S
Occasional Visitor

monitor squid performance

I'm running a squid server for enterprise proxy server. The number of concurrent users are about 800. Many time the processor utilisation of the squid process reaches 100 %

How can I improve the performance of the squid? How can I do fine tuning or what is the hardware requirement to server this much load. My link speed is 2 Mbps
5 REPLIES
Patrick Terlisten
Honored Contributor

Re: monitor squid performance

Hi,

would you told us a bit more about your hardware? Which distribution and which version of squid?

Regards,
Patrick
Best regards,
Patrick
Steven E. Protter
Exalted Contributor

Re: monitor squid performance

Hello Sijumon,

Just because squid takes 100% of cpu does not mean anything is wrong. If there is nothing else important happenning on the machine then squid using the whole cpu is not a problem.

If there are other important processes being denied cpu time by squid then think about patching squid.

It is a common misconeption that 100% use is a bad thing. What is it there for if not be used?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Siljumon S
Occasional Visitor

Re: monitor squid performance

Hardware Details

HP Proliant DL 380

DUAL CPU
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 9
cpu MHz : 2789.894
cache size : 512 KB

1 GB RAM

Total 72 BG HDD SPACE

Details of the space used by SQUID
output of mount
/dev/cciss/c0d0p7 on /var/log/squid type ext3 (rw,noatime)
/dev/cciss/c0d0p13 on /proxy_cache type ext3 (rw,noatime)
output of df
/dev/cciss/c0d0p7 20G 1.6G 17G 9% /var/log/squid
/dev/cciss/c0d0p13 1.7G 69M 1.6G 5% /proxy_cache


OS: FC2
kernel: 2.6.5-1.358smp


How can I monitor my squid performance and make sure that it is functioning properly.
Steven E. Protter
Exalted Contributor

Re: monitor squid performance

If you have bucks(moolah, cash, etc), the best tool is Glance for Linux.

It has a nice gui and you can drill in to monitor performance.

Otherwise perhaps gpm graphic performance monitor, which is pretty standard for Linux installs.

Last, put together some sar scripts.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Siljumon S
Occasional Visitor

Re: monitor squid performance

Thank you all.My squid server is still using 100 % in between. It is due to the load only and it does not create any problem for the server