Skip to content

Instantly share code, notes, and snippets.

View dmytrobazeliuk-devops's full-sized avatar
🏠
Working from home

Dmytro Bazeliuk dmytrobazeliuk-devops

🏠
Working from home
View GitHub Profile
@dmytrobazeliuk-devops
dmytrobazeliuk-devops / 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