Kernel Crash when copying large files over NFS

From Linux NFS

Jump to: navigation, search


  • Kernel version:,,
  • Bug 16056
  • Reported by: Leszek Urbanski (May 26, 2010)
  • Fixed by: Trond Myklebust (July 30, 2010)
  • Arch: amd64
  • NFS v3 client.


  • Copy large file to an NFS-mounted filesystem.
    • larger than the amount of available physical memory
  • swapper and rpciod on the client complain about page allocation failures.
  • kswapd goes into a deadlock, resulting in a system-wide crash.
  • Crash on UDP and TCP mounts


commit b608b283a962caaa280756bc8563016a71712acf
Author: Trond Myklebust <>
Date:   Fri Jul 30 15:31:54 2010 -0400

    NFS: kswapd must not block in nfs_release_page
    If other processes are blocked waiting for kswapd to free up some memory so
    that they can make progress, then we cannot allow kswapd to block on those
    Signed-off-by: Trond Myklebust <>
Personal tools