Skip to content

Instantly share code, notes, and snippets.

View d1mf's full-sized avatar
🏠
Working from home

Dmytro Babyk d1mf

🏠
Working from home
View GitHub Profile
@d1mf
d1mf / gist:d1f0d823593aafa973ec06f025d332c3
Created March 20, 2021 15:21 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
Increate 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