0

I am experiencing some issues when my webapp is getting lots of simultaneous connections (ie. when the service is starting).
I am expecting at a certain level of charge to have tomcat answer that he can't take more, by answer an error with code 503.
I have read the documentation and understood (I hope) the usage of maxThreads, acceptCount and maxConnections.
I also read lots of posts:

but I was not able to reproduce a tomcat answering 503, even by setting maxThreads to 1.

As I find lots of posts on how to solve 503 issues, I am obviously missing something... Can anyone help?

Sebj
  • 1
  • 1
  • 1
    Try getting a thread dump of tomcat JVM to verify that maxThreads is in effect. – LMC Apr 06 '22 at 16:14
  • I activated JMX so I can observe what happens. I have a jmeter simulating 1000 users calling a webservice in loop. I have 117 live threads (DB thread pool, scheduled tasks...) but only 1 is a https-jsse-nio...exec, whereas I have up to 150 of them with default config (starting with 25). – Sebj Apr 06 '22 at 17:17

0 Answers0