tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Installing APR based Apache Tomcat Native Library
Date Wed, 03 Feb 2016 21:15:01 GMT
Hash: SHA1


On 2/3/16 12:29 PM, Yuval Schwartz wrote:
> Thanks a lot. Comments below.
> On Wed, Feb 3, 2016 at 5:02 PM, Christopher Schultz < 
>> wrote:
> Try this. Before you are ready to shut down, take note of the pid
> of the JVM process. Then run this command:
> $ CATALINA_HOME/bin/ && sleep 2 && jstack [pid] >
> stack.txt
>> (Nice idea!) I performed this and it worked. What stood out was a
>> line in 2 http-apr-8080 threads: - locked <[some number]> (a 
>> Does this tell us something?

Can you post the rest of the stack trace?

> This should request a Tomcat shutdown and take a thread dump 2
> seconds later. If that doesn't work, adjust the sleep time until
> you get a good snapshot. You should see a thread with a name like 
> http-apr-8080-[#] that is doing something inside your application. 
> then its up to you to figure out why it's still running.
>> As far as I can tell, I only get this WARNING when my elastic
>> load balancer is pinging pages on my web app.

ELB usually uses HTTP keepalive, so that might be part of the issue.

> What is your connector configuration?
>> The connector element in $CATALINA_HOME/conf/server.xml looks
>> like this: <Connector port="8080" protocol="HTTP/1.1" 
>> connectionTimeout="20000" redirectPort="8443" /> (there is a
>> commented connector after it with an attribute of 
>> "executor=tomcatThreadPool"...but this is commented out).

So that's pretty much the default configuration. Good to know.

- -chris
Comment: GPGTools -
Comment: Using GnuPG with Thunderbird -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message