------=_NextPart_000_001F_01BF5386.C97A9400
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have this in my cache.log, which NUMTHREADS value should I increase?
1999/12/31 04:54:47| aio_queue_request: WARNING - Running out of I/O =
theads
1999/12/31 04:54:47| aio_queue_request: Perhaps you should increase =
NUMTHREADS
1999/12/31 04:54:47| aio_queue_request: Or install more disks to share =
the load
TIA,
Jati
------=_NextPart_000_001F_01BF5386.C97A9400
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have this in my cache.log, which =
NUMTHREADS value=20
should I increase?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>1999/12/31 04:54:47| aio_queue_request: =
WARNING -=20
Running out of I/O theads<BR>1999/12/31 04:54:47| aio_queue_request: =
Perhaps you=20
should increase NUMTHREADS<BR>1999/12/31 04:54:47| aio_queue_request: Or =
install=20
more disks to share the load</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>TIA,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Jati</FONT></DIV></BODY></HTML>
------=_NextPart_000_001F_01BF5386.C97A9400--
> I have this in my cache.log, which NUMTHREADS value should I increase?
[...]
> ...aio_queue_request: Perhaps you should increase NUMTHREADS
To do this I define NUMTHREADS as part of customised CFLAGS prior to running
configure when building Squid for the first time:
% setenv CFLAGS="-DNUMTHREADS=96 [...other local flags here...]"
% ./configure --enable-async-io [...other params...]
As to what value you should use for NUMTHREADS, that really depends on your
system; the default for 2.2.STABLE5 is 16 which turned out to be too low for
me (as was 32 - I jumped to 96 without trying anything in-between, and that
appears to have solved things for me).
Cheers..
dave