RE: controling resource and cpu hogging
> From: Caldarale, Charles R > Subject: RE: controling resource and cpu hogging > > > 2. be controlled (ie: throttle/cap a specific domain > > and/or WAR deployment in CPU consumption). > > I'm not aware of anything currently in Tomcat or the JVM that > will let you do this easily. You can, of course, run each suspect app in a separate instance of Tomcat. This will likely complicate your life more than it's worth, however. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: controling resource and cpu hogging
> From: hanasaki [mailto:[EMAIL PROTECTED] > Subject: controling resource and cpu hogging > > How can misbehaving deployed WAR's be identified and > 1. killed off (maybe an issue if they hold onto threads > or instance references when undeploy or stop is called) You can try a profiler or thread dump to determine where each thread is executing, but that's not a particularly easy or efficient way of identifying the problem. You can also use the built-in manager app to see if threads are active in any given application. > 2. be controlled (ie: throttle/cap a specific domain > and/or WAR deployment in CPU consumption). I'm not aware of anything currently in Tomcat or the JVM that will let you do this easily. However, JSR 284 (Resource Consumption Management API - http://jcp.org/en/jsr/detail?id=284) has recently been approved, which should address the issue. No idea when anyone will actually implement it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]