首页 > 其他 > 详细

redis启动笔记

时间:2018-08-01 11:35:04      阅读:273      评论:0      收藏:0      [点我收藏+]
[root@bogon src]# ./redis-server 2660:C 01 Aug 09:54:43.846 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2660:C 01 Aug 09:54:43.846 # Redis version=4.0.8, bits=64, commit=00000000, modified=0, pid=2660, just started 2660:C 01 Aug 09:54:43.846 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf _._ _.-``__ ‘‘-._ _.-`` `. `_. ‘‘-._ Redis 4.0.8 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ‘‘-._ ( ‘ , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|‘` _.-‘| Port: 6379 | `-._ `._ / _.-‘ | PID: 2660 `-._ `-._ `-./ _.-‘ _.-‘ |`-._`-._ `-.__.-‘ _.-‘_.-‘| | `-._`-._ _.-‘_.-‘ | http://redis.io `-._ `-._`-.__.-‘_.-‘ _.-‘ |`-._`-._ `-.__.-‘ _.-‘_.-‘| | `-._`-._ _.-‘_.-‘ | `-._ `-._`-.__.-‘_.-‘ _.-‘ `-._ `-.__.-‘ _.-‘ `-._ _.-‘ `-.__.-‘ 2660:M 01 Aug 09:54:43.849 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 2660:M 01 Aug 09:54:43.849 # Server initialized 2660:M 01 Aug 09:54:43.849 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1‘ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1‘ for this to take effect. 2660:M 01 Aug 09:54:43.849 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. 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 be restarted after THP is disabled. 2660:M 01 Aug 09:54:43.849 * Ready to accept connections ^Z [1]+ Stopped ./redis-server [root@bogon src]# [root@bogon src]# [root@bogon src]# [root@bogon src]# ps -ef|grep redis root 2660 2249 0 09:54 pts/0 00:00:00 ./redis-server *:6379 root 2676 2249 0 09:56 pts/0 00:00:00 grep --color=auto redis [root@bogon src]# [root@bogon src]#

redis启动笔记

原文:http://blog.51cto.com/357712148/2153019

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!