Details
Description
Tomcat seems to be getting into a thread-leak problem when having a fair amount of asynchronous ICEfaces Portlets on one single Portal page. Eventually it is running out of its 150 threads in the thread pool.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Priority | Blocker [ 1 ] | Critical [ 2 ] |
Jack Van Ooststroom
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Jack Van Ooststroom
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jack Van Ooststroom
made changes -
Fix Version/s | 1.7Beta1 [ 10121 ] | |
Affects Version/s | 1.7DR#3 [ 10112 ] | |
Priority | Major [ 3 ] | Blocker [ 1 ] |
Jack Van Ooststroom
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Jack van Ooststroom [ jack.van.ooststroom ] |
Jack Van Ooststroom
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15635 | Wed Jan 23 09:49:03 MST 2008 | jack.van.ooststroom | Fixed JIRA |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/ahs/src/com/icesoft/faces/async/servlet/ProcessHandler.java
|
The problem in this case was that when an incoming request was received put there was a pending request as well, the pending request was replaced by the new request without handling the pending request first, by replying with an empty response. This caused the pending request to get lost in the void, but holding on to a precious Tomcat thread.
Now the pending requests gets satisfied first with an empty response, thus releasing the Tomcat thread, and then the new incoming request is set as the new pending request. Marking this one as FIXED.