[jboss-user] [Performance Tuning] - Is there a way to solve this without cluster?

Michal Glowacki do-not-reply at jboss.com
Thu Oct 20 07:04:02 EDT 2011


Michal Glowacki [http://community.jboss.org/people/mglowacki] created the discussion

"Is there a way to solve this without cluster?"

To view the discussion, visit: http://community.jboss.org/message/632711#632711

--------------------------------------------------------------
I have a very powerful machine, with 80 cores and 32GB RAM, but when there is a traffic peak, it goes down. It hosts Apacje/JBoss/Postgres with deployed Seam web applications and EJB 3 for app. logic.

In thread dumps I see a lot of:
Thread: ajp-0.0.0.0-8009-14 : priority:5, demon:true, threadId:115, threadState:BLOCKED -
waiting on 0x7406ce55 (a java.util.WeakHashMap) org.jboss.naming.ENCFactory.getObjectInstance(ENCFactory.java:114)
and
Thread: ajp-0.0.0.0-8009-2 : priority:5, demon:true, threadId:103, threadState:BLOCKED 
- waiting on 0x672e12af (a java.util.HashMap) org.jboss.metadata.web.jboss.JBossWebMetaData.getRunAsIdentity(JBossWebMetaData.java:839)
and
Thread: ajp-0.0.0.0-8009-14 : priority:5, demon:true, threadId:115, threadState:BLOCKED 
- waiting on 0x7406ce55 (a java.util.WeakHashMap) org.jboss.naming.ENCFactory.getObjectInstance(ENCFactory.java:114)

As I understand, there is too many invocations of methods trying to access naming service. In Tomcat, I have set maxthreads on 8009 connector to 1200, however the dumps shows the problems starts when it's over 600-700.

I believe that setting up cluster should help, as the traffic will be distributed to several jboss instances. However, as I afraid cluster like a fire - is there anything more I can do?

Regards,
Michal
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/632711#632711]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111020/c133cedc/attachment.html 


More information about the jboss-user mailing list