From owner-freebsd-ports@FreeBSD.ORG Wed Feb 11 16:04:28 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256D81065674 for ; Wed, 11 Feb 2009 16:04:28 +0000 (UTC) (envelope-from werner@btr0x22.rz.uni-bayreuth.de) Received: from btr0xn-tx.rz.uni-bayreuth.de (btr0xn.rz.uni-bayreuth.de [132.180.8.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8966F8FC13 for ; Wed, 11 Feb 2009 16:04:27 +0000 (UTC) (envelope-from werner@btr0x22.rz.uni-bayreuth.de) Received: from localhost (localhost [127.0.0.1]) by btr0xn-tx.rz.uni-bayreuth.de (8.13.1/8.13.1) with ESMTP id n1BG4MSW018860; Wed, 11 Feb 2009 17:04:22 +0100 (MET) Received: from btr0xn-rx.rz.uni-bayreuth.de ([127.0.0.1]) by localhost (mailhub-out.uni-bayreuth.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18580-04; Wed, 11 Feb 2009 17:04:12 +0100 (MET) Received: from btruxe.rz.uni-bayreuth.de (btruxe [132.180.14.135]) by btr0xn-rx.rz.uni-bayreuth.de (8.13.1/8.13.1) with ESMTP id n1BG42f4018845; Wed, 11 Feb 2009 17:04:02 +0100 (MET) Message-ID: <4992F6F2.6010407@btr0x22.rz.uni-bayreuth.de> Date: Wed, 11 Feb 2009 17:04:02 +0100 From: Werner Griessl Organization: UNI Bayreuth RZ User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Andrea Venturoli References: <49928765.2010508@netfence.it> <367b2c980902110131ga3891a4jf9c07bebbd81e21@mail.gmail.com> <4992B45F.7010505@netfence.it> <4992B823.6090205@btr0x22.rz.uni-bayreuth.de> <4992C43B.2010000@netfence.it> In-Reply-To: <4992C43B.2010000@netfence.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at uni-bayreuth.de Cc: freebsd-ports@freebsd.org Subject: Re: Firefox locking and unkillable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: werner@btr0x22.rz.uni-bayreuth.de List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 16:04:28 -0000 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