1、查看redis内存情况
info Memory
2、查看redis大key
redis-cli -p [port] -a [password] --bigkeys
3、查看当前连接数
INFO CLIENTS
4、查看Redis最大连接数
CONFIG GET MAXCLIENTS
5、设置最大连接数
redis-server --maxclients 100000
注:在2.6之后版本,可以修改最大连接数配置,默认10000,可以在redis.conf配置文件中修改
maxclients 10000
6、查看超时配置
config get timeout
7、设置超时配置
config set timeout 600