[squid-users] Squid get very high load

From: <pyh@dont-contact.us>
Date: Wed, 7 Feb 2007 14:44:30 +0800 (CST)

Hello lists,

We used squid as web accelerator.But they always run on high-load then begin to deny services.
Here are squid's version and installion info:

# sbin/squid -v
Squid Cache: Version 2.6.STABLE5
configure options: '--prefix=/home/squid' '--enable-async-io=32'
'--enable-removal-policies=heap,lru' '--with-maxfd=65535' '--enable-epoll' '--enable-snmp'
'--disable-cache-digests' '--disable-poll' '--disable-ident-lookup' '--disable-wccp'
'--disable-select' '--enable-dlmalloc' '--enable-large-files' '--enable-referer-log'

Here is squid.conf:

http_port 80 transparent
http_port 88 transparent
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \.php
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 512 MB
maximum_object_size_in_memory 128 KB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir aufs /home/squid/var/cache 20480 16 64
cache_dir aufs /home/squid/var/cache0 20480 16 64
cache_dir aufs /home/squid/var/cache1 20480 16 64
access_log /home/squid/var/logs/access.log squid
referer_log /home/squid/var/logs/referer_log
cache_log /home/squid/var/logs/cache.log
cache_store_log none
...(below are the refresh_pattern and acls)

The squid is running on /home/squid dir./home is a disk partion,it has 254G space.

Here are cache.log items:

2007/02/07 14:21:21| squidaio_queue_request: WARNING - Disk I/O overloading
2007/02/07 14:21:46| ctx: exit level 0
2007/02/07 14:21:46| squidaio_queue_request: WARNING - Disk I/O overloading

please help,thanks.
Received on Tue Feb 06 2007 - 23:44:46 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST