tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Rosenberg <>
Subject Strange thread behavior in tomcat/jboss 7
Date Wed, 06 Feb 2013 11:44:37 GMT

Ok this is not exactly the a JBoss list, even Remy is here, but the error
is obviously happening in the tomcat part of the Jboss, so I hoped to find
some help there, especially considering that I have much more
experience with you guys as with the jboss forums ;-)
We have a very weird issue, we are fighting with for about a week already.
We moved from a single machine environment into a more professional setup,
with hardware lb in front and have some issues.
Previous setup was : httpd (ssl offloading) -> jboss -> db
Now loadbalancer (ssl) -> jboss - db.

>From time to time we have a background process that consumes a lot of cpu
and lasts for some minutes. Occasionally the whole app would stop. By stop
I mean that the app is there, but reacting extremely slow. However, we
never have had more than 30% cpu usage (4 code virtual machine). What we do
see, is that we have almost 500 running http connector threads, however,
most of them are in, socket.write, and not within our code.

I started to take regular thread dumps, and wrote a little utility that
compares them, and I see that we have a lot of http connector threads that
remain in same state over multiple hours:

"http--" daemon prio=10 tid=0x0000000002efb800 nid=0x10b2
runnable [0x00007fca4fcbd000]
   java.lang.Thread.State: RUNNABLE
at Method)

We have 105 threads in this state over multiple hours.

Question: Could it be that we have connection leakage through keep-alive
connections? Is there are possibility to reduce them?
I understand that jboss have the same apache 11 connector, however all
extended configuration options are removed from the doc:

Maybe any other points?

Thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message