"Junchang(Jason) Wang" <junchang.wang@xxxxxxxx> wrote: > We still believe this is a bug in epoll system even though we can't > prove that so far. Both Andi and I are very interested in this problem > and helping you experts solve this it. Just let us know if we can > help. I'm just another epoll user, definitely not an expert. Hopefully somebody else can figure this out, because I'm unable to reproduce the problem with your code and I haven't spotted any bugs from reading through the kernel. Curious, I also have a multi-threaded HTTP server which is a little similar (multi-threaded, 2 epoll descriptors (only one epoll is heavily used). I run it on 2/4-core systems and haven't hit issues with epoll. If you want to test, it should be easy to build from tarball: http://bogomips.org/cmogstored/files/cmogstored-1.0.0.tar.gz configure && make ./cmogstored --httplisten=8080 --docroot=/path/to/whatever More info here: http://bogomips.org/cmogstored/README git clone http://bogomips.org/cmogstored.git -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html