From owner-freebsd-net@FreeBSD.ORG Tue May 23 13:52:03 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D96616A422 for ; Tue, 23 May 2006 13:52:03 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web36303.mail.mud.yahoo.com (web36303.mail.mud.yahoo.com [209.191.84.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 98BA343D49 for ; Tue, 23 May 2006 13:52:02 +0000 (GMT) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 75472 invoked by uid 60001); 23 May 2006 13:52:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vnWZQk0SavaPlA0iJqSeEFl023IFw6iWwpXREQVORmi3sb3OOSqvN2AdVXgSHCwmOk/jV8K7plGYd8Vzu5G2TlG7QiJkoZc57WKZNqC20cUPpPvo/v8msxyfKbFK9H4xzovJ6NHmeITOZlZzcev6+tY2ATEYxjSWdHPEQ7hkPps= ; Message-ID: <20060523135201.75470.qmail@web36303.mail.mud.yahoo.com> Received: from [213.227.206.11] by web36303.mail.mud.yahoo.com via HTTP; Tue, 23 May 2006 06:52:01 PDT Date: Tue, 23 May 2006 06:52:01 -0700 (PDT) From: Nash Nipples To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: nfsd and CPU/performance problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 13:52:03 -0000 Hi Marko, Actually i dont find that load critical. I think those lines well tell that actually the process is running 581m42s and now it utilizes 13.48% of available WCPU which is a long run and hopefully successfull if no nfs failures took place. Im pretty confident that FreeBSD wont let any bad things happen and will allocate the resources where it needs them the most and on time. I've googled for a few minutes and found this: http://mail-index.netbsd.org/netbsd-bugs/1994/09/28/0000.html which sounds like a "kernel tuning issue" if you have excluded nfsserver out of your kernel config last time u were compiling it. if you didnt just skip this part at this time. please make sure that the following lines do exist options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT or it can be this: http://lists.debian.org/debian-user/2002/08/msg02884.html which sounds like umm "daemon aging" issue. is there such thing? if yes, then i hope someone will share a hint on nfs server maintenance during a long run. I dont really think that restarting it on daily basis is a good thing to do can i see some more info on nfsd please? # ps -wux -p `pgrep nfsd` Sincerely, Nash Marko Lerota wrote: Marko Lerota writes: > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 429 root 1 4 0 1204K 820K - 0 581:42 13.48% nfsd > 430 root 1 4 0 1204K 820K - 0 10:37 0.00% nfsd > > Here is the config > rc.conf > ####################### > rpcbind_enable="YES" > portmap_enable="YES" > nfs_server_enable="YES" > nfs_server_flags="-u -t -n 4 -h 10.3.11.43" > mountd_flags="-r" > nfs_client_enable="YES" > ####################### My friend found the 'problem' but I'm not shure who's problem it is. The clients or the nfs servers. In the handbook section about NFS there is nothing about this. These options are added in rc.conf and server now works correctly. rpc_lockd_enable="YES" rpc_statd_enable="YES" But later in the handbook section: Figure 2-54. Network Configuration Lower-level The rpcbind(8), rpc.statd(8), and rpc.lockd(8) utilities are all used for Remote Procedure Calls (RPC). The rpcbind utility manages communication between NFS servers and clients, and is *required* for NFS servers to operate correctly. So I think this should be in the NFS section. Anyone? The clients are RedHatES4 and servers are FreeBSD 6.1 -- One cannot sell the earth upon which the people walk Tacunka Witco _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --------------------------------- Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice