Last active
November 26, 2020 13:49
-
-
Save sjmach/03bfaf5c7cb3167412d4bccf547455c4 to your computer and use it in GitHub Desktop.
Ejabber Server Sysctl Connections
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
| * Sysctl configuration, | |
| net.ipv4.ip_forward = 0 | |
| net.ipv4.conf.default.rp_filter = 1 | |
| net.ipv4.conf.default.accept_source_route = 0 | |
| kernel.sysrq = 0 | |
| kernel.core_uses_pid = 1 | |
| net.ipv4.tcp_syncookies = 1 | |
| kernel.msgmnb = 65536 | |
| kernel.msgmax = 65536 | |
| kernel.shmmax = 68719476736 | |
| kernel.shmall = 4294967296 | |
| net.ipv4.tcp_window_scaling = 1 | |
| net.ipv4.conf.all.arp_filter = 1 | |
| kernel.exec-shield=1 | |
| kernel.randomize_va_space=1 | |
| net.ipv4.conf.all.rp_filter=1 | |
| net.ipv4.conf.all.accept_source_route=0 | |
| net.ipv4.icmp_echo_ignore_broadcasts=1 | |
| net.ipv4.conf.all.log_martians = 1 | |
| net.ipv4.conf.all.accept_redirects = 0 | |
| net.ipv4.conf.all.send_redirects = 0 | |
| net.ipv4.conf.default.send_redirects = 0 | |
| net.ipv4.conf.all.secure_redirects = 0 | |
| net.ipv4.conf.default.accept_redirects = 0 | |
| net.ipv4.conf.default.secure_redirects = 0 | |
| net.ipv4.ip_local_port_range = 1000 65535 | |
| fs.file-max = 12000500 | |
| fs.nr_open = 20000500 | |
| net.ipv4.tcp_mem = 10000000 10000000 10000000 | |
| net.ipv4.tcp_rmem = 1024 4096 16384 | |
| net.ipv4.tcp_wmem = 1024 4096 16384 | |
| net.core.rmem_max = 16384 | |
| net.core.wmem_max = 16384 | |
| net.ipv4.tcp_max_syn_backlog = 10240000 | |
| net.ipv4.tcp_max_tw_buckets = 400000 | |
| net.ipv4.tcp_max_orphans = 60000 | |
| net.ipv4.tcp_synack_retries = 3 | |
| net.core.somaxconn = 10000 | |
| ==== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment