Welcome! Log In Create A New Profile

Advanced

Delay on nginx serving from backend

June 02, 2011 08:34AM
Dear Nginx community ,

I am running nginx 1.04 , ( also tried 1.0 ) , and the backend has an ejabber server serving http requests.

I am experiencing delays in requests being served when i serve the request via nginx , whereas serving the same request from the backend works without any delay .

On debugging , i can see that nginx received a response from backend within milliseconds but is not serving back the user with the response . there is a 5 second delay at this point . please find below the debug log just before and after the delay .

Debug Log is pasted here http://pastebin.com/S81ESzUz

Notice that there is no activity between
06:26:33 and 06:26:38

Can anyone explain what could cause this delay .

There is no network connectivity issue between nginx and upstream , as from the same machine when i connect directly to the backned result is received instantly .

I should be seeing a 400 request right away , but it takes 5-6 seconds for the request to come .
Subject Author Posted

Delay on nginx serving from backend

cacrus June 02, 2011 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready