EpollEventLoopGroup slow shutdown regression
See original GitHub issueExpected behavior
EpollEventLoopGroup
regular shutdown takes a few millis to complete.
Actual behavior
EpollEventLoopGroup
takes about 1 second to shutdown. This only apply since 4.1.42.Final, it might be related to https://github.com/netty/netty/commit/76592db0bde9d4908191c2d7e54af3466ffd4673#diff-824cfcec3522343772416dd064658a83
Steps to reproduce
Shutdown an EpollEventLoopGroup
and wait for its completion. We noticed it because Vert.x testsuite using Epoll on Linux takes much longer than usual (making timeout CI jobs).
Minimal yet complete reproducer code (or URL to code)
Clone https://github.com/eclipse-vertx/vert.x and run mvn test -PtestNativeTransport
Netty version
4.1.42.Final
JVM version (e.g. java -version
)
OpenJDK 8
OS version (e.g. uname -a
)
Linux XXX 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Slow netty performance - java - Stack Overflow
While running a performance test using jmeter, I found that my server gives very high throughput till 150 concurrent users, but as soon...
Read more >1310608 – Very slow shutdown, it takes 1 minute 30 seconds
It seems it cannot shutdown device mapper because it is busy, so it timeouts after 1:30. I suspected akmods, because the CPU is...
Read more >Are very long shutdown times common when booting from ...
When the computer is up, performance is great (can reach 2+ GiB write per second), but boot is slow and, crucially, shutdown takes...
Read more >Autism Shutdown: The Causes and How to Manage It
Constantly masking without breaks can create shutdowns now and burnout in the long term. Conclusion. Autistic shutdowns are an exhausting ...
Read more >TW Plasma Extremely Slow to Shutdown or Restart ... - Reddit
This seems to be a recurring problem in TW and LEAP (don't know about other distros) and, according to Google searches, may be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it works fine with latest 4.1…43.Final-SNAPSHOT https://travis-ci.org/vietj/vert.x/builds/599121826
awesome will give a run soon.