1. MagicESP
  2. Ubuntu Server 22.04
  3. Ubuntu Server Change Open Files Limits

Ubuntu Server Change Open Files Limits

Synonyms:
  1. ulimit

ulimit -a
sudo {{ texteditor.value }} /etc/security/limits.conf
*       soft    nofile  500000
*       hard    nofile  500000
root    soft    nofile  500000
root    hard    nofile  500000
*       soft    core    unlimited
*       hard    core    unlimited
root    soft    core    unlimited
root    hard    core    unlimited

How many files opened by {{ program.value }}

lsof -n -c {{ program.value }} | wc