Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344035 - long stack trace
Summary: long stack trace
Status: RESOLVED INVALID
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 15:36 EDT by Tore Halset CLA
Modified: 2011-05-06 02:00 EDT (History)
1 user (show)

See Also:


Attachments
a very long stack trace (81.47 KB, text/plain)
2011-04-27 17:04 EDT, Tore Halset CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tore Halset CLA 2011-04-27 15:36:04 EDT
Build Identifier: jetty-distribution-7.3.0.v20110203

Our jetty is behind a apache httpd using mod_proxy. Some times we observe very high cpu usage with not much traffic. Typically 300-600% cpu. The site is still responsible and usable. Using jstack -l show very strange stack traces. See attached stack trace as an example.

Reproducible: Sometimes

Steps to Reproduce:
have not found a way to reproduce. it happens after the server has been running for some time
Comment 1 Tore Halset CLA 2011-04-27 17:04:45 EDT
Created attachment 194215 [details]
a very long stack trace
Comment 2 Greg Wilkins CLA 2011-05-06 02:00:17 EDT
Wow,

that is quiet a big stack trace!!!!!

but I don't see anything there that suggests that it is a jetty problem.  The issue appears to be with

 com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)

which is dispatching again and again and again.    Jetty appears to be handling all those dispatches correctly, so the question is why is faces making all those dispatches.

I suggest raising an issue with the faces project and see what they have to say.  It could well be a jetty issue at the bottom of it, but we will need the faces people to analyse what is happening so they can tell us what the issue is.