> From: news [mailto:n...@ger.gmane.org] On Behalf Of R.P. Aditya > Subject: high cpu usage by thread > > doing a thread dump, I see: > "TP-Processor30" daemon prio=1 tid=0x00002aac610b5060 nid=0x27e7 > runnable [0x000000004a310000..0x000000004a324c10] > at > com.sun.faces.context.MyHttpServletRequestWrapper.getAttribute(External > ContextImpl.java:1006) > at > com.sun.faces.context.MyHttpServletRequestWrapper.getAttribute(External > ContextImpl.java:1011) > at > javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper. > java:82)
The rest of the stack trace will show where your webapp code is looping, doing repeated calls to the above. Fix that. > is there any way to time out or kill just that thread? No. > what about proactively limiting CPU usage by thread? Also not possible. Fix your code to not loop so much. - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org