Advertisement
filpano

confs

Oct 30th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. /etc/sysctl.conf entries:
  2.  
  3. fs.file-max=500000
  4. net.core.somaxconn = 8192
  5. net.ipv4.tcp_max_tw_buckets = 500000
  6. net.ipv4.conf.default.arp_filter = 1
  7. net.ipv4.conf.all.arp_filter = 1
  8. net.ipv4.neigh.default.gc_thresh1 = 4096
  9. net.ipv4.neigh.default.gc_thresh2 = 8192
  10. net.ipv4.neigh.default.gc_thresh3 = 8192
  11. net.ipv4.neigh.default.base_reachable_time = 86400
  12. net.ipv4.neigh.default.gc_stale_time = 86400
  13. net.ipv4.tcp_tw_reuse = 1
  14.  
  15. /etc/security/limits.conf entries:
  16.  
  17. * soft nproc 102400
  18. * hard nproc 102400
  19. * soft nofile 102400
  20. * hard nofile 102400
  21.  
  22. ulimit -n 100000 > /dev/nul 2>&1
  23. ulimit -u 100000 > /dev/nul 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement