Skip to content

Instantly share code, notes, and snippets.

View silashansen's full-sized avatar

Silas Hansen silashansen

View GitHub Profile
@silashansen
silashansen / gist:08bb935c0d165a35cf69cf5cbeb02cc5
Last active July 15, 2022 08:00 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
Nginx Increase max no of open files limit - Ubuntu 16.04
# 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