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&...]