Welcome! Log In Create A New Profile

Advanced

Re: Requests being blocked client-side

Lee Valentine
April 16, 2014 05:04AM
Hi


On 16 April 2014 09:58, justink101 <nginx-forum@nginx.us> wrote:

> Maxim.
>
> Even after disabling SPDY and restarting nginx, still seeing the same
> behavior with requests blocking if another single request is outstanding in
> another tab.


Are you using php by any chance? I had a problem showing these exact same
symptoms last week. By default, php writes to files for sessions. When a
session is started, the file is locked by the current process and is only
released at the end of the request or if session_write_close() is called.
This will cause any requests in the same session to hang until the first
completes. The process in this instance that is blocking is php and not
nginx.

We got around this by storing the session in Redis instead of files.

Cheers,
Lee
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Requests being blocked client-side

justink101 April 11, 2014 12:45PM

Re: Requests being blocked client-side

Maxim Dounin April 11, 2014 02:42PM

Re: Requests being blocked client-side

justink101 April 16, 2014 04:58AM

Re: Requests being blocked client-side

Lee Valentine April 16, 2014 05:04AM

Re: Requests being blocked client-side

justink101 April 16, 2014 06:58PM

Re: Requests being blocked client-side

justink101 April 16, 2014 10:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready