Skip to content

Instantly share code, notes, and snippets.

View asimashfaq's full-sized avatar
🤜

Asim Ashfaq asimashfaq

🤜
  • Pakistan
View GitHub Profile
@asimashfaq
asimashfaq / gist:2821fc90a4d716e057f2a29021452a0a
Created August 30, 2018 06:11 — forked from luckydev/gist:b2a6ebe793aeacf50ff15331fb3b519d
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

Keybase proof

I hereby claim:

  • I am asimashfaq on github.
  • I am asimashfaq (https://keybase.io/asimashfaq) on keybase.
  • I have a public key ASD9b-jldwXAM5JsdAod41h4n6S15fWmI54Fysa2cNM9qwo

To claim this, I am signing this object: