首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >linux redis 数据丢失 服务没有重启 DB saved on disk后 数据就没了?

linux redis 数据丢失 服务没有重启 DB saved on disk后 数据就没了?

提问于 2019-04-23 11:48:17
回答 0关注 1查看 1.4K

7464:C 23 Apr 11:23:14.195 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

7464:C 23 Apr 11:23:14.195 # Redis version=4.0.1, bits=64, commit=00000000, modified=0, pid=7464, just started

7464:C 23 Apr 11:23:14.195 # Configuration loaded

7465:M 23 Apr 11:23:14.203 # Not listening to IPv6: unsupproted

_._

_.-``__ ''-._

_.-`` `. `_. ''-._ Redis 4.0.1 (00000000/0) 64 bit

.-`` .-```. ```\/ _.,_ ''-._

( ' , .-` | `, ) Running in standalone mode

|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379

| `-._ `._ / _.-' | PID: 7465

`-._ `-._ `-./ _.-' _.-'

|`-._`-._ `-.__.-' _.-'_.-'|

| `-._`-._ _.-'_.-' | http://redis.io

`-._ `-._`-.__.-'_.-' _.-'

|`-._`-._ `-.__.-' _.-'_.-'|

| `-._`-._ _.-'_.-' |

`-._ `-._`-.__.-'_.-' _.-'

`-._ `-.__.-' _.-'

`-._ _.-'

`-.__.-'

7465:M 23 Apr 11:23:14.204 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

7465:M 23 Apr 11:23:14.204 # Server initialized

7465:M 23 Apr 11:23:14.204 # 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.

7465:M 23 Apr 11:23:14.204 * DB loaded from disk: 0.000 seconds

7465:M 23 Apr 11:23:14.204 * Ready to accept connections

7465:M 23 Apr 11:35:04.781 * DB saved on disk

7465:M 23 Apr 11:35:04.797 * DB saved on disk

7465:M 23 Apr 11:35:04.814 * DB saved on disk

7465:M 23 Apr 11:35:04.827 * DB saved on disk

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档