- Xshell 4 (Build 0113)
- Copyright (c) 2002-2012 NetSarang Computer, Inc. All rights reserved.
- Type `help' to learn how to use Xshell prompt.
- Xshell:\>
- Connecting to 192.168.7.7:22...
- Connection established.
- To escape to local shell, press 'Ctrl+Alt+]'.
- Last login: Tue Sep 25 17:44:54 2012 from 192.168.7.2
- [root@Cacti ~]# ulimit -n
- 1024
- [root@Cacti ~]# vi /etc/security/limits.conf
- # /etc/security/limits.conf
- 最後添加:
- * soft nproc 11000
- * hard nproc 11000
- * soft nofile 65535
- * hard nofile 65535
- 保存後退出、重啓。
- "/etc/security/limits.conf" 55L, 1905C written
- [root@Cacti ~]# reboot
- Broadcast message from root@Cacti.Nagios
- (/dev/pts/0) at 9:22 ...
- The system is going down for reboot NOW!
- [root@Cacti ~]#
- Connection closed by foreign host.
- Type `help' to learn how to use Xshell prompt.
- Xshell:\>
- Connecting to 192.168.7.7:22...
- Connection established.
- To escape to local shell, press 'Ctrl+Alt+]'.
- Last login: Wed Sep 26 09:21:01 2012 from 192.168.7.36
- [root@Cacti ~]# ulimit -n
- 65535