NFS mount fails with 'Cannot allocate memory'

Solution Verified - Updated -

Issue

We are seeing intermittent failures of the automounter when mounting NFS file systems. Enabling automounter debugging logs memory allocation errors.

Feb 12 09:30:08 server automount[1234]: do_spawn: >> mount.nfs: Cannot allocate memory
Feb 12 09:40:44 server automount[1234]: do_spawn: >> mount.nfs: Cannot allocate memory
Feb 12 09:40:44 server automount[1234]: do_spawn: >> mount.nfs: Cannot allocate memory
Feb 12 10:02:01 server automount[1234]: do_spawn: >> mount.nfs: Cannot allocate memory

Environment

Red Hat Enterprise Linux 9

  • kernel-5.14.0-503.38.1.el9_5.x86_64
  • kernel-5.14.0-570.16.1.el9_6.x86_64
  • NFS version 4.0 or 3.0

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