Amol Walanj [https://community.jboss.org/people/walanj.amol] created the discussion
"Re: High CPU Utilization" To view the discussion, visit: https://community.jboss.org/message/734226#734226 -------------------------------------------------------------- Hi , Thanks for quick reply. Its during the runtime when we fired the bulk orders. (Client with 20 threads) What I had observed from jconsole is , the tomcat threads (http-0.0.0.0-8080-*) are taking more time to complete. I had tried to find the top 5 threads consuming the CPU during this run using the shell script. The Partial O/P is as follows : | PID USER | PR NI VIRT RES SHR S %CPU %MEM | TIME+ COMMAND | | | 11935 sis | 15 0 6342m 3.7g 11m S *29.5* 47.0 0:10.37 java | | | *11681* sis | 15 0 6342m 3.7g 11m R *25.6* 47.0 0:27.65 java | | | 11662 sis | 15 0 6342m 3.7g 11m S *23.6* 47.0 0:31.89 java | | | 11682 sis | 15 0 6342m 3.7g 11m S *21.6* 47.0 0:31.34 java | | | 11663 sis | 15 0 6342m 3.7g 11m S *21.6* 47.0 0:33.84 java | Pasting here the thread Dump for one of the PID.The others dump also shows the same dump. ========> Java LWP: *11681* - Native Thread ID=2da1 "http-0.0.0.0-8080-15" daemon prio=10 tid=0x00002aaac0877000 nid=0x2da1 waiting on condition [0x0000000042e7f000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x0000000746df1920> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:842) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1178) at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186) at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262) at org.jboss.security.plugins.JBossAuthorizationManager.internalAuthorization(JBossAuthorizationManager.java:470) at org.jboss.security.plugins.JBossAuthorizationManager.authorize(JBossAuthorizationManager.java:125) at org.jboss.security.plugins.javaee.WebAuthorizationHelper.hasUserDataPermission(WebAuthorizationHelper.java:201) at org.jboss.web.tomcat.security.JBossWebRealm.hasUserDataPermission(JBossWebRealm.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:461) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036) at java.lang.Thread.run(Thread.java:662) Thanks, Amol -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/734226#734226] Start a new discussion in Performance Tuning at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
