Search squid archive

Re: WARNING - Queue congestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pak,

I had a weird "queueing" problem with EXT3 and ReiserFS.

From time to time, a disk started a write operation (monitored via iostat)
which lasted some times up to 20 seconds. When these ' disk flush' happened, the system just stall; waiting for this disk queue emptying, blocking every disk I/O. Meanwhile, the *squid operations* got queued, generating the warning.

This was really annoying, since when these disk flushes happened, the cache stopped responding.

When I put my cache on a XFS partition, things ran just GREAT. A real improvement in disk i/o performance. I have 17 disks; 16 for cache (the OS disk is running EXT3). After changing this, I got rid of this problem. And these disk flushes never happened again.

Best regards,

Rodrigo.

----- Original Message ----- From: "pak kumis" <adisudana@xxxxxxxxx>
To: <squid-users@xxxxxxxxxxxxxxx>
Sent: Friday, March 24, 2006 5:47 PM
Subject:  WARNING - Queue congestion


hi,

i got this message in my log.

squidaio_queue_request: WARNING - Queue congestion

my sistem use 4 hdd sata for the cache directory.

i use squid that originaly compile by trustix secure linux.
adi@box adi$ squid -v
Squid Cache: Version 2.5.STABLE13
configure options: '--host=i586-trustix-linux-gnu'
'--target=i586-trustix-linux' '--prefix=/usr' '--program-prefix='
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--bindir=/usr/sbin'
'--libexecdir=/usr/lib/squid' '--localstatedir=/var/spool/squid'
'--sysconfdir=/etc/squid' '--enable-async-io' '--enable-poll'
'--with-dl' '--enable-gnuregex' '--enable-carp' '--with-aio'
'--enable-storeio=aufs,diskd,null,ufs' '--enable-icap-support'
'--enable-delay-pools' '--enable-useragent-log' '--enable-referer-log'
'--enable-arp-acl' '--enable-htcp' '--enable-ssl' '--with-openssl'
'--enable-forw-via-db' '--enable-cache-digests'
'--enable-default-err-language=English' '--enable-linux-netfilter'
'--enable-auth=ntlm basic digest' '--enable-basic-auth-helpers=MSNT
NCSA PAM SMB YP getpwnam multi-domain-NTLM winbind'
'--enable-ntlm-auth-helpers=SMB fakeauth no_check winbind'
'--enable-digest-auth-helpers=password' '--enable-ntlm-fail-open'
'--enable-external-acl-helpers=ip_user unix_group wbinfo_group
winbind_group ldap_group' '--enable-x-accelerator-vary'
'--enable-snmp' 'CFLAGS=-O3 -fomit-frame-pointer -pipe -s -mpentium
-mcpu=pentium -march=pentium -fexpensive-optimizations
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -D_LARGEFILE64_SOURCE=1'
'host_alias=i586-trustix-linux-gnu' 'target_alias=i586-trustix-linux'


when i type pstree i found my squid proses

    |-squid---squid-+-squid---36*[squid]
    |               |-24*[squid_redirect]
    |               `-unlinkd


anybody can help ?

regards,

adi


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux