From owner-freebsd-current Sun Oct 14 15:48:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 8A0C737B405 for ; Sun, 14 Oct 2001 15:48:14 -0700 (PDT) Received: (qmail 12974 invoked by uid 0); 14 Oct 2001 22:48:13 -0000 Received: from pd9e165e8.dip.t-dialin.net (HELO forge.local) (217.225.101.232) by mail.gmx.net (mp020-rz3) with SMTP; 14 Oct 2001 22:48:13 -0000 Received: from tmm by forge.local with local (Exim 3.30 #1) id 15su3D-0001TU-00; Mon, 15 Oct 2001 00:48:07 +0200 Date: Mon, 15 Oct 2001 00:48:07 +0200 From: Thomas Moestl To: Ian Dowse Cc: Martin Blapp , Paul van der Zwan , freebsd-current@FreeBSD.ORG Subject: Re: Multiple NFS server problems with Solaris 8 clients Message-ID: <20011015004807.D449@crow.dom2ip.de> References: <20011014215919.S63907-100000@levais.imp.ch> <200110142138.aa70774@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110142138.aa70774@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Sun, Oct 14, 2001 at 09:38:26PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2001/10/14 at 21:38:26 +0100, Ian Dowse wrote: > > > >The last one is a know problem. There is a (unfinished) patch available to > >solve this problem. Thomas Moestl is still working on > >some issues of the patch. Please contact him if you like to know more. > > > >Here is the URL for the patch: > > > >http://home.teleport.ch/freebsd/userland/nfsd-loop.diff > > That patch is a bit out of date, because Peter removed a big chunk > of kerberos code from nfsd since. I was actually just looking at > this problem again, so I include an updated version of Thomas's > patch below. > > This version also removes entries from the children[] array when > a slave nfsd dies to avoid the possibility of accidentally killing > unrelated processes. > > The issue that remains open with the patch is that currently if a > slave nfsd dies, then all nfsds will shut down. This is because > nfssvc() in the master nfsd returns 0 when the master nfsd receives > a SIGCHLD. This behaviour is probably reasonable enough, but the > way it happens is a bit odd. > > Thomas, I'll probably commit this within the next few days if you > have no objections, and if you don't get there before me. The > exiting behaviour can be resolved later if necessary. Thanks! I've been meaning to update and commit this patch for quite some time, but was rather focused on sparc64 development recently when I had time. I also wanted to resolve this exiting behaviour before, but I agree that it is probably not a real issue. - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message