千家信息网

redis启动笔记

发表于:2025-02-21 作者:千家信息网编辑
千家信息网最后更新 2025年02月21日,[root@bogon src]# ./redis-server 2660:C 01 Aug 09:54:43.846 # oO0OoO0OoO0Oo Redis is starting oO0OoO
千家信息网最后更新 2025年02月21日redis启动笔记
[root@bogon src]# ./redis-server 2660:C 01 Aug 09:54:43.846 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo2660:C 01 Aug 09:54:43.846 # Redis version=4.0.8, bits=64, commit=00000000, modified=0, pid=2660, just started2660: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 initialized2660: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 redisroot      2660  2249  0 09:54 pts/0    00:00:00 ./redis-server *:6379root      2676  2249  0 09:56 pts/0    00:00:00 grep --color=auto redis[root@bogon src]# [root@bogon src]# 
0