| Summary: | 100% CPU when doing nothing | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Ruben de Laat <ruben> |
| Component: | server | Assignee: | Greg Wilkins <gregw> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | behrmann, jetty-inbox, mgorovoy |
| Version: | 7.4.3 | ||
| Target Milestone: | 7.5.x | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Ruben de Laat
Created attachment 199474 [details]
Code used to run the testcase
Created attachment 199475 [details]
Test jsp file, prints 10.000 short strings to keep the CPU busy and create a substantial response
Created attachment 199476 [details]
Test jsp file, prints 10.000 short strings to keep the CPU busy and create a substantial response
Probably a duplicate of bug 351624. (In reply to comment #4) > Probably a duplicate of bug 351624. I can confirm that the threads in my case show the same stacktrace as posted in issue 351624. There is a new Thread Monitor tool in Jetty that has been developed over the past few weeks in attempt to automatically detect spinning and deadlocked threads on a live Jetty instance. This tool is part of the jetty-monitor module that can be added to your maven project as follows. <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-monitor</artifactId> <version>7.5.0-SNAPSHOT</version> </dependency> Alternatively, you could download the snapshot directly here: http://goo.gl/cGJo1 For instructions on how to run this tool, please see README.txt file located here: http://goo.gl/UmZ4N It would be great if you could run the Thread Monitor on your instance of Jetty and attach the log file collected after running the tool to bug 351624. -Michael *** This bug has been marked as a duplicate of bug 351624 *** |