Skip to content

Instantly share code, notes, and snippets.

View saifat29's full-sized avatar

Saif Ali Khan saifat29

View GitHub Profile
@saifat29
saifat29 / gist:56ce067318f4e783cb60cc05ca7a96ec
Last active November 1, 2019 13:58 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
Increase max no of open files limit in Ubuntu 16.04/18.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