Welcome! Log In Create A New Profile

Advanced

Re: Nginx fails to accept new connection if active worker crashes

November 15, 2011 06:37AM
Hi Andrew

Thanks for the prompt reply.

As a temporary fix I had created a variable in the shared memory to track which pid is holding the mutex so that the check in [https://svn.nginx.org/nginx/browser/nginx/trunk/src/os/unix/ngx_process.c?annotate=blame#L503] works. It works fine for me, hadnt realized I could switch it off. Are we talking about putting "accept_mutex off" in the nginx.conf file? It will be great if you could explain what that will actually do, as in, how will the new requests be handed off to workers.

Best Regards
+Fasih
Subject Author Posted

Nginx fails to accept new connection if active worker crashes

faskiri.devel November 15, 2011 02:32AM

Re: Nginx fails to accept new connection if active worker crashes

Andrew Alexeev November 15, 2011 04:16AM

Re: Nginx fails to accept new connection if active worker crashes

faskiri.devel November 15, 2011 06:37AM

Re: Nginx fails to accept new connection if active worker crashes

Andrew Alexeev November 15, 2011 08:28AM

Re: Nginx fails to accept new connection if active worker crashes

faskiri.devel November 16, 2011 03:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 41
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready