Getting ConnectTimeoutException/TimeOut from Azure App Server (P2V2) when putting a load of 3000req/second using tools like Gatling, Jmeter.

Davinder Singh 1 Reputation point
2020-05-27T09:57:14.033+00:00

I have deployed Spring boot rest API service (deployable - Jar) to Azure App service (one instance). This is a very simple API which is returning an in memory object. API itself takes 1 milliseconds as its returning an in memory object.

When I am putting a load of 3000req/seconds using Gatling/Jmeter. I am getting below timeout exceptions.

  1. i.g.h.c.i.RequestTimeoutException: Request timeout
  2. j.n.s.SSLException: handshake timed out
  3. i.n.c.ConnectTimeoutException: connection timed out

App server configs

Pricing tier : P2V2

OS: Linux

Runtime: JRE8

Note: This is a spring boot jar that is deployed with embedded tomcat. Tomcat max thread count is kept very high server.tomcat.max-threads=4000

server.tomcat.min-spare-threads=3000

So, I do not find any reason why I am getting the time out exceptions.

"Diagnose and solve problems" is not showing anything also.

Please help here.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joaquin Vano 76 Reputation points Microsoft Employee
    2020-05-27T21:03:28.147+00:00

    We probably need more information, I recommend you to open a support ticket, so we can investigate more about this problem.

    To create a support request in Azure:
    https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request