Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 7.4.5
-
Fix Version/s: 7.5.2
-
Component/s: None
-
Environment:Linux 2.6.32-25-server x86_64 GNU/Linux Ubuntu 10.04.3 LTS
java version "1.6.0_20" / Java(TM) SE Runtime Environment (build 1.6.0_20-b02) / Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
-
Number of attachments :
Description
After updating from jetty 6.1.x to jetty 7.4.5 I started to see 100% cpu(or 800% - 8 core machine) every time I try to use org.eclipse.jetty.server.bio.SocketConnector. Following is the config I'm using:
<New class="org.eclipse.jetty.server.bio.SocketConnector">
<Set name="host"><SystemProperty name="jetty.host" /></Set>
<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
<Set name="maxIdleTime">30000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
Changing back to org.eclipse.jetty.server.nio.SelectChannelConnector solves the problem, but I need to use SocketConnector because using SelectChannelConnector I frequently hit the JETTY-937 (I have a lot of mobile users and connections drop frequently, so I think it's the reason that I hit that problem so often).
running top right now