Affects Version/s: 4.1.2, 4.1.5
Fix Version/s: 4.1.6
Environment:JDK 1.5.0_14 64 bit, Tomcat 5.5.26
We recently migrated from Tapestry 3 to Tapestry 4.1.2 and are experiencing severe performance problems with mediocre load.
At some point our servers start creating new threads until the Tomcat reaches the maximum of 500 live threads. When examining the thread dump, we find one thread holding a lock at the GenericKeyedObjectPool, while hundreds of other threads are waiting to aquire just this lock.
It seems the locking thread is constructig a page from a synchronized context and needs some time to do so, and this leads to the complete application locking up in no time. See the threaddump attached.
We already tried an upgrade to commons-pool 1.4 with no real effect.
|Summary||Possible Performance Bottleneck in PageSource.makeObject()||Possible performance bottleneck in PageSource.makeObject()|
|Affects Version/s||4.1.5 [ 12312935 ]|
|Assignee||Marcus Schulte [ mschu ]|
|Fix Version/s||4.1.6 [ 12312957 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12435690 ]||Default workflow, editable Closed status [ 12567260 ]|
|Workflow||Default workflow, editable Closed status [ 12567260 ]||jira [ 12589989 ]|