Article ID: 118840, created on Nov 24, 2013, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Question

There are a lot of rpciod processes inside container:

[root@vz ~]# vzps auxf -E 100500 | grep rpciod
root         4  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/0]
root         5  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/1]
root         6  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/2]
root         7  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/3]
root         8  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/4]
root         9  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/5]
root        10  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/6]
root        11  0.0  0.0      0     0 ?        S    03:25   0:00  \_ [rpciod/100500/7]
...

Where do these processes come from?

Answer

rpciod is a kernel thread, responsible for processing RPC requests from any local client threads, sending them to the corresponding servers and dispatching the replies back to the requestors. Among others, it is used by NFS client software.

The daemon processes appear inside a container, if it has an enabled feature "nfs" in its configuration:

[root@vz ~]# grep nfs /etc/vz/conf/100500.conf
FEATURES="nfs:on"

This feature should be enabled to make it possible to mount NFS shares inside the container. By default it is disabled.

If there is no need in the NFS module, it can be disabled by this command:

[root@vz ~]# vzctl set 100500 --features "nfs:off" --save
[root@vz ~]# vzctl restart 100500

Additional information

NFS Client inside container
NFS Server inside container

Search Words

rpciod

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF