Technical article 102402

I get the message "WARNING: nfs_iget(): rnode table overflow".

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

I get the message "WARNING: nfs_iget(): rnode table overflow".

Cause

The error occurs if an NFS client tries to access too many files simultaneously (including mount points, directories, and running binaries) in remote NFS-mounted filesystems.

The following entries in /etc/conf/sdevice.d/nfsd and /etc/conf/cf.d/mdevice cause 256 rnodes to be configured by default:

/etc/conf/sdevice.d/nfsd:
nfsd  Y    256     0      0      0      0      0      0     0
/etc/conf/cf.d/mdevice:
nfsd  oci     icbM    nfsd    84      84      83      256     -1

The NFSD_UNITS define is 256 in config.h which is used by /etc/conf/pack.d/nfs/space.c.

Solution

For Open Server/Desktop 3.0 or NFS 1.2.x: ------------------------------------------ Use netconfig to add more NFS connections. For detailed instructions on how to do this, see another article in this database titled "Increasing the number of sockets available in TCP/IP 1.2.1/ODT 3.0", IT TCPIP/297.

For OpenServer 5.x or NFS 2.x:
 ------------------------------------------
1. Log in as root on the client and run the scoadmin(ADM)
   Network Configuration Manager or netconfig(ADM).
2. Highlight SCO NFS Runtime System.

3. Select Modify protocol configuration from the Protocol menu.

4. Increase the number of NFS connections and click on OK.

5. Exit the Network Configuration Manager and select to relink the kernel when prompted.

6. Shut down and reboot the system for the change to take effect.

NOTE:     The rnode is where filesystem dependent information is stored for
           files located on an NFS filesystem.  Basically, when a file is
           referenced, an inode is allocated, NFS is called and it allocates an
           rnode and attaches it to the inode.  There is a 1-to-1 ratio between
           the inode and rnode for active files on an NFS filesystem.

The performance implications of adding rnodes depend on how much memory the machine has, usage, load, and other kernel tunables. To optimize system tuning, it is recommended that you use SCO Doctor or third party tuning products.

See also

IT NFS 76, "I receive error messages when I try to mount more than 256 filesystems" IT NFS 52, "NFS error, nfs_iget: rnode table overflow"

From the Xinuos technical article database, record 102402. Reproduced with permission. The original is at www.sco.com/ta/102402, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.