On my CI servers the /run filesystem fills up (slowly, but it gets there). The culprit is /run/udev/data, which contains around 380k files. 378k of this files are of the form “
+cgroup:files_cache(8503011:buildrod-kball-bts)”. All the entries seem to have in common that their name consists of some container I once started and an ever changing number. It is not only files_cache, there are a couple of other cgroups as well like
A cuple of questions:
- Any idea what causes this problem and how to fix it? The www suggested “
rm -rf” and “
udevadm info --cleanup-db”
- What exactly is the “udev database” that lives in /run/udev/data?
Some information about the system:
- Ubuntu 18.04
- Custom realtime kernel 4.9
- lxd 3.0.3
The system creates a new container for every build, runs the build inside the container and then throws the container away.