lkml.org 
[lkml]   [2000]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Signals lost when using asynchronous IO
Mikael Vidstedt wrote:
> No, I'm not using aio. I'm using the kernel supported asynchronous IO that
> sends signals through the net/socket.c:sock_wake_async() function in the
> kernel. No additional libraries or threads are used.
> ...
> There is no small test program to demonstrate the problem, I'm afraid. The
> application I'm writing is quite a bit too large. :(
>
> What the application does is to have about 200 concurrent connections
> from remote clients that are reading and writing data through sockets.
> When the remote end is shutting down, signals appear to get lost, because
> when I poll the remaining sockets, they have data left to be read, but no
> signal has been delivered...

So your program runs in the kernel? Is it a loadable module?

Can you try a different kernel, say Red Hat 6.2 or even 2.4.0-test3?
Who knows, maybe the Red Hat 6.0 kernel you're using has a bug that's
since been fixed...
- Dan

--
Entia non sunt multiplicanda praeter necessitatem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.404 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site