Dzmitry Stremkouski | ad79046 | 2018-07-21 17:24:06 +0200 | [diff] [blame^] | 1 | classes: |
| 2 | - system.linux.system.single.simple |
| 3 | parameters: |
| 4 | linux: |
| 5 | system: |
| 6 | kernel: |
| 7 | modules: |
| 8 | - nf_conntrack |
| 9 | sysctl: |
| 10 | net.ipv4.tcp_keepalive_intvl: 3 |
| 11 | net.ipv4.tcp_keepalive_time: 30 |
| 12 | net.ipv4.tcp_keepalive_probes: 8 |
| 13 | fs.file-max: 124165 |
| 14 | net.core.somaxconn: 4096 |
| 15 | vm.swappiness: 10 |
| 16 | net.nf_conntrack_max: 1048576 |
| 17 | net.ipv4.tcp_retries2: 5 |
| 18 | net.ipv4.tcp_max_syn_backlog: 8192 |
| 19 | net.ipv4.neigh.default.gc_thresh1: 4096 |
| 20 | net.ipv4.neigh.default.gc_thresh2: 8192 |
| 21 | net.ipv4.neigh.default.gc_thresh3: 16384 |
| 22 | net.core.netdev_max_backlog: 261144 |
| 23 | net.ipv4.tcp_tw_reuse: 1 |
| 24 | kernel.panic: 60 |
| 25 | cpu: |
| 26 | governor: performance |
| 27 | limit: |
| 28 | default: |
| 29 | enabled: true |
| 30 | domain: "*" |
| 31 | limits: |
| 32 | - type: hard |
| 33 | item: nofile |
| 34 | value: 307200 |
| 35 | - type: soft |
| 36 | item: nofile |
| 37 | value: 307200 |
| 38 | - type: soft |
| 39 | item: nproc |
| 40 | value: 307200 |
| 41 | - type: hard |
| 42 | item: nproc |
| 43 | value: 307200 |
| 44 | systemd: |
| 45 | system: |
| 46 | Manager: |
| 47 | DefaultLimitNOFILE: 307200 |
| 48 | DefaultLimitNPROC: 307200 |