1 year ago
#383135
Sebj
Tomcat never returns 503
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:
- How can I produce a 503 error locally with Tomcat?
- https://netflixtechblog.com/tuning-tomcat-for-a-high-throughput-fail-fast-system-e4d7b2fc163f
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?
java
performance
tomcat
tomcat9
http-status-code-503
0 Answers
Your Answer