Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 04:40:18 GMT
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/97768: NFS rpc.lockd will die automatically
Message-ID:  <200605240440.k4O4eISL013511@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/97768; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@crodrigues.org>
To: Gea-Suan Lin <gslin@csie.nctu.edu.tw>
Cc: bug-followup@freebsd.org
Subject: Re: bin/97768: NFS rpc.lockd will die automatically
Date: Wed, 24 May 2006 00:35:43 -0400

 On Wed, May 24, 2006 at 12:19:48PM +0800, Gea-Suan Lin wrote:
 > >Description:
 > - rpc.lockd (uid = daemon) will die automatically on FreeBSD
 >   6.0-RELEASE-p7, this is ktrace/kdump log:
 > 
 >  58205 rpc.lockd CALL  sendto(0x7,0xbfbfd940,0x48,0,0,0)
 >  58205 rpc.lockd GIO   fd 7 wrote 72 bytes
 >        "<27>May 24 03:02:10 rpc.lockd: Unable to return result to 140.113.209.21"
 >  58205 rpc.lockd RET   sendto 72/0x48
 >  58205 rpc.lockd CALL  write(0x8,0xbfbfe680,0x20)
 >  58205 rpc.lockd RET   write -1 errno 32 Broken pipe
 >  58205 rpc.lockd PSIG  SIGPIPE SIG_DFL
 
 
 Does this patch to rpc.lockd help?
 
 ===================================================================
 RCS file: /home/ncvs/src/usr.sbin/rpc.lockd/kern.c,v
 retrieving revision 1.17
 diff -u -u -r1.17 kern.c
 --- kern.c      17 Nov 2005 12:19:19 -0000      1.17
 +++ kern.c      24 May 2006 04:25:05 -0000
 @@ -151,6 +151,7 @@
 
         signal(SIGHUP, (sig_t)client_cleanup);
         signal(SIGTERM, (sig_t)client_cleanup);
 +       signal(SIGPIPE, SIG_IGN);
 
         /* Setup. */
         (void)time(&owner.tod);
 
 -- 
 Craig Rodrigues        
 rodrigc@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605240440.k4O4eISL013511>