/etc/sysctl.conf fs.file-max = 1048576 /etc/security/limits.conf * - nofile 1048576 /etc/profile ulimit -n 1048576