Re: [squid-users] out of aiocb slots

From: Adrian Chadd <adrian_at_squid-cache.org>
Date: Thu, 28 Aug 2008 08:10:57 +0800

It may alleviate it a bit but the problem is that there's no graceful
failover if you start exceeding the number of aiocb slots.

Just disable using aiops under freebsd-6/7 and use threaded async IO.
I'll look to sort out sensible POSIX AIO support in a future Squid
release.

Adrian

2008/8/28 Ramon Moreno <rammor1_at_gmail.com>:
> I noticed someone else had this error, and they were looking to increase
>
> #define MAX_ASYNCOP 128
>
>
> What is a safe number to increase this too, and does this help to alleviate the
>
> 2008/08/22 12:22:49| WARNING: out of aiocb slots!
>
> errors.
>
> Thanks!
>
>
> On Wed, Aug 27, 2008 at 3:27 PM, Ramon Moreno <rammor1_at_gmail.com> wrote:
>> Linux, kernel 2.6
>>
>> On Mon, Aug 25, 2008 at 6:39 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
>>> Which operating system is this?
>>>
>>>
>>>
>>> adrian
>>>
>>>
>>> 2008/8/26 Ramon Moreno <rammor1_at_gmail.com>:
>>>> --enable-coss-aio-ops is there.
>>>>
>>>> Is there a way to manipulate, or increase the available number of slots?
>>>>
>>>> Anything I can tweak in squid to help this?
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Aug 22, 2008 at 2:31 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
>>>>> Whats "squid -v" show?
>>>>>
>>>>> The POSIX AIO support in Squid isn't all that crash hot at the moment,
>>>>> COSS + threads works better.
>>>>>
>>>>>
>>>>>
>>>>> Adrian
>>>>>
>>>>> 2008/8/23 Ramon Moreno <rammor1_at_gmail.com>:
>>>>>> Hello Squid Gurus,
>>>>>>
>>>>>> Can someone please shed some light on the below error?
>>>>>>
>>>>>> 2008/08/22 12:22:49| WARNING: out of aiocb slots!
>>>>>>
>>>>>> I am using COSS with the following options:
>>>>>> max-size=16384 block-size=2048 max-stripe-waste=16384 membufs=500
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
Received on Thu Aug 28 2008 - 00:10:59 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 28 2008 - 12:00:05 MDT