nfsd and CPU/performance problem



My nfs server is chewing to much CPU even when nobody writes
to nfs partition. The clients are RHES4. I don't know much about
nfs but I followed the steps in handbook. Look:

last pid: 43588; load averages: 0.46, 0.77, 0.81
28 processes: 1 running, 27 sleeping
CPU states: 0.0% user, 0.0% nice, 2.4% system, 0.2% interrupt, 97.4% idle
Mem: 9520K Active, 204M Inact, 142M Wired, 12K Cache, 112M Buf, 1648M Free
Swap: 4071M Total, 4071M Free

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"
#######################

/etc/exports
###########################################
/nfs -alldirs 10.3.12.71 10.3.12.72
###########################################
--
One cannot sell the earth upon which the people walk
Tacunka Witco
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • rpc-srv/tcp: nfsd: sent only -107 bytes (fwd)
    ... Currently running 64 NFS daemons. ... Kernel 2.4.21-32.0.1.EL.XFSsmp is the kernel recompiled from same ... Two NFS clients running 2.4.21-37.ELsmp, namely fnpcg, fngp-osg. ... NFS mailing list archives suggested to increase the number of NFSD, ...
    (Linux-Kernel)
  • NFS UDP fast server slow client problems
    ... Fast NFS server causing SLOW NFS reads on Tru64 clients ...
    (Tru64-UNIX-Managers)
  • Re: [BUG] NFS with multiple clients connected
    ... Starting with 2.6.16 i started noticing that when having more than one of the clients doing a lot of in/out on their mounted nfs shares at list one of then starts to to have problems when writing files. ... RPC: ... The problem appears only when 2 diskless computers run apt-get in parallel so i suspect something related to bad file descriptors,maybe apt is reading / writing / moving it's status files too quick. ...
    (Linux-Kernel)
  • Re: Distro with NFS Root Clients
    ... This would be for clients ... running full desktop distributions that use their local disks just for ... single NFS repository. ... But if you're not married to the use of NFS for root, ...
    (comp.os.linux.setup)
  • Re: Filesystem monitoring question
    ... server as a directory. ... A number of SMB and NFS clients, around 30, will need to write to this ... Writing to the directory is 24/7 since some clients VPN into the network ...
    (freebsd-hackers)