From nobody@FreeBSD.org  Thu Apr 27 13:04:52 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 70D2616A401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Apr 2006 13:04:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3D2C443D49
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Apr 2006 13:04:52 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3RD4pHG081956
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Apr 2006 13:04:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3RD4pGN081954;
	Thu, 27 Apr 2006 13:04:51 GMT
	(envelope-from nobody)
Message-Id: <200604271304.k3RD4pGN081954@www.freebsd.org>
Date: Thu, 27 Apr 2006 13:04:51 GMT
From: MS Touzeau <mst@ai.univ-paris8.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 2  rpc.lockd launched at boot ? blocking problem
X-Send-Pr-Version: www-2.3

>Number:         96412
>Category:       conf
>Synopsis:       [rpc] 2 rpc.lockds launched at boot ? blocking problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 13:10:13 GMT 2006
>Closed-Date:    Sat Aug 28 10:40:40 UTC 2010
>Last-Modified:  Sat Aug 28 10:40:40 UTC 2010
>Originator:     MS Touzeau
>Release:        5.4
>Organization:
Universite Paris 8 Paris France
>Environment:
FreeBSD oueb.ai.univ-paris8.fr 5.4-RELEASE FreeBSD 5.4-RELEASE 

>Description:
After boot, 2 rpc.lockd run. Creating blocking problems i experienced
through webmail access with imap to a /var/mail spool nfs mounted from
an openbsd server

root@oueb> ps ax|grep lockd
  352  ??  Ss     0:00.00 /usr/sbin/rpc.lockd
  364  ??  I      0:00.00 /usr/sbin/rpc.lockd

If I kill 364, I have no more access problem with squirrelmail. If not,
it hangs, so does imapd. 

my rc.conf :

defaultrouter="192.33.156.254"
hostname="oueb.ai.univ-paris8.fr"
ifconfig_sk0="inet 192.33.156.200  netmask 255.255.255.0"
inetd_enable="YES"
linux_enable="YES"
moused_enable="YES"
nfs_client_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
nis_client_enable="NO"
apache22_enable="YES"
mysql_enable="YES"
mysql_limits="YES"
mysql_dbdir="/usr/local/var/db/mysql"

inetd.conf has :
pop2   stream  tcp     nowait  root    /usr/local/libexec/ipop2d   ipop2d
pop3   stream  tcp     nowait  root    /usr/local/libexec/ipop3d   ipop3d
imap   stream  tcp     nowait  root    /usr/local/libexec/imapd    imapd


When booting verbose only one rpc.lockd is started :
(output of verbose booting in log)

Apr 27 13:37:14 oueb kernel: Local ldconfig path: /usr/local/libdata/ldconfig/mysql
Apr 27 13:37:14 oueb kernel: Starting statd.
Apr 27 13:37:14 oueb rpc.statd: Starting
Apr 27 13:37:14 oueb kernel: Starting lockd.
Apr 27 13:37:14 oueb rpc.lockd: Starting
Apr 27 13:37:14 oueb kernel: Recovering vi editor sessions

no other rpc.lockd further on in the log file

I am stuck. Thanks for the help.

>How-To-Repeat:
Each time the machine boots
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sat Jan 26 01:38:14 UTC 2008 
State-Changed-Why:  
Can you confirm that this problem still exists? 

What I see on my 6.2R system here is the following: 

620  ??  Ss     0:02.62 rpc.lockd: server (rpc.lockd) 
629  ??  I      0:00.00 rpc.lockd: client (rpc.lockd) 

which is performing as expected. 


Responsible-Changed-From-To: freebsd-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 26 01:38:14 UTC 2008 
Responsible-Changed-Why:  
track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96412 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Aug 28 10:40:14 UTC 2010 
State-Changed-Why:  
Feedback timeout ( > 2 years). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96412 
>Unformatted:
