mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Weird issue with epoll and kernel >= 5.0
@ 2020-03-28 18:10 Omar Kilani
  2020-03-28 19:18 ` Kris Karas
  2020-03-28 19:21 ` Randy Dunlap
  0 siblings, 2 replies; 6+ messages in thread
From: Omar Kilani @ 2020-03-28 18:10 UTC (permalink / raw)
  To: linux-kernel

Hi there,

I've observed an issue with epoll and kernels 5.0 and above when a
system is generating a lot of epoll events.

I see this issue with nginx and jvm / netty based apps (using the
jvm's native epoll support as well as netty's own optimized epoll
support) but *not* with haproxy (?).

I'm not really sure what the actual problem is (nginx complains about
epoll_wait with a generic error), but it doesn't happen on 4.19.x and
lower.

I thought it was a netty problem at first and opened this ticket:

https://github.com/netty/netty/issues/8999

But then saw the same issue in nginx.

I haven't debugged a kernel issue in something like 20 years so I'm
not really sure where to start myself.

I'd be more than happy to provide my test case that has a very quick
repro to anyone who needs it.

Also happy to provide a VM/machine with enough CPUs to trigger it
easily (it seems to happen quicker with more CPUs present) to test
with.

Thanks!

Regards,
Omar

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-31 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28 18:10 Weird issue with epoll and kernel >= 5.0 Omar Kilani
2020-03-28 19:18 ` Kris Karas
2020-03-28 19:21 ` Randy Dunlap
2020-03-29 12:09   ` David Laight
2020-03-29 15:55     ` Randy Dunlap
2020-03-31 18:10   ` Davidlohr Bueso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®