Freeshell 打开文件限制增加到 25000
•
根据用户的实际需求,freeshell 打开文件数限制增加到 25000(原来是 9312),正常情况下应该够用了。
这个配置参考了 LUG 其他服务器的运行情况:sudo lsof -n | wc -l,blog 是 17000 左右,mirrors 是 10700 左右。 |
mirrors 服务器打开文件数 top 10:
3213 nginx
2331 console-k
1140 named
651 collectd
427 rsync
300 vsftpd
264 sshd
210 getty
160 mini-dins
131 bash
blog 服务器打开文件数 top 10:
(用户多,打开的 mysql 表自然多。php5-fpm 是 Debian 官方的,用于 freeshell 等;php-fpm 是自己编译的,用于 blog)
8815 mysqld
1890 php5-fpm
1790 php-fpm
800 ntop
770 named
387 nginx
355 uwsgi-pyt
232 python
220 python2.6
130 openvpn