LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-23-2021, 02:20 AM   #1
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
Question NFS lockups, default read/write size too big?


I've had a persistent issue for a while where sometimes large copies or writes to a NFSv4 server would hang the client machine access to that disk (incl sync and reboot) and spam the network with retries. The logs on the server get filled with things like this:

Code:
svc: svc_tcp_read_marker nfsd RPC fragment too large: 1048808
Mount options are hard,nfsv4 and it never seems to give up and you have to power cycle or reset the client to recover.

Both client and server are using the same slackware64-current and although I use kernel.org kernels it's been a problem since I set it up so it's spanned many versions. It's currently nfs-utils-2.5.4 the server kernel is configured with only NFS version 4 support (no 4.x options).

I modified /etc/nfsmount.conf to set R|W|Bsize to 64K and it seems to have fixed it. I'm happy with that solution but I'm wondering if it either points to some package config issue that might be of interest to others or if it's just something local that doesn't matter (network, kernel config, etc).
 
Old 07-23-2021, 03:40 AM   #2
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Quote:
Originally Posted by notzed View Post

Mount options are hard,nfsv4 and it never seems to give up and you have to power cycle or reset the client to recover.

Both client and server are using the same slackware64-current and although I use kernel.org kernels it's been a problem since I set it up so it's spanned many versions. It's currently nfs-utils-2.5.4 the server kernel is configured with only NFS version 4 support (no 4.x options).
How long ago since you set it up? People have mentioned NFS issues in the kernel thread going back a bit over a month, the main issue most were having was solved a few versions later. But personally I continued to have serious NFS performance issues until 5.13.4 was released 2 days ago.

I have no idea if its related to your issues though. Seems as of late NFS issues and patches going through the kernel have been plentiful.
 
Old 07-23-2021, 05:41 AM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
NFS patches mailing list

https://lore.kernel.org/linux-nfs/
 
Old 07-23-2021, 10:22 PM   #4
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by avian View Post
How long ago since you set it up? People have mentioned NFS issues in the kernel thread going back a bit over a month, the main issue most were having was solved a few versions later. But personally I continued to have serious NFS performance issues until 5.13.4 was released 2 days ago.

I have no idea if its related to your issues though. Seems as of late NFS issues and patches going through the kernel have been plentiful.
Yeah it seems unusually busy of late, then again a lot of maintenance stuff seems unusually busy and with too many reverts for my liking.

I think I set it up about October last year so perhaps starting around 5.8.x going off filestamps in /boot/efi and i've tried most of the 5.x series since. I usually do big file operations on the server so I don't hit it very often so I can't say if it's just some kernels or all of those. I can't remember when i first saw it but do remember it first happened after a kernel upgrade -- but that could just be a coincidence due to the way I use it.

Apart from the hangs from the xfer size it's been ok enough but I don't have much in the way of expectations.
 
  


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
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
Reiserfs vs JFS base on Read, Re-read, Write, Re-write Hesi Linux - Desktop 1 03-19-2010 09:45 PM
Reiserfs vs JFS base on Read, Re-read, Write, Re-write Hesi Linux - Newbie 1 03-19-2010 04:08 AM
read/write,write/write lock with smbclient fails swatidas11 Linux - Networking 1 03-10-2010 12:27 PM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:43 AM.

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