Date: Fri, 26 May 2006 16:21:46 +0800 From: Gea-Suan Lin <gslin@csie.nctu.edu.tw> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: gslin@csie.nctu.edu.tw, freebsd-bugs@FreeBSD.org Subject: Re: bin/97768: NFS rpc.lockd will die automatically Message-ID: <20060526082146.GA40188@gslin.org> In-Reply-To: <200605252215.k4PMFSXj085498@freefall.freebsd.org> References: <200605252215.k4PMFSXj085498@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello sir,
Today we found uid=root rpc.lockd dead, the reason is SIGPIPE too.
After checking your patch, I found signal(SIGPIPE, SIG_IGN); only
affect uid=daemon rpc.lockd (because it runs after fork()), so maybe
you should put signal() before fork() ?
This is uid=root rpc.lockd ktrace log:
52573 rpc.lockd GIO fd 3 read 64 bytes
0x0000 4470 bafd 0000 0000 0000 0002 0001 86b5 0000 0004 |Dp..................|
0x0014 0000 000c 0000 0000 0000 0000 0000 0000 0000 0000 |....................|
0x0028 0000 0010 e1e1 0000 73b3 7644 c426 0900 0300 0000 |........s.vD.&......|
0x003c 0000 0000 |....|
52573 rpc.lockd RET recvfrom 64/0x40
52573 rpc.lockd CALL write(0x6,0xbfbfe150,0x20)
52573 rpc.lockd RET write -1 errno 32 Broken pipe
52573 rpc.lockd PSIG SIGPIPE SIG_DFL
On Thu, May 25, 2006 at 10:15:28PM +0000, Craig Rodrigues wrote:
> Synopsis: NFS rpc.lockd will die automatically
>
> State-Changed-From-To: open->patched
> State-Changed-By: rodrigc
> State-Changed-When: Thu May 25 22:13:45 UTC 2006
> State-Changed-Why:
> Fixed in CURRENT, will MFC to RELENG_6.
>
>
> Responsible-Changed-From-To: freebsd-bugs->rodrigc
> Responsible-Changed-By: rodrigc
> Responsible-Changed-When: Thu May 25 22:13:45 UTC 2006
> Responsible-Changed-Why:
> Fixed in CURRENT, will MFC to RELENG_6.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=97768
--
* Gea-Suan Lin (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them. -- Harry S Truman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060526082146.GA40188>
