One Reply to “Increase “Open Files Limit”. Solution for “Too many open files (24)””

  1. That “nasty” gnome-shell kept having 1024. So searching for more info I found https://bbs.archlinux.org/viewtopic.php?id=208658 where oconnor663 suggested to create /etc/systemd/system.conf.d/nofile.conf with

    [Manager]
    DefaultLimitNOFILE=65536

    So I issued sudo grep -r NOFILE /etc/

    /etc/systemd/user.conf:#DefaultLimitNOFILE=
    /etc/systemd/system.conf:#DefaultLimitNOFILE=1024:524288

    Bingo!
    man systemd-user.conf informed me that the default is 1024! So I changed /etc/systemd/user.conf listing

    DefaultLimitNOFILE=50000:524288

    Let’s see if it fixes it

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.