Messages in this thread | | | Date | Wed, 12 Jul 2000 08:34:52 -0700 | From | Dan Kegel <> | Subject | Re: 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/
| |