Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. # tcpip
  2. net.ipv4.tcp_mem = 8388608 12582912 16777216
  3. net.ipv4.udp_mem = 8388608 12582912 16777216
  4. net.ipv4.tcp_rmem = 409600 8738000 629145600
  5. net.ipv4.tcp_wmem = 409600 1638400 419430400
  6. net.core.wmem_default = 21299200
  7. net.core.rmem_default = 21299200
  8. net.core.wmem_max = 21299200
  9. net.core.rmem_max = 21299200
  10. net.core.netdev_max_backlog = 100000
  11. net.ipv4.udp_rmem_min = 409600
  12. net.ipv4.udp_wmem_min = 409600
  13.  
  14. # add arp cache mem
  15. net.ipv4.neigh.default.gc_thresh1 = 2048
  16. net.ipv4.neigh.default.gc_thresh2 = 4096
  17. net.ipv4.neigh.default.gc_thresh3 = 8192
  18.  
  19. # set port range
  20. net.ipv4.ip_local_port_range = 16000 59001
  21.  
  22. # max open files
  23. fs.file-max = 100000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement