Comments on: Increase “Open Files Limit”. Solution for “Too many open files (24)” https://monodes.com/predaelli/2022/05/13/increase-open-files-limit-solution-for-too-many-open-files-24/ A civil engineer with a longlife fondness for Software Libero Sat, 21 May 2022 20:46:06 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Paolo Redaelli https://monodes.com/predaelli/2022/05/13/increase-open-files-limit-solution-for-too-many-open-files-24/#comment-25716 Sat, 21 May 2022 20:46:06 +0000 https://monodes.com/predaelli/?p=9377#comment-25716 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

]]>