zoukankan      html  css  js  c++  java
  • Linux常见内核参数调整(file-max,...)

    # Controls the default maxmimum size of a mesage queue
    kernel.msgmnb = 65536

    # Controls the maximum size of a message, in bytes
    kernel.msgmax = 65536

    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736

    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 4294967296
    net.ipv4.conf.all.send_redirects = 0
    net.ipv4.conf.default.send_redirects = 0
    net.ipv4.conf.all.secure_redirects = 0
    net.ipv4.conf.default.secure_redirects = 0
    net.ipv4.conf.all.accept_redirects = 0
    net.ipv4.conf.default.accept_redirects = 0
    net.netfilter.nf_conntrack_max = 1000000
    kernel.unknown_nmi_panic = 0
    kernel.sysrq = 0
    fs.file-max = 1000000
    vm.swappiness = 10
    fs.inotify.max_user_watches = 10000000
    net.core.wmem_max = 327679
    net.core.rmem_max = 327679
    net.ipv4.conf.all.send_redirects = 0
    net.ipv4.conf.default.send_redirects = 0
    net.ipv4.conf.all.secure_redirects = 0
    net.ipv4.conf.default.secure_redirects = 0
    net.ipv4.conf.all.accept_redirects = 0
    net.ipv4.conf.default.accept_redirects = 0
  • 相关阅读:
    PHP基础介绍
    day96
    day95
    day94
    day93
    day93之微信推送
    22个必须知道的css技巧
    利用Js或Css滤镜实现IE6中PNG图片半透明效果 IE6PNG妥妥的
    dedecms调用日期格式化形式大全
    innerHTML动态添加html代码和脚本兼容性问题处理方法
  • 原文地址:https://www.cnblogs.com/lixuebin/p/10814393.html
Copyright © 2011-2022 走看看