Mantis - Resin
|Viewing Issue Advanced Details|
|ID:||Category:||Severity:||Reproducibility:||Date Submitted:||Last Update:|
|2428||minor||always||02-12-08 05:33||03-26-08 16:51|
|ETA:||none||Fixed in Version:||3.1.6|
|Summary:||0002428: Generate thread dump when CPU usage is high.|
Resin could output a thread dump automatically when the CPU usage of a server exceeds a threshold for a certain period of time.
Additional cleverness would be to check the garbage collector.
If CPU usage is high, sample 30 times over a period of 30 seconds, and
record CPU usage for each sample and whether or not the garbage collector
is active. If the CPU usage is high for all samples, output a message if the
garbage collector is the suspected problem, and in any case produce a thread
Resin should probably not automatically exit based on CPU information only, the <ping> facility covers that case.
|Steps To Reproduce:|
|There are no notes attached to this issue.|