virtiofsd process's fd keeps increasing, not decreasing
- The directory /mnt/a of the virtual machine container is mounted on /mnt/b of the host. At this time, the process of virtiofsd runs in the background of the host. Assuming that the pid of virtiofsd is 100,
- Then enter /mnt/a of the virtual machine container, and execute the ls or touch command on the terminal
- Execute ls -l /proc/100/fd on the host, and you will find that the file fd displayed by the ls or touch command just executed is not closed
hope to answer