Large amount of 'rpc.statd --no-notify' processes spawn and trigger mount.nfs Input/output error
Issue
- Periodically
rpc.statdspawns additional processes with the--no-notifyflag, so many of these processes bind to existing sockets that it causes new mounts to fail when they too attempt to bind to a socket. Themount.nfscommand fails with:
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed
- When filer is being taken over, I see rpc.statd spawned off with --no-notify option.
Eg.
...
rpcuser 312 0.0 0.0 30524 2556 ? Ss Aug19 0:00 rpc.statd --no-notify
rpcuser 340 0.0 0.0 30524 2556 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 646 0.0 0.0 30524 2552 ? Ss Aug21 0:00 rpc.statd --no-notify
rpcuser 750 0.0 0.0 30524 2556 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 856 0.0 0.0 30524 2548 ? Ss Aug21 0:00 rpc.statd --no-notify
rpcuser 903 0.0 0.0 30524 2552 ? Ss Aug22 0:00 rpc.statd --no-notify
rpcuser 950 0.0 0.0 30524 2556 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 1044 0.0 0.0 30524 2544 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 1172 0.0 0.0 30524 2548 ? Ss Aug21 0:00 rpc.statd --no-notify
rpcuser 1182 0.0 0.0 30524 2548 ? Ss Aug21 0:00 rpc.statd --no-notify
rpcuser 1270 0.0 0.0 30524 2552 ? Ss Aug21 0:00 rpc.statd --no-notify
rpcuser 1291 0.0 0.0 30524 2552 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 1298 0.0 0.0 30524 2556 ? Ss Aug22 0:00 rpc.statd --no-notify
rpcuser 1345 0.0 0.0 30524 2560 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 1349 0.0 0.0 30524 2544 ? Ss Aug20 0:00 rpc.statd --no-notify
rpcuser 1402 0.0 0.0 30524 2556 ? Ss Aug22 0:00 rpc.statd --no-notify
Once you have many runaway rpc.statd processes, the new mount attempt will fail. (I saw many bind() calls trying to acquire new address but complain about address in use.
Environment
- Red Hat Enterprise Linux 6.5
- 2.6.32-431.el6.x86_64
- nfs-utils-1.2.3-39.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
