BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / database / #10509同步于 2017/6/20
Database机器人发帖

redis shutdown问题

flymyheart
2017/6/20镜像同步0 回复
为什么我执行redis-cli shutdown后,终端下redis-server没响应,没有关闭?ps查看进程:仍然存在。是还需要需要配置地方么?查看log文件,有响应bye bye,但之后的日志是表示又启动了么? 另外,别的地方导出的rdb文件要在本地挂载的话,把他拷贝到dir的配置目录下就行?那本地的dump.rdb要另外备份? 求指教,查了下资料没太懂。 ``` /var/log/redis$ ps -e | grep redis 3651 ? 00:00:02 redis-server 4412 ? 00:00:00 redis-server ``` ``` 289 4370:M 20 Jun 22:33:37.392 # User requested shutdown... 290 4370:M 20 Jun 22:33:37.392 * Saving the final RDB snapshot before exitin 290 g. 291 4370:M 20 Jun 22:33:37.396 * DB saved on disk 292 4370:M 20 Jun 22:33:37.396 * Removing the pid file. 293 4370:M 20 Jun 22:33:37.396 # Redis is now ready to exit, bye bye... 294 4412:M 20 Jun 22:33:38.138 # You requested maxclients of 10000 requiring 294 at least 10032 max file descriptors. 295 4412:M 20 Jun 22:33:38.138 # Redis can't set maximum open files to 10032 295 because of OS error: Operation not permitted. 296 4412:M 20 Jun 22:33:38.138 # Current maximum open files is 4096. maxclie 296 nts has been reduced to 4064 to compensate for low ulimit. If you need h 296 igher maxclients increase 'ulimit -n'. 297 _._ 298 _.-``__ ''-._ 299 _.-`` `. `_. ''-._ Redis 3.0.6 (00000000/0) 64 bit 300 .-`` .-```. ```\/ _.,_ ''-._ 301 ( ' , .-` | `, ) Running in standalone mode ```
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。