銀河支付技術客服 - Dark Byte says to Ubuntu 台灣社群
kernel.panic = 1 kernel.pid_max = 60000 kernel.shmmax = 4294967296 kernel.shmall = 1073741824 kernel.core_pattern = core_%e vm.panic_on_oom = 1 vm.min_free_kbytes = 1048576 vm.vfs_cache_pressure = 250 vm.swappiness = 20 vm.dirty_ratio = 20 fs.file-max = 2048575 net.core.somaxconn = 65535 net.core.wmem_default = 8388608 net.core.rmem_default = 8388608 net.core.rmem_max = 76777216 net.core.wmem_max = 76777216 net.core.netdev_max_backlog = 65535 #net.ipv4.tcp_syncookies = 1 net.ipv4.conf.all.log_martians = 1 net.ipv4.conf.default.log_martians = 1 net.ipv4.conf.all.accept_source_route = 0 net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.default.accept_redirects = 0 net.ipv4.conf.all.secure_redirects = 0 net.ipv4.conf.default.secure_redirects = 0 net.ipv4.ip_local_port_range = 9000 60000 net.ipv4.ip_default_ttl = 64 net.ipv4.tcp_rmem = 4096 87380 8388608 net.ipv4.tcp_wmem = 4096 32768 8388608 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_max_syn_backlog = 60000 #net.ipv4.tcp_tw_recycle = 1 #net.ipv4.tcp_tw_reuse = 0 net.ipv4.tcp_timestamps = 0 net.ipv4.tcp_syn_retries = 3 net.ipv4.tcp_synack_retries = 3 net.ipv4.tcp_fin_timeout = 60 net.ipv4.tcp_keepalive_time = 300 net.ipv4.tcp_keepalive_probes = 2 net.ipv4.tcp_keepalive_intvl = 2 net.ipv4.tcp_max_orphans = 262144 net.ipv4.tcp_max_tw_buckets = 25000 net.ipv4.neigh.default.gc_thresh1 = 128 net.ipv4.neigh.default.gc_thresh2 = 512 net.ipv4.neigh.default.gc_thresh3 = 4096