Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] long response time lead to high CPU in jetty when using httpd server in front and a short timeout setting

What version of Jetty?
And have you taken a few timed thread dumps during the high CPU situation to capture what specifically is looping?

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Thu, Jan 15, 2015 at 3:05 AM, Vicky Wu <xiwu@xxxxxxxxxx> wrote:
All,

I have a long response time CXF restful web service and I am using camel to expose this CXF endpoint. The response time is 2 mins.
At the same time I have the httpd as the front proxy while it has the setting timeout=60
<VirtualHost *:443>
...
      <Proxy balancer://cxfrs>
           BalancerMemberhttps://localhost:9292/demo/aaa  retry=10 timeout=60
      </Proxy>
      ProxyPass /demo/aaa balancer://cxfrs
...
</VirtualHost>

When I visit the service through the below command several times(3~5 times):

curl -k --user admin:adminhttps://localhost:443/demo/aaa

after several mins, I can see the high cpu in the jetty through "top" command and the jetty code is running in an infinite loop.

Would you please help on this issue?


--
Best Regards,
Xiaohui(Vicky) Wu

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top