question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EpollEventLoopGroup slow shutdown regression

See original GitHub issue

Expected 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:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
vietjcommented, Oct 17, 2019

it works fine with latest 4.1…43.Final-SNAPSHOT https://travis-ci.org/vietj/vert.x/builds/599121826

1reaction
vietjcommented, Oct 16, 2019

awesome will give a run soon.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found