NFS ls -l or stat (GETATTR) stalls while write is in progress

Solution Verified - Updated -

Issue

  • NFS getattr hangs while write is in progress
  • nfs_getattr() hangs during heavy write workloads
  • NFS: ls stalls when big files are written
  • While simultaneous writes to nfs share are going on, "ls -l" or other commands hang on getattr(), the processes remain in D state till the writes are over.
  • ls command hangs during heavy write workloads on NFS mounts
  • NFS clients using RHEL5.x shows a pause during heavy I/O

Environment

  • Red Hat Enterprise Linux 5, 6, 7, 8, 9, and later
  • NOT Red Hat Enterprise Linux 4 [NFS Client]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content