Last active
January 22, 2020 05:59
-
-
Save uzysjung/1a2350d337584da31b1b to your computer and use it in GitHub Desktop.
increase max connections in elasticbeanstalk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
01limits: | |
command: echo -e "#commands\nroot soft nofile 65536\nroot hard nofile 65536\n* soft nofile 65536\n* hard nofile 65536" >/etc/security/limits.d/custom.conf | |
02sysctl: | |
command: sysctl -w fs.file-max=131072 fs.nr_open=131072 net.ipv4.netfilter.ip_conntrack_max=131072 net.nf_conntrack_max=131072 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you approve this is still working for you?