Categories
Cloud Coding DevOps Fedora

Failed unmounting /var/lib/docker

From time to time my desktop would hang when shutting down or rebooting it. Looking at the services output, I found this message: “failed unmounting /var/lib/docker” Although the reason is quite obvious, the root cause is not so easy to figure out. Also, it’s one of those scary situations where there’s simply not enough results […]

Categories
DevOps Fedora Linux

Too Many Open Files

If your containers suddenly stop working due to “Too Many Open Files”, you can adjust that with the DefaultLimitNOFILE on the SystemD configuration files /etc/systemd/user.conf and /etc/systemd/system.conf. Depending your system setup, you may need to adjust both. In my case I have, DefaultLimitNOFILE=16384:65535 for the user.conf file and DefaultLimitNOFILE=65535:524288 for the system.conf file. Reboot your […]

Categories
Coding DevOps

Automating shelving of Jenkins jobs