1. kernel.sem = "250 32000 32 1024"
  2. net.core.netdev_max_backlog = 20000
  3. net.core.rmem_default = 262144
  4. net.core.rmem_max = 16777216
  5. net.core.somaxconn = 2048
  6. net.core.wmem_default = 262144
  7. net.core.wmem_max = 16777216
  8. net.ipv4.tcp_n_timeout = 15
  9. net.ipv4.tcp_max_orphans = 131072
  10. net.ipv4.tcp_max_syn_backlog = 16384
  11. net.ipv4.tcp_mem = "786432 2097152 3145728"
  12. net.ipv4.tcp_tw_reuse = 1
  13. net.ipv4.ip_forward = 1
  14. net.netlter.nf_conntrack_max = 524288
  15. net.bridge.bridge-nf-call-iptables = 1
  16. net.bridge.bridge-nf-call-ip6tables = 1
  17. net.ipv4.neigh.default.gc_thresh1 = 2048
  18. net.ipv4.neigh.default.gc_thresh2 = 4096
  19. net.ipv4.neigh.default.gc_thresh3 = 8192
  20. net.ipv4.tcp_max_orphans = 32768
  21. fs.inotify.max_user_watches = 1048576
  22. fs.may_detach_mounts = 1
  23. vm.dirty_background_ratio = 5
  24. vm.dirty_ratio = 10
  25. vm.swappiness = 0
  26. vm.max_map_count = 262144
  27. vm.panic_on_oom = 0
  28. kernel.pid_max=65535
  29. kernel.threads-max=65535
  1. #99-tke.conf
  2. kernel.sem = "250 32000 32 1024"
  3. net.core.netdev_max_backlog = 20000
  4. net.core.rmem_default = 262144
  5. net.core.rmem_max = 16777216
  6. net.core.somaxconn = 2048
  7. net.core.wmem_default = 262144
  8. net.core.wmem_max = 16777216
  9. net.ipv4.tcp_n_timeout = 15
  10. net.ipv4.tcp_max_orphans = 131072
  11. net.ipv4.tcp_max_syn_backlog = 16384
  12. net.ipv4.tcp_mem = "786432 2097152 3145728"
  13. net.ipv4.tcp_tw_reuse = 1
  14. net.ipv4.ip_forward = 1
  15. net.netlter.nf_conntrack_max = 524288
  16. net.bridge.bridge-nf-call-iptables = 1
  17. net.bridge.bridge-nf-call-ip6tables = 1
  18. fs.inotify.max_user_watches = 1048576
  19. fs.may_detach_mounts = 1
  20. vm.dirty_background_ratio = 5
  21. vm.dirty_ratio = 10
  22. vm.swappiness = 0
文档更新时间: 2023-06-07 10:45   作者:张尚