nfs "storm"
Subsystems (2)
Hello.
On a Linux (2.4.21-rc7-xfs) fileserver running knfsd, I just experienced what I call a "nfs storm" : the NFS server was completely overloaded (load average of 11). Here is what top showed me during this overload.
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
299 root 9 0 0 0 0 SW 99.9 0.0 53:45 nfsd 301 root 18 0 0 0 0 SW 99.9 0.0 53:23 nfsd 302 root 10 0 0 0 0 RW 99.9 0.0 52:52 nfsd 304 root 12 0 0 0 0 DW 99.9 0.0 53:33 nfsd 297 root 17 0 0 0 0 RW 92.4 0.0 53:45 nfsd 303 root 14 0 0 0 0 DW 52.1 0.0 53:52 nfsd 300 root 9 0 0 0 0 SW 48.5 0.0 53:51 nfsd 298 root 9 0 0 0 0 DW 40.2 0.0 51:56 nfsd
I investigated things using tcpdump, and it showed me that *only one* of our linux 2.4.20 nfs clients running a particular application (with a lots of IO) was causing this overload. A strange thing was that the "rpciod" process on that client was not so heavy (around 1-2% CPU)...
The server is a Dual-Xeon 2.4Ghz, with 1GB of memory and SCSI3 disks, connected on a 100/FD switch. The client is connected on to the same switch. The NFS mounts are done through automount, and do not use any options. There are approximatively 50 NFS clients (SunOS & Linux), and 50 Windows stations (Samba shares) using this server, for home directories and shared applications.
What can I do to make this server less "overload-prone" ?
Many thanks in advance.
Signature · 11 lines
Nicolas ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs