iNode exhaustion with Overlay2 driver!

By checking df -i I noticed that one CentOS 7 system ran out of iNodes again.
for i in /var/lib/docker/*; do echo $i; find $i |wc -l; done revealed that 92% of all iNodes are used by overlay2.
What can I do about this situation? There is certainly not much running on this host.

dock

host info:

Containers: 23
 Running: 13
 Paused: 0
 Stopped: 10
Images: 111
Server Version: 1.12.3
Storage Driver: overlay2
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.8.10-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.796 GiB
ID: KXJP:BJWS:XM3P:GJKI:VZMX:5TL5:E6DT:3OIJ:3REI:UT6V:OLWI:PCBP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
1 Like

I have the same problem with v18.09-ce on Debian “Stretch”.


Have you already resolved?