bin/97768: NFS rpc.lockd will die automatically

Gea-Suan Lin gslin at csie.nctu.edu.tw
Fri May 26 01:21:48 PDT 2006


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


More information about the freebsd-bugs mailing list