Skip to contentSkip to conversation

nfs "storm", additionnal information

DISCUSSION Nicolas Kowalski 1 participant 1 message Jun 13, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Further investigation showed me that the knfsd processes seems to take an giant CPU percentage only when the user's quotas are exceeded:

- user 'foo' has a quota of 200MB max on /home/foo, and uses ~150MB.

- user "foo" launch an IO-heavy application.

- the application writes large amounts of data on /home/foo

=> knfsd on the server keeps cool

- when the foo's quotas are exceeded, the application does not check for it, and keeps writing data on /home/foo

=> knfsd on the server goes crazy

Here is what I can see using tcpdump:

15:24:27.914925 client > server: (frag 46149:924@7400) 15:24:27.915111 client > server: (frag 46149:1480@5920+) 15:24:27.915234 client > server: (frag 46149:1480@4440+) 15:24:27.915368 client > server: (frag 46149:1480@2960+) 15:24:27.915480 client > server: (frag 46149:1480@1480+) 15:24:27.915603 client.2734922064 > server.nfs: 1472 write [|nfs]
(frag 46149:1480@0+)
15:24:27.933821 server.nfs > client.2617481552: reply ok 120 writ e ERROR: Disc quota exceeded (DF)
15:24:27.934151 client > server: (frag 46150:924@7400) 15:24:27.934328 client > server: (frag 46150:1480@5920+) 15:24:27.934452 client > server: (frag 46150:1480@4440+) 15:24:27.934581 client > server: (frag 46150:1480@2960+) 15:24:27.934704 client > server: (frag 46150:1480@1480+) 15:24:27.934828 client.2751699280 > server.nfs: 1472 write [|nfs]
(frag 46150:1480@0+)
15:24:27.953074 server.nfs > client.2634258768: reply ok 120 writ e ERROR: Disc quota exceeded (DF)

The filesystems are XFS (CVS ~15 May), if this does matter.

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