`java.io.IOException: Too many open files` in the controller log
AdvancedTroubleshootingController health, disk & upgrades
Answer
Likely causes → Low file descriptor limit for the Jenkins process, or a leak from a plugin keeping files/sockets open.
Diagnose → cat /proc/$(pgrep -f jenkins.war)/limits | grep 'open files' and ls /proc/<pid>/fd | wc -l; lsof -p <pid> | awk '{print $9}' | sort | uniq -c | sort -n | tail.
Fix → Raise limits (LimitNOFILE=65536 in systemd, container runtime ulimits); identify leaking files from lsof and update the plugin.
Prevent → Monitor open FDs.
More on Controller health, disk & upgrades
Controller crashes with `java.lang.OutOfMemoryError: Java heap space`IntermediateController pod restarts repeatedly: liveness probe failed: `Get "http://10.0.3.7:8080/login": context deadline exceeded`IntermediateJenkins UI shows `Jenkins is going to shut down` and new builds are not startingBeginner`JENKINS_HOME` volume is 98% fullBeginnerAfter an upgrade: `Running with Java 11, which is older than the minimum required version (Java 17).` and Jenkins won't startBeginnerUI is slow and the thread dump shows dozens of threads `BLOCKED` on `hudson.model.Queue`Advanced