-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
100% CPU in selector on Windows #1446
Comments
What does the thread dump for that thread look like over time? (Does its stacktrace change?) |
More questions... |
Let me describe the test scenarios first:
Some of the top running threads yes and some of them no.
On two JDK versions: (jdk1.8.0 AND jdk1.8.0_121)
On Windows 7 and Windows 10
Nothing. just an UTM for all the network.
this is a web-app with panels for end-users. no clients were connected at the test environment. the web app was idle.
what type of timeouts do you mean?
this is a panel for traders. some market info is gathered and pushed to UI, some executor-services are running and MongoDB+SQLServer are in back-end. there is some queues (Disruptor) and messages get in and out by Netty. (all of this functionalities are disabled in test scenarios) |
Please try 9.4.4-SNAPSHOT located at the maven snapshot repository We've been making improvements to the threading as a result of Issue #1440 , and these have proven useful for the Windows specific load scenarios as well. |
Tried 9.4.4-SNAPSHOT (jetty-distribution-9.4.4-20170405.091100-9), but unfortunately got the same results. |
Hi joakime, I am new to the Jetty server .Currently i am deploying my application using jetty . please find the below server spec i am also facing the same issue in Linux environment with Jetty 9.4.1 which Consumes 100% CPU once started the jetty server. please find the attached thread dump file Thread details CPU details Please let me know how to resolve this issue asap. Thanks |
Can you please retry with Jetty-9.4.4 as we believe several issues that could have caused your problem have been fixed since 9.4.1 |
This is not reproducible in latest Jetty 9.4.x series. |
I don't see it again by using 9.4.6.v20170531 |
I think this bug hit me hard when running Eclipse. Is there a way to upgrade the version of Jetty that an Eclipse instance uses? |
sorry, you will have to ask the eclipse folks, we have nothing to do with how it is used inside of eclipse |
Hi I've got the same problem, when very simple project (from the comment of related issue) after 2 hrs (+/- few minutes) got 100% CPU usage Env: Windows 10, jdk build 1.8.0_171-b11, tried also with jdk v71, v161 In debug there is next info, if compare data before and after CPU overhead: Any help on the problem? Or any advise what to debug else or try to change? |
There is a Java web-app that is running by Jetty 9.4.3.v20170317
After some minutes/hours of working, the web-app starts to use 100% CPU without any specific reason. Even when it is idle.
After profiling and getting thread-dumps, it seems that Jetty is the source of high CPU consumption.
So what is wrong with Jetty? is this a bug? (Please pay attention to the second image)
Below I list some evidences after profiling (using VisualVM) when CPU consumption reaches to 100%:
Running threads (CLICK to enlarge images):
CPU Sampler:
CPU Sampler-per thread:
Memory Sampler:
Process status (using processExplorer):
Process performance (using processExplorer):
The text was updated successfully, but these errors were encountered: