tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: suddenly created many connections
Date Wed, 06 Mar 2013 05:23:43 GMT
Hash: SHA256


On 3/5/13 10:41 AM, Dhaval Jaiswal wrote:
> I have seen suddenly so many established connections like below on
> my system.
> There is http & tomcat both are running on the same machine.
> Previously it was not there. only last 3 days i am observing it.
> moreover since then i have installed nagios on the same server to
> measure the activity of the server.
> tcp        0      0 ::ffff:
> ::ffff: ESTABLISHED - tcp        0      0
> ::ffff:     ::ffff: ESTABLISHED - 
> tcp        0      0 ::ffff:
> ::ffff: ESTABLISHED -
> Can some one explain me.

Looks like you have Tomcat listening on a private interface to port
8009 (which is the default AJP/1.3 port) and another process on the
local machine is connected to it (most likely Apache httpd).

Did you know that AJP connections are intended to be (and, in a
default configuration, are) persistent? That means that if you forward
10 connections from httpd -> Tomcat, you will likely have 10
connections maintained between httpd -> Tomcat for a while -- a few
minutes probably.

All of this you can configure: just read the documentation for mod_jk
and the AJP connectors (remember: there are 3 of them: BIO, NIO, and APR).

> Yes, i have observed this behavior after installing nagios.

Did you notice different behavior before? Or are you only now noticing
that AJP connections are long-lived?

- -chris
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Thunderbird -


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

View raw message