The following guide can help you optimize your Ubuntu server in order to be able to support a high number of requests, without reaching any of the defaults limits. It is not meant for security, only performance. After configurations are done, please reboot your server. Tune global limits add to /etc/sysctl.d/999-perf.conf fs.file-max=1048576 fs.inotify.max_user_instances=1048576 fs.inotify.max_use