LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2007, 09:12 AM   #1
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Rep: Reputation: 15
Problem with NFS mount during high load


I get a kernel message and a failed rsync when I copy files from nfs share A to nfs share B using rsync. The message is:

nfs: too small RPC reply size (0 bytes)

When I change to using UDP I get a server timeout instead.

Any ideas how I can fix this?

Thanks for your help,
Henrik Holst, Sweden.
 
Old 09-16-2007, 04:15 AM   #2
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
use the nfsstat command to look at nfs transactions, client and server statistics, network statistics. The "-o net" option will show you the number of dropped packets in relation to the total number of transactions.

check rsize and wsize, should be less than MTU.
 
Old 09-16-2007, 06:30 AM   #3
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soroccoheaven View Post
use the nfsstat command to look at nfs transactions, client and server statistics, network statistics. The "-o net" option will show you the number of dropped packets in relation to the total number of transactions.

check rsize and wsize, should be less than MTU.
You mean to mount with rsize=1400 if my MTU is 1500? Isn't that something that will give very poor performance? I tried it just now and the performance went down from 25-30 mb/s to 15-20 mb/s.

I will see in a few hours if it now is stable or not. I would actually like to have both performance and stability (of course!).

/Henrik Holst
 
Old 09-16-2007, 08:11 AM   #4
holst
LQ Newbie
 
Registered: Nov 2002
Location: Stockholm
Posts: 28

Original Poster
Rep: Reputation: 15
Angry

Quote:
Originally Posted by holst View Post
You mean to mount with rsize=1400 if my MTU is 1500? Isn't that something that will give very poor performance? I tried it just now and the performance went down from 25-30 mb/s to 15-20 mb/s.

I will see in a few hours if it now is stable or not. I would actually like to have both performance and stability (of course!).

/Henrik Holst
The errors are continuing to show up. Rsync stops and dmesg on the client which is copying from NFS server A to NFS server B shows:
Code:
nfs: server fs-6000.domain.org not responding, timed out
nfs: server fs-6000.domain.org not responding, timed out
Nothing shows up in the system log on the NFS servers.

When I look at the two NFS servers I see that they are not 100% loaded all the time (they are idle almost 100% a few seconds now and then.)

Also, the network utilization graph is not so funny
Code:
################################################################################
RX    MiB
    23.41 ...***................******........................**..****
    19.51 **.*****.........***.************..........**..***..********
    15.61 ********.........***.************..........*****************
    11.71 ********.........*****************.........*****************
     7.80 ********.........*****************.........*****************
     3.90 ********:*:*:.::******************:***::*:****************** [-0.46%]
          1   5   10   15   20   25   30   35   40   45   50   55   60 s
TX    MiB
    31.37 .*....*..........*.*............................*...........
    26.14 .**...**...*.....***................**..*...*.*****.........
    20.91 ***...**...*.....****.......***.**.***..*...*.*****.........
    15.68 ***...**.*.*...*.****.......**********..*..********.........
    10.46 ***..*******..********.....**************..********.........
     5.23 *************:***************************::***************** [-0.46%]
          1   5   10   15   20   25   30   35   40   45   50   55   60 s
################################################################################
 
Old 09-16-2007, 08:15 AM   #5
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
pls. see this ..might be helpful..NFS Performance
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 05:03 PM
Mandriva 2005 - e1000 high load problem? khoosys Linux - Networking 1 03-10-2006 01:39 PM
Mandriva 2005 - e1000 high load problem? khoosys Linux - Hardware 0 03-10-2006 05:44 AM
High server load problem eagletalontim Linux - General 5 01-12-2006 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration