Systemctl command execution reports 'Too many open files' on Red Hat Enterprise Linux
Issue
- Every systemctl command throwing the
Too many open fileserror like below.
# systemctl restart rsyslog
Error : Too many open files
# systemctl restart crond
Error: Too many open files
- Increasing
fs.file-maxin/etc/sysctl.confto 32000000 andnofilein/etc/securities/limits.conffor all users from 1024 and 10240 also didn't helped.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.