kaio
[Top] [All Lists]

Unrelated question regarding heavy loads.

To: Francois Petillon <fantec@xxxxxxxxxx>
Subject: Unrelated question regarding heavy loads.
From: Christopher Smith <cbsmith@xxxxxxxx>
Date: 22 Nov 2001 12:27:23 -0800
Cc: kaio@xxxxxxxxxxx
In-reply-to: <3BFCD230.576B6847@xxxxxxxxxx>
References: <3BFC57A4.90707@xxxxxxxx> <3BFCD230.576B6847@xxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
Francois Petillon <fantec@xxxxxxxxxx> writes:
> I do not know if it is linked but I could not make work 
> AIO in a stable way. I patched diablo dreaderd (frontal
> news server) to allow him to access directly to a spool.
> This spool is stored on a netapp, filled by a diablo 
> spooler. Dreaderd ask to Diablo where an article was 
> stored and try to load it directly. The version with
> normal read is working fine. When using aio_read, it is 
> working fine for a few minutes under an high load until
> the kernel starts to send signal for AIO read completion 
> while aio_error returns EINPROGRESS. Any idea ?

Well, it's hard to say without looking at your code, but obvious
things which come to mind, such as are you checking the return code
from aio_read()? Also, have you setup your signal handling so you can
distinguish between aio requests? Is it possible you're getting
signals from something else?

--Chris

<Prev in Thread] Current Thread [Next in Thread>