8981:M 24Dec 15:26:44.340 # You requested maxclients of 10000 requiring at least 10032max file descriptors.
8981:M 24Dec 15:26:44.340 # Server can't set maximum open files to 10032 because of OSerror: Operation not permitted.
8981:M 24Dec 15:26:44.340 # Current maximum open files is 4096. maxclients has beenreduced to 4064 to compensate for low ulimit. If you need higher maxclientsincrease 'ulimit -n'.
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 3.2.6 (00000000/0) 64 bit
8981:M 24Dec 15:26:44.376 # WARNING: The TCP backlog setting of 511 cannot be enforcedbecause /proc/sys/net/core/somaxconn is set to the lower value of 128.
8981:M 24Dec 15:26:44.376 # Server started, Redis version 3.2.6
8981:M 24Dec 15:26:44.377 # WARNING overcommit_memory is set to 0! Background save mayfail under low memory condition. To fix this issue add 'vm.overcommit_memory =1' to /etc/sysctl.conf and then reboot or run the command 'sysctlvm.overcommit_memory=1' for this to take effect.
8981:M 24Dec 15:26:44.377 # WARNING you have Transparent Huge Pages (THP) supportenabled in your kernel. This will create latency and memory usage issues withRedis. To fix this issue run the command 'echo never >/sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your/etc/rc.local in order to retain the setting after a reboot. Redis must berestarted after THP is disabled.
8981:M 24Dec 15:26:44.377 * Theserver is now ready to accept connections on port 16001
三、redis从库操作
tcp 0 0 10.0.0.189:57884 10.0.0.189:16001 ESTABLISHED 8996/redis-server 1
tcp 0 0 10.0.0.189:16001 10.0.0.189:57884 ESTABLISHED 8981/redis-server 1[l9]
[redis@Centos6~]$ cat log/16002/redis-slave.log
8990:S 24Dec 15:36:09.108 # You requested maxclients of 10000 requiring at least 10032max file descriptors.
8990:S 24Dec 15:36:09.108 # Server can't set maximum open files to 10032 because of OSerror: Operation not permitted.
8990:S 24Dec 15:36:09.108 # Current maximum open files is 4096. maxclients has beenreduced to 4064 to compensate for low ulimit. If you need higher maxclientsincrease 'ulimit -n'.
8990:S 24Dec 15:36:09.231 # WARNING: The TCP backlog setting of 511 cannot be enforcedbecause /proc/sys/net/core/somaxconn is set to the lower value of 128.
8990:S 24Dec 15:36:09.231 # Server started, Redis version 3.2.6
8990:S 24Dec 15:36:09.231 # WARNING overcommit_memory is set to 0! Background save mayfail under low memory condition. To fix this issue add 'vm.overcommit_memory =1' to /etc/sysctl.conf and then reboot or run the command 'sysctlvm.overcommit_memory=1' for this to take effect.
8990:S 24Dec 15:36:09.231 # WARNING you have Transparent Huge Pages (THP) supportenabled in your kernel. This will create latency and memory usage issues withRedis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled'as root, and add it to your /etc/rc.local in order to retain the setting aftera reboot. Redis must be restarted after THP is disabled.
8990:S 24Dec 15:36:09.231 * Theserver is now ready to accept connections on port 16002