rsyslog fails to start, debug logs show "Too many open files"
Issue
- rsyslog does not start
# systemctl status rsyslog.service
â rsyslog.service - System Logging Service
Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since Wed 2018-10-17 03:12:22 CST; 17min ago
Docs: man:rsyslogd(8)
http://www.rsyslog.com/doc/
Process: 78912 ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS (code=exited, status=1/FAILURE)
Main PID: 78912 (code=exited, status=1/FAILURE)
Oct 17 03:12:21 server systemd[1]: Failed to start System Logging Service.
Oct 17 03:12:21 server systemd[1]: Unit rsyslog.service entered failed state.
Oct 17 03:12:21 server systemd[1]: rsyslog.service failed.
Oct 17 03:12:22 server systemd[1]: rsyslog.service holdoff time over, scheduling restart.
Oct 17 03:12:22 server systemd[1]: start request repeated too quickly for rsyslog.service
Oct 17 03:12:22 server systemd[1]: Failed to start System Logging Service.
Oct 17 03:12:22 server systemd[1]: Unit rsyslog.service entered failed state.
Oct 17 03:12:22 server systemd[1]: rsyslog.service failed.
Environment
- Red Hat Enterprise Linux Server 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
