Set Permanently ulimit -n / open files in Arch
sudo nano /etc/sysctl.conf
fs.file-max = 65535 fs.inotify.max_user_watches = 524288
sudo sysctl -p
sudo nano /etc/security/limits.conf
# add following lines to it * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 root soft nproc 65535 root hard nproc 65535 root soft nofile 65535 root hard nofile 65535
sudo nano /etc/pam.d/common-session
# add this line to it session required pam_limits.so