Skip to content

Instantly share code, notes, and snippets.

@darkrishabh
darkrishabh / gist:b9f5050ac40d280d2d0b9e7b7a1122b6
Created October 27, 2020 19:34 — forked from timperrett/gist:e6079101ae469822a9b2c8c1a46429aa
Increate max no of open files limit in Ubuntu 16.04 for Nginx
# maximum capability of system
user@ubuntu:~$ cat /proc/sys/fs/file-max
708444
# available limit
user@ubuntu:~$ ulimit -n
1024
# To increase the available limit to say 200000
user@ubuntu:~$ sudo vim /etc/sysctl.conf