-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Saurav,
On 11/13/19 10:19, Saurav Sarkar wrote: > Hi All, > > We invoke one service which runs on a OSGI Virgo based embeddable > tomcat servlet container. > org.eclipse.gemini.web.tomcat_2.2.6.RELEASE.jar is the version we > use. > > After sending some load to the service, it starts giving > "connection refused error". > > errno: 111 (Connection refused), error: Connection refused (local > port <port number> to address <ip> (<server name>), remote port > 8443 to address <ip>). > > I assume this is due to fact that the server socket has run out of > connections and is not accepting any any more connection because > this happens under heavy load testing. > > I would like to know how can i get more information on why > connection was refused ? > > Will tomcat log this and what is logged under this scenario ? or > does this reaches at all to tomcat and rather terminated at the OS > layer itself ? The connections are being refused by the OS's TCP/IP stack. Tomcat does not even know that these connections are being refused, so it cannot put anything in the logs. If you monitor your Tomcat instance[1], you should be able to see how many connections are in-flight and guess that you might be sometimes hitting your limit. - -chris [1] http://tomcat.apache.org/presentations.html#latest-monitoring-with-j mx -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl3ML3MACgkQHPApP6U8 pFh1EBAAhtUFRfSlsWdfHlcqrePQTV3wnVoNmJ3xQErZ4Cu26vM1Z6h+XhvvKxTw WGJkLxLBm+BO/D+rrXY+DRczVZSCx1PnXM4YgsTtiegvwFj4F1C3n1HQaIqLYttZ HSUh6iN06oFObDnNgQnkImx9l8QYB6snePoDM5fyQQaVdfJtm2yt8Ot+7TYJUZXW tavrc5+jkGcbr/tlwUehN2OI+u+lZcK+gme8GKT60dBbllcLQ/D5IFTmsk/6bTya iMvQ3NHPbji4J5hKxBYqMYB+wGoi7UljRusyOd4AQY8cbZ4UsuWrmWYb6yIAg6SW YuHdzKQh2uy8Lrvljn43Nh4RguKnxMVycsWjhsXVP1HzbkEo/RdPXlaM4tLAdQak y5A1ygb8Vlv1sYEzIYpsvgMdXO2eXSJ6UwvE+jC+Z+eKKrNMgBlYc0rS0f6KuCrB rRjqw0sSZVmoOERbNJfYHU8JqxUC1TTkx9bb9AX1S2BuR/jq/9cC2lZllzjqe6Uc P6kSavsW7r8CxB+pt6+GCG281Sa2tuednxeOXXom0liLmmRr8saWYd4H7zzMEGMq ifiiMTsHyoSfBeyV7Ncp23RswywFeWe86/IpU6CSdlx7tb3YEU9i0Wtwl9Vof4Fq nuQjVMznej/FCE+B156rLgwBUV5KWu5FM20R1cRdvmMJC+1AbUM= =ebmC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org