源问题(1)
在bin目录中开启redis服务器,完整提示如下:
Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
7178:M 11 Dec 00:51:04.350 * Increased maximum number of open files to 10032 (it was originally set to 1024).
解决:
#查看系统限制
[root@centos224]# ulimit -a
#设置“open files”数量
[root@centos224]# ulimit -n 10032
#或者设置用户限制
[root@centos224]# vi /etc/security/limits.conf