Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysctl.conf の秘伝のタレを作っておく #22

Closed
Goryudyuma opened this issue Oct 21, 2017 · 6 comments
Closed

sysctl.conf の秘伝のタレを作っておく #22

Goryudyuma opened this issue Oct 21, 2017 · 6 comments
Assignees
Milestone

Comments

@Goryudyuma
Copy link
Member

No description provided.

@fono09
Copy link
Member

fono09 commented Oct 21, 2017

fs.file-max = 65536
vm.swappiness = 0
net.ipv4.ip_local_port_range = 1024 65535
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 16777216
net.core.wmem_default = 16777216
net.core.optmem_max = 40960
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.core.netdev_max_backlog = 50000
net.ipv4.tcp_max_syn_backlog = 30000
net.ipv4.tcp_max_tw_buckets = 2000000
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.udp_rmem_min = 8192
net.ipv4.udp_wmem_min = 8192
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.log_martians = 0

@bgpat bgpat added this to the 事前準備 milestone Oct 21, 2017
@bgpat
Copy link
Member

bgpat commented Oct 21, 2017

net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1

ここはポート数足りなくなったら入れる

@Goryudyuma
Copy link
Member Author

あらかじめバックアップを取っておく

@Goryudyuma
Copy link
Member Author

@bgpat
Copy link
Member

bgpat commented Oct 21, 2017

あらかじめバックアップを取っておく

こっちかな?
#19

@bgpat
Copy link
Member

bgpat commented Oct 21, 2017

準備できたので閉じます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants