Characteristic thread dump seems to have ~20 threads (the new default maximum) stuck in parseURI:

"RequestHandlerThread[#…]" Id=… Group=main RUNNABLE (in native)
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at java.net.SocketInputStream.read(SocketInputStream.java:182)
	at winstone.WinstoneInputStream.read(WinstoneInputStream.java:49)
	at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:27)
	at winstone.WinstoneInputStream.readLine(WinstoneInputStream.java:108)
	at winstone.HttpListener.parseURI(HttpListener.java:239)
	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:75)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Seems that perhaps Winstone is receiving socket connections which do not send any data. Setting a larger number of handler threads might merely cause this thread leak to not be encountered as quickly.

The fix of SECURITY-44 included a general Winstone update, so 1.480.x LTS users would also be affected.

Change By: Jesse Glick (06/Feb/13 11:16 PM)
Summary: jenkins v1.484 - Universally slow page load times Slow / hangs hung web UI in 1.483+ (stuck in parseURI)
Assignee: JulB4 Jesse Glick
Environment: 1.481+, also LTS updates with SECURITY-44
Priority: Major Critical
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to