-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Larry,
On 9/2/15 3:54 PM, Cohen, Laurence wrote: > We have a webserver and an appserver, and the webserver talks to > the appserver on port 8007. Every once the communication will > stop, and we will notice an error on the webserver saying that it > can't talk to the appserver. When this happens, I will run a > netstat -an |grep 8007 on the appserver, and there are hundreds of > connections to that port. When I restart the app, it will be back > to about 10 connections, and they will start growing again. > > I'm trying to figure out why they are growing so quickly, and why > they aren't dying when the connection is no longer needed. My guess is that the number of connections coming from httpd and the number of connections allowed to Tomcat don't match up. How many web servers? How many back-end Tomcats? Which connector are you using? If w = # of httpd instances c = # of total httpd threads then you need w * c connections allowed in all of your Tomcats (see <Connector> attribute maxConnections. Another possibility is that the connection timeouts on httpd (mod_jk connect_timeout, in ms) versus Tomcat (<Connector> connectionTimeout, in ms) are not the same. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJV52BfAAoJEBzwKT+lPKRYPKkP/AlnFjGxvPJPyjw3vhjDowiZ NS2vKKQZiQfzW/xqn30cbE3HJheC+7vL+ErhqCBlehZmuoFngaLiT5fpR2cPvwaM XdKB5xa7HJ/vOIBqY2vLwM0cYuqAMgYHP+MFpwGJyi3ezoyf0cn+D78y9HPJIOta K04BrKm5ZRlxMqtuCeGdP/hdT59H8X+S2XLzJ5oug8090TCHqDOmnz+tzR9BDe6o c0GgzdXTs+EweGgaq57V9dNaZl/GnrMkkDDhqS2AyEPhG7kjVKELQ0Rx2cbSGvLG EoAincsN3tMNx5vG/ZfHLf93qwB2jfqCMVnedMg7urOTtDDH8aDFhuixDxzUhHwL iulppCeeMEy8UpQV5KOLeqcww+OXZz+uLHPhP+vvqBMVhBt6Sxh1JlckqthBb3KH fc1rztloe+iw9ehVFX1654/zgVKkj77FtNZcc4bU+KGYoQmIb1fdGSfNBTTd6OTS eU1IHkb0GTsUkMa4/RZn9WhQ6r+ya8ZZL0RqtZB3nZgOr3tY2dO/aXFTu01S1meR 8wUvPEN/0bYgKMjV4qCWnpYEUdw8K9FmAphqEQThzy+4NlhfUDG7vvg+LqvTkAzt gS1S3pV6LPK2fBjKUbShLwJW3dCvEGu016oMiLHEpwBFVEC8WWl7sIV3SgZXqNZP 1k/PoTnoLV3KFsBhKKbr =lCAl -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org