|Anonymous | Login | Signup for a new account||09-21-2023 05:19 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000944||[Resin]||minor||always||02-16-06 10:50||03-27-06 11:41|
|Summary||0000944: thread pile-up on log|
(rep by Bill Au)
This is resin pro 3.0.17 with SUN JDK 1.5.0_06 running on
32-bit RedHat Enterprise Linux 4.
We have a problem when all of a sudden the threads count in
the JVM goes through the roof. Enclosed are two JVM threads
dump taken 10 seconds apart. In each one there are close to
400 threads waiting on a lock in AccessLog.log().
The same thread is holding the lock in the both dumps was it
had been running for at least 10 seconds when the dumps were
taken. Is there any way to get around this? The high threads
count is causing OutOfMemoryError as we are running out of stack
space for all the threads:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
We are using the default stack size (-Xss1m). Not sure if we
can reduce it. Doing so may just delay the problem. We need to
fix the bottleneck for the threads pile-up.
|That lock has been removed and the access log write synchronization has been modified to avoid the deadlock.|
|02-16-06 10:50||ferg||New Issue|
|03-27-06 11:41||ferg||Note Added: 0000945|
|03-27-06 11:41||ferg||Status||new => closed|
|03-27-06 11:41||ferg||Resolution||open => fixed|
|03-27-06 11:41||ferg||Fixed in Version||=> 3.0.19|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.|
25 unique queries executed.