You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Left over fifo files(/run/containerd/fifo) are not getting cleared up when a container stops/exits using nerdctl #4013
When a systemd service container stops, the fifo files under /run/containerd/fifo for the stopped/exited containers are not getting cleared up on a host, causing inode usage full.
And not seeing this behaviour when using nerdctl version v1.3.1 and containerd version v1.6.20 or v1.7.25
Steps to reproduce the issue
Start a container using nerdctl run and then stop and see if it's clears up the left over fifo file.
Describe the results you received and expected
When containers stops/exits using nerdctl, i would expect a fifo file associated with that containers will gets cleared up, doesn't have to clean it up manually.
What version of nerdctl are you using?
nerdctl: v1.7.6, but seeing the same issue even with latest versions.
@apostasie so cleanup is not happening for the self removing containers. So, this is something needs to be fixed right ? Because this functionality was working before in v1.3.1, but not exactly sure in which version this was changed though. We started seeing this behavior from v1.7.6 and above.
Activity
apostasie commentedon May 17, 2025
Notes:
Removing explicitly does clean-up the fifos.
Self-removing containers do not.
apostasie commentedon May 17, 2025
@AkihiroSuda tag
expert? It does not look like a trivial problem to fix.brahmini7632 commentedon Jul 8, 2025
@apostasie so cleanup is not happening for the self removing containers. So, this is something needs to be fixed right ? Because this functionality was working before in v1.3.1, but not exactly sure in which version this was changed though. We started seeing this behavior from v1.7.6 and above.
ningmingxiao commentedon Jul 9, 2025
/assign
ningmingxiao commentedon Jul 9, 2025
#4406 will fix
because forget to call closer
ningmingxiao commentedon Jul 11, 2025
can you try pr #4406 ? @brahmini7632