美文网首页
linux  生产环境内核调优实例

linux  生产环境内核调优实例

作者: 今生缘来世孽 | 来源:发表于2017-07-20 11:25 被阅读72次

    net.ipv4.ip_forward=0

    net.ipv4.conf.all.rp_filter=1

    net.ipv4.conf.default.rp_filter=1

    net.ipv4.conf.default.accept_source_route = 0

    kernel.sysrq=0

    kernel.core_user_pid=1

    net.bridge.bridge-nf-call-ip6tables=0

    net.bridge.bridge-nf-call-iptables=0

    net.bridge.bridge-nf-call-arptables=0

    kernel.msgmnb=65535

    kernel.msgmax=65535

    kernel.shmmax=68719476736

    kernel.shmall=4294967296

    net.ipv6.conf.all.disable_ipv6=1

    net.ipv6.conf.default.disable_ipv6=1

    net.ipv6.neigh.default.gc_stale_time=120

    net.ipv6.conf.default.arp_announce=2

    net.ipv6.conf.all.arp_announce=2

    net.ipv6.conf.lo.arp_announce=2

    相关文章

      网友评论

          本文标题:linux  生产环境内核调优实例

          本文链接:https://www.haomeiwen.com/subject/rhudkxtx.html