View Complete Thread
  • 504 Gateway Timeout with RequestAquireState

    Nov 12, 2019 07:45 PM|email2saga|LINK

    This is the application flow, during the peak traffic time we are getting loads of 504 gateway timeout error at Client end.
    Client->API Gateway->GSLB->AWS Instances with WCF Service (IIS 8.5, .Net 4.5)->Web Server
    Tried debugging the AWS instances and see there are lots of request hanging in the Worker Process, tried to recycle them and it again queues them.
    CPU and Memory remains less than 30% all the time.
    Updated the below settings and no luck....
    1. DefaultConnectionLimit = 200
    2. serviceThrottling maxConcurrentCalls=32&maxConcurrentSessions=200&maxConcurrentInstances=232
    Each AWS Instance has 2 CPU and 8 GB RAM.
    Appreciate all your help !!!