Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 17:04:02 +0100
From:      Werner Griessl <werner@btr0x22.rz.uni-bayreuth.de>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Firefox locking and unkillable
Message-ID:  <4992F6F2.6010407@btr0x22.rz.uni-bayreuth.de>
In-Reply-To: <4992C43B.2010000@netfence.it>
References:  <49928765.2010508@netfence.it>	<367b2c980902110131ga3891a4jf9c07bebbd81e21@mail.gmail.com> <4992B45F.7010505@netfence.it> <4992B823.6090205@btr0x22.rz.uni-bayreuth.de> <4992C43B.2010000@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Venturoli wrote:
> Werner Griessl ha scritto:
>
>> Start the rpc-lockd .
>> in /etc/rc.conf:
>> rpc_lockd_enable="YES"
>> then
>> /etc/rc.d/lockd start
>
>
>
> On the server I have:
>
> # cat /etc/rc.conf |grep rpc
> rpcbind_enable="YES"
> rpcbind_flags="-ls"
> rpc_statd_enable="YES"
> rpc_lockd_enable="YES"
>
> # ps ax|grep rpc
>   772  ??  Ss     0:04.55 /usr/sbin/rpcbind -ls
>   835  ??  Is     0:04.66 /usr/sbin/rpc.statd
>   841  ??  Ss     4:03.49 rpc.lockd: server (rpc.lockd)
>   879  ??  I      0:00.00 rpc.lockd: client (rpc.lockd)
>
>

Server here is a netapp, not a FBSD, but without rpc.lockd running, I 
had the same problems as you.


>
> On the client:
>
> # cat /etc/rc.conf |grep rpc
> rpcbind_enable="YES"
> rpcbind_flags="-ls"
> rpc_statd_enable="YES"
> rpc_statd_flags="-p 918"
> rpc_lockd_enable="YES"
> rpc_lockd_flags="-p 868"
>
> (Those -p are there to easy ipfw setup).

same here without the "flags"-lines
my fstab-line is with these flags:
tcp,rw,nfsv3,bg


>
> # ps ax|grep rpc
>   561  ??  Is     0:00.03 /usr/sbin/rpcbind -ls
>   597  ??  Ss     0:00.00 /usr/sbin/rpc.statd -p 918
>   603  ??  Ss     0:00.22 rpc.lockd: server (rpc.lockd)
>   611  ??  S      0:00.40 rpc.lockd: client (rpc.lockd)
>

  746  ??  Ss     0:00.01 /usr/sbin/rpcbind
  787  ??  Ss     0:00.01 /usr/sbin/rpc.statd
  794  ??  Is     0:00.00 /usr/sbin/rpc.lockd

my system is:
FreeBSD 7.1-STABLE FreeBSD 7.1-STABLE #0: Fri Jan 30 i386

>
>
> ipfw is not denying any of these packets.
> On the server side I see a lot of these in the logs:
>
>  rpcbind: connect from 10.1.2.18 to getport/addr(nlockmgr)
>
>
>
> NFS lockings seems to work fine for everythings else, ranging from KDE 
> to compiling some exotic ports.
>
>
> Is there any tool I can use to debug NFS locking?
>

don't know of special tools for nfs-debugging,
but i would try wireshark or tcpdump.
>
>  bye & Thanks
>     av.


Werner




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