#!/bin/bash # set ulimit limit() { echo "ulimit -SHn 102400" >>/etc/rc.local cat >> /etc/security/limits.conf << EOF * soft nofile 65535 * hard nofile 65535 EOF } # set sysctl sysctl() { cp /etc/sysctl.conf /etc/sysctl.conf-$(date +%F).bak ...
用户名:
密 码:
记住我