Too many open files….. Different with systemd

I had to address an issue recently of ‘too many open files’  on a Centos 7 host for a specific user.   In the past, pre systemd, it was easy to update /etc/security/limits.conf and just run sysctl -p, and the changes would take effect for the next user session.

Now under systemd, the command has changed to  systemctl restart systemd-sysctl.service.

Also, under Centos 7 and Fedora, /etc/sysctl.conf  has been replaced with multiple files in /usr/lib/sysctl.d/  If you need to make changes that would in the past be done the single file /etc/sysctl.conf

This entry was posted in Uncategorized. Bookmark the permalink.