Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat responding HTTP 503

I hosted my application, and doing some stress tests, I noticed that when shooting around 50 requests in parallel, the server responds HTTP 503.

What does this means? It may be some specific configuration limiting the number of requests from Tomcat?

Thanks.

like image 690
Rafael Orágio Avatar asked Jan 11 '12 19:01

Rafael Orágio


1 Answers

That typically just means you've run out of threads to handle the request. You could try increasing the maxThreads in your Tomcat server.xml file, or if you're using Apache HTTP server as a front end, you may need to configure your Connector to allow more connections.

like image 151
jbindel Avatar answered Oct 15 '22 07:10

jbindel