-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dhaval,
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:192.168.4.5:8009
> ::ffff:192.168.4.5:36290 ESTABLISHED - tcp 0 0
> ::ffff:192.168.4.5:8009 ::ffff:192.168.4.5:41666 ESTABLISHED -
> tcp 0 0 ::ffff:192.168.4.5:8009
> ::ffff:192.168.4.5:52930 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEAREIAAYFAlE20t8ACgkQ9CaO5/Lv0PCUFQCePm1hhg3mCWbGkJGG+9lEABfK
ta0AnjgdEAzvm4DTDumQu7ydHlAY5Qwp
=aF7y
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|