Welcome! Log In Create A New Profile

Advanced

Re: acess log over nfs hanging

Maxim Dounin
February 14, 2014 06:50AM
Hello!

On Thu, Feb 13, 2014 at 03:42:22PM -0200, Guilherme wrote:

> Anton,
>
> I already had the same issue logging to NFS, but I'm curious about why
> nginx hang in some nfs failures. Log phase is the last, if there is no post
> action, so why nginx stop responding in some NFS failures?

Because NFS failures by default result in infinite blocking of any
process trying to access NFS shares. And nginx worker processes
will be blocked as well and won't be able to handle requests
anymore.

> Do you think
> that I can ease the situation tunning nfs client config, such as timeout
> and retrans ?

Some hints can be found here:

http://mailman.nginx.org/pipermail/nginx/2014-February/042107.html

Using "soft" mount option and small timeouts may help a bit. But
I wouldn't recommend using NFS if you want a service which is
expected to run independantly from your NFS server.

--
Maxim Dounin
http://nginx.org/

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

acess log over nfs hanging

Jader H. Silva February 07, 2014 11:30AM

Re: acess log over nfs hanging

Anton Yuzhaninov February 11, 2014 04:32AM

Re: acess log over nfs hanging

dannynoonan February 11, 2014 12:36PM

Re: acess log over nfs hanging

geberhart February 13, 2014 12:44PM

Re: acess log over nfs hanging

Maxim Dounin February 14, 2014 06:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
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