复制
收藏
提问
全网

[root@iZk5v06g1qie8303hd1wnrZ redis]# cat redis.log 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 26077:M 21 Jul 14:07:25.144 * Background saving started by pid 10485 10485:C 21 Jul 14:07:30.270 * DB saved on disk 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 26077:M 21 Jul 14:07:30.445 * Background saving terminated with success 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 17:45:52.164 * Background append only file rewriting started by pid 10836 26077:M 21 Jul 17:45:58.665 * AOF rewrite child asks to stop sending diffs. 10836:C 21 Jul 17:45:58.665 * Parent agreed to stop sending diffs. Finalizing AOF... 10836:C 21 Jul 17:45:58.665 * Concatenating 0.82 MB of AOF diff received from parent. 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite terminated with success 26077:M 21 Jul 17:45:58.818 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite finished successfully 26077:M 21 Jul 20:32:10.100 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 20:32:10.158 * Background append only file rewriting started by pid 11100 26077:M 21 Jul 20:32:17.242 * AOF rewrite child asks to stop sending diffs. 11100:C 21 Jul 20:32:17.242 * Parent agreed to stop sending diffs. Finalizing AOF... 11100:C 21 Jul 20:32:17.242 * Concatenating 1.80 MB of AOF diff received from parent. 11100:C 21 Jul 20:32:17.251 * SYNC append only file rewrite performed 11100:C 21 Jul 20:32:17.306 * AOF rewrite: 27 MB of memory used by copy-on-write 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite terminated with success 26077:M 21 Jul 20:32:17.476 * Residual parent diff successfully flushed to the rewritten AOF (0.07 MB) 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite finished successfully 26077:M 22 Jul 04:58:48.522 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 04:58:48.573 * Background append only file rewriting started by pid 16085 26077:M 22 Jul 04:58:53.990 * AOF rewrite child asks to stop sending diffs. 16085:C 22 Jul 04:58:53.991 * Parent agreed to stop sending diffs. Finalizing AOF... 16085:C 22 Jul 04:58:53.991 * Concatenating 0.94 MB of AOF diff received from parent. 16085:C 22 Jul 04:58:53.996 * SYNC append only file rewrite performed 16085:C 22 Jul 04:58:54.037 * AOF rewrite: 19 MB of memory used by copy-on-write 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite terminated with success 26077:M 22 Jul 04:58:54.112 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite finished successfully 26077:M 22 Jul 09:43:44.421 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 09:43:44.485 * Background append only file rewriting started by pid 16548 26077:M 22 Jul 09:43:51.201 * AOF rewrite child asks to stop sending diffs. 16548:C 22 Jul 09:43:51.201 * Parent agreed to stop sending diffs. Finalizing AOF... 16548:C 22 Jul 09:43:51.201 * Concatenating 5.24 MB of AOF diff received from parent. 16548:C 22 Jul 09:43:51.220 * SYNC append only file rewrite performed 16548:C 22 Jul 09:43:51.266 * AOF rewrite: 46 MB of memory used by copy-on-write 26077:M 22 Jul 09:43:51.400 * Background AOF rewrite terminated with success 26077:M 22 Jul 09:43:51.401 * Residual parent diff successfully flushed to the rewritten AOF (0.17 MB) 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 26077:M 22 Jul 11:49:34.735 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 11:49:34.792 * Background append only file rewriting started by pid 16998 26077:M 22 Jul 11:49:41.599 * AOF rewrite child asks to stop sending diffs. 16998:C 22 Jul 11:49:41.599 * Parent agreed to stop sending diffs. Finalizing AOF... 16998:C 22 Jul 11:49:41.599 * Concatenating 1.41 MB of AOF diff received from parent. 16998:C 22 Jul 11:49:41.606 * SYNC append only file rewrite performed 16998:C 22 Jul 11:49:41.648 * AOF rewrite: 21 MB of memory used by copy-on-write 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite terminated with success 26077:M 22 Jul 11:49:41.751 * Residual parent diff successfully flushed to the rewritten AOF (0.09 MB) 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite finished successfully 26077:M 22 Jul 12:56:09.636 * DB saved on disk 26077:M 22 Jul 13:00:53.058 * Starting automatic rewriting of AOF on 100

01d07cd40
3个月前
全网
文档
学术
百科
知识库
时间不限
自动

理解问题[root@iZk5v06g1qie8303hd1wnrZ redis]# cat redis.log 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 26077:M 21 Jul 14:07:25.144 * Background saving started by pid 10485 10485:C 21 Jul 14:07:30.270 * DB saved on disk 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 26077:M 21 Jul 14:07:30.445 * Background saving terminated with success 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 17:45:52.164 * Background append only file rewriting started by pid 10836 26077:M 21 Jul 17:45:58.665 * AOF rewrite child asks to stop sending diffs. 10836:C 21 Jul 17:45:58.665 * Parent agreed to stop sending diffs. Finalizing AOF... 10836:C 21 Jul 17:45:58.665 * Concatenating 0.82 MB of AOF diff received from parent. 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite terminated with success 26077:M 21 Jul 17:45:58.818 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite finished successfully 26077:M 21 Jul 20:32:10.100 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 20:32:10.158 * Background append only file rewriting started by pid 11100 26077:M 21 Jul 20:32:17.242 * AOF rewrite child asks to stop sending diffs. 11100:C 21 Jul 20:32:17.242 * Parent agreed to stop sending diffs. Finalizing AOF... 11100:C 21 Jul 20:32:17.242 * Concatenating 1.80 MB of AOF diff received from parent. 11100:C 21 Jul 20:32:17.251 * SYNC append only file rewrite performed 11100:C 21 Jul 20:32:17.306 * AOF rewrite: 27 MB of memory used by copy-on-write 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite terminated with success 26077:M 21 Jul 20:32:17.476 * Residual parent diff successfully flushed to the rewritten AOF (0.07 MB) 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite finished successfully 26077:M 22 Jul 04:58:48.522 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 04:58:48.573 * Background append only file rewriting started by pid 16085 26077:M 22 Jul 04:58:53.990 * AOF rewrite child asks to stop sending diffs. 16085:C 22 Jul 04:58:53.991 * Parent agreed to stop sending diffs. Finalizing AOF... 16085:C 22 Jul 04:58:53.991 * Concatenating 0.94 MB of AOF diff received from parent. 16085:C 22 Jul 04:58:53.996 * SYNC append only file rewrite performed 16085:C 22 Jul 04:58:54.037 * AOF rewrite: 19 MB of memory used by copy-on-write 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite terminated with success 26077:M 22 Jul 04:58:54.112 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite finished successfully 26077:M 22 Jul 09:43:44.421 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 09:43:44.485 * Background append only file rewriting started by pid 16548 26077:M 22 Jul 09:43:51.201 * AOF rewrite child asks to stop sending diffs. 16548:C 22 Jul 09:43:51.201 * Parent agreed to stop sending diffs. Finalizing AOF... 16548:C 22 Jul 09:43:51.201 * Concatenating 5.24 MB of AOF diff received from parent. 16548:C 22 Jul 09:43:51.220 * SYNC append only file rewrite performed 16548:C 22 Jul 09:43:51.266 * AOF rewrite: 46 MB of memory used by copy-on-write 26077:M 22 Jul 09:43:51.400 * Background AOF rewrite terminated with success 26077:M 22 Jul 09:43:51.401 * Residual parent diff successfully flushed to the rewritten AOF (0.17 MB) 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 26077:M 22 Jul 11:49:34.735 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 11:49:34.792 * Background append only file rewriting started by pid 16998 26077:M 22 Jul 11:49:41.599 * AOF rewrite child asks to stop sending diffs. 16998:C 22 Jul 11:49:41.599 * Parent agreed to stop sending diffs. Finalizing AOF... 16998:C 22 Jul 11:49:41.599 * Concatenating 1.41 MB of AOF diff received from parent. 16998:C 22 Jul 11:49:41.606 * SYNC append only file rewrite performed 16998:C 22 Jul 11:49:41.648 * AOF rewrite: 21 MB of memory used by copy-on-write 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite terminated with success 26077:M 22 Jul 11:49:41.751 * Residual parent diff successfully flushed to the rewritten AOF (0.09 MB) 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite finished successfully 26077:M 22 Jul 12:56:09.636 * DB saved on disk 26077:M 22 Jul 13:00:53.058 * Starting automatic rewriting of AOF on 100

已完成理解[root@iZk5v06g1qie8303hd1wnrZ redis]# cat redis.log 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 26077:M 21 Jul 14:07:25.144 * Background saving started by pid 10485 10485:C 21 Jul 14:07:30.270 * DB saved on disk 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 26077:M 21 Jul 14:07:30.445 * Background saving terminated with success 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 17:45:52.164 * Background append only file rewriting started by pid 10836 26077:M 21 Jul 17:45:58.665 * AOF rewrite child asks to stop sending diffs. 10836:C 21 Jul 17:45:58.665 * Parent agreed to stop sending diffs. Finalizing AOF... 10836:C 21 Jul 17:45:58.665 * Concatenating 0.82 MB of AOF diff received from parent. 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite terminated with success 26077:M 21 Jul 17:45:58.818 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite finished successfully 26077:M 21 Jul 20:32:10.100 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 20:32:10.158 * Background append only file rewriting started by pid 11100 26077:M 21 Jul 20:32:17.242 * AOF rewrite child asks to stop sending diffs. 11100:C 21 Jul 20:32:17.242 * Parent agreed to stop sending diffs. Finalizing AOF... 11100:C 21 Jul 20:32:17.242 * Concatenating 1.80 MB of AOF diff received from parent. 11100:C 21 Jul 20:32:17.251 * SYNC append only file rewrite performed 11100:C 21 Jul 20:32:17.306 * AOF rewrite: 27 MB of memory used by copy-on-write 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite terminated with success 26077:M 21 Jul 20:32:17.476 * Residual parent diff successfully flushed to the rewritten AOF (0.07 MB) 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite finished successfully 26077:M 22 Jul 04:58:48.522 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 04:58:48.573 * Background append only file rewriting started by pid 16085 26077:M 22 Jul 04:58:53.990 * AOF rewrite child asks to stop sending diffs. 16085:C 22 Jul 04:58:53.991 * Parent agreed to stop sending diffs. Finalizing AOF... 16085:C 22 Jul 04:58:53.991 * Concatenating 0.94 MB of AOF diff received from parent. 16085:C 22 Jul 04:58:53.996 * SYNC append only file rewrite performed 16085:C 22 Jul 04:58:54.037 * AOF rewrite: 19 MB of memory used by copy-on-write 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite terminated with success 26077:M 22 Jul 04:58:54.112 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite finished successfully 26077:M 22 Jul 09:43:44.421 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 09:43:44.485 * Background append only file rewriting started by pid 16548 26077:M 22 Jul 09:43:51.201 * AOF rewrite child asks to stop sending diffs. 16548:C 22 Jul 09:43:51.201 * Parent agreed to stop sending diffs. Finalizing AOF... 16548:C 22 Jul 09:43:51.201 * Concatenating 5.24 MB of AOF diff received from parent. 16548:C 22 Jul 09:43:51.220 * SYNC append only file rewrite performed 16548:C 22 Jul 09:43:51.266 * AOF rewrite: 46 MB of memory used by copy-on-write 26077:M 22 Jul 09:43:51.400 * Background AOF rewrite terminated with success 26077:M 22 Jul 09:43:51.401 * Residual parent diff successfully flushed to the rewritten AOF (0.17 MB) 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 26077:M 22 Jul 11:49:34.735 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 11:49:34.792 * Background append only file rewriting started by pid 16998 26077:M 22 Jul 11:49:41.599 * AOF rewrite child asks to stop sending diffs. 16998:C 22 Jul 11:49:41.599 * Parent agreed to stop sending diffs. Finalizing AOF... 16998:C 22 Jul 11:49:41.599 * Concatenating 1.41 MB of AOF diff received from parent. 16998:C 22 Jul 11:49:41.606 * SYNC append only file rewrite performed 16998:C 22 Jul 11:49:41.648 * AOF rewrite: 21 MB of memory used by copy-on-write 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite terminated with success 26077:M 22 Jul 11:49:41.751 * Residual parent diff successfully flushed to the rewritten AOF (0.09 MB) 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite finished successfully 26077:M 22 Jul 12:56:09.636 * DB saved on disk 26077:M 22 Jul 13:00:53.058 * Starting automatic rewriting of AOF on 100

展开阅读网页

从您提供的 Redis 日志文件内容来看,这里记录了 Redis 服务器的一些关键操作和事件。以下是对日志中一些关键信息的解释:

  1. RDB 快照保存

    • 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 表示在 86400 秒内发生了 10 次数据变化,触发了 RDB 快照保存。
    • 10485:C 21 Jul 14:07:30.270 * DB saved on disk 表示数据库成功保存到磁盘。
  2. AOF 重写

    • 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 表示 AOF 文件由于增长了 100% 而触发了自动重写。
    • 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 表示 AOF 重写完成,并且使用了 SYNC 操作确保数据一致性。
  3. 客户端连接和关闭

    • 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 表示一个客户端因为输出缓冲区限制而被计划关闭。
  4. 内存使用

    • 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 表示在 RDB 快照保存过程中使用了 4 MB 的内存进行写时复制。
    • 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 表示在 AOF 重写过程中使用了 20 MB 的内存进行写时复制。
  5. AOF 重写完成

    • 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 表示 AOF 重写成功完成。
  6. RDB 快照和 AOF 重写触发条件

    • 日志显示了多次 RDB 快照保存和 AOF 重写,这通常是由于数据变化触发的。例如,26077:M 22 Jul 12:56:09.636 * DB saved on disk 表示在 22 日 12:56 进行了 RDB 快照保存。

这些日志信息对于监控和维护 Redis 服务器非常重要,它们可以帮助您了解服务器的运行状态和性能。如果您需要进一步的帮助或有特定的问题,请告诉我。

更专业一些
转笔记
专业
[root@iZk5v06g1qie8303hd1wnrZ redis]# cat redis.log 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 26077:M 21 Jul 14:07:25.144 * Background saving started by pid 10485 10485:C 21 Jul 14:07:30.270 * DB saved on disk 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 26077:M 21 Jul 14:07:30.445 * Background saving terminated with success 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 17:45:52.164 * Background append only file rewriting started by pid 10836 26077:M 21 Jul 17:45:58.665 * AOF rewrite child asks to stop sending diffs. 10836:C 21 Jul 17:45:58.665 * Parent agreed to stop sending diffs. Finalizing AOF... 10836:C 21 Jul 17:45:58.665 * Concatenating 0.82 MB of AOF diff received from parent. 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite terminated with success 26077:M 21 Jul 17:45:58.818 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite finished successfully 26077:M 21 Jul 20:32:10.100 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 20:32:10.158 * Background append only file rewriting started by pid 11100 26077:M 21 Jul 20:32:17.242 * AOF rewrite child asks to stop sending diffs. 11100:C 21 Jul 20:32:17.242 * Parent agreed to stop sending diffs. Finalizing AOF... 11100:C 21 Jul 20:32:17.242 * Concatenating 1.80 MB of AOF diff received from parent. 11100:C 21 Jul 20:32:17.251 * SYNC append only file rewrite performed 11100:C 21 Jul 20:32:17.306 * AOF rewrite: 27 MB of memory used by copy-on-write 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite terminated with success 26077:M 21 Jul 20:32:17.476 * Residual parent diff successfully flushed to the rewritten AOF (0.07 MB) 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite finished successfully 26077:M 22 Jul 04:58:48.522 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 04:58:48.573 * Background append only file rewriting started by pid 16085 26077:M 22 Jul 04:58:53.990 * AOF rewrite child asks to stop sending diffs. 16085:C 22 Jul 04:58:53.991 * Parent agreed to stop sending diffs. Finalizing AOF... 16085:C 22 Jul 04:58:53.991 * Concatenating 0.94 MB of AOF diff received from parent. 16085:C 22 Jul 04:58:53.996 * SYNC append only file rewrite performed 16085:C 22 Jul 04:58:54.037 * AOF rewrite: 19 MB of memory used by copy-on-write 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite terminated with success 26077:M 22 Jul 04:58:54.112 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite finished successfully 26077:M 22 Jul 09:43:44.421 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 09:43:44.485 * Background append only file rewriting started by pid 16548 26077:M 22 Jul 09:43:51.201 * AOF rewrite child asks to stop sending diffs. 16548:C 22 Jul 09:43:51.201 * Parent agreed to stop sending diffs. Finalizing AOF... 16548:C 22 Jul 09:43:51.201 * Concatenating 5.24 MB of AOF diff received from parent. 16548:C 22 Jul 09:43:51.220 * SYNC append only file rewrite performed 16548:C 22 Jul 09:43:51.266 * AOF rewrite: 46 MB of memory used by copy-on-write 26077:M 22 Jul 09:43:51.400 * Background AOF rewrite terminated with success 26077:M 22 Jul 09:43:51.401 * Residual parent diff successfully flushed to the rewritten AOF (0.17 MB) 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 26077:M 22 Jul 11:49:34.735 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 11:49:34.792 * Background append only file rewriting started by pid 16998 26077:M 22 Jul 11:49:41.599 * AOF rewrite child asks to stop sending diffs. 16998:C 22 Jul 11:49:41.599 * Parent agreed to stop sending diffs. Finalizing AOF... 16998:C 22 Jul 11:49:41.599 * Concatenating 1.41 MB of AOF diff received from parent. 16998:C 22 Jul 11:49:41.606 * SYNC append only file rewrite performed 16998:C 22 Jul 11:49:41.648 * AOF rewrite: 21 MB of memory used by copy-on-write 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite terminated with success 26077:M 22 Jul 11:49:41.751 * Residual parent diff successfully flushed to the rewritten AOF (0.09 MB) 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite finished successfully 26077:M 22 Jul 12:56:09.636 * DB saved on disk 26077:M 22 Jul 13:00:53.058 * Starting automatic rewriting of AOF on 100
不在提醒

更专业内容正在努力生成中
知识树
[root@iZk5v06g1qie8303hd1wnrZ redis]# cat redis.log 26077:M 21 Jul 14:07:25.096 * 10 changes in 86400 seconds. Saving... 26077:M 21 Jul 14:07:25.144 * Background saving started by pid 10485 10485:C 21 Jul 14:07:30.270 * DB saved on disk 10485:C 21 Jul 14:07:30.305 * RDB: 4 MB of memory used by copy-on-write 26077:M 21 Jul 14:07:30.445 * Background saving terminated with success 26077:M 21 Jul 17:02:57.047 # Client id=62363 addr=10.193.48.197:45014 fd=257 name= age=113 idle=0 flags=N db=15 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=16334 oll=3400 omem=28043184 events=rw cmd=unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits. 26077:M 21 Jul 17:45:52.110 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 17:45:52.164 * Background append only file rewriting started by pid 10836 26077:M 21 Jul 17:45:58.665 * AOF rewrite child asks to stop sending diffs. 10836:C 21 Jul 17:45:58.665 * Parent agreed to stop sending diffs. Finalizing AOF... 10836:C 21 Jul 17:45:58.665 * Concatenating 0.82 MB of AOF diff received from parent. 10836:C 21 Jul 17:45:58.671 * SYNC append only file rewrite performed 10836:C 21 Jul 17:45:58.712 * AOF rewrite: 20 MB of memory used by copy-on-write 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite terminated with success 26077:M 21 Jul 17:45:58.818 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 21 Jul 17:45:58.818 * Background AOF rewrite finished successfully 26077:M 21 Jul 20:32:10.100 * Starting automatic rewriting of AOF on 100% growth 26077:M 21 Jul 20:32:10.158 * Background append only file rewriting started by pid 11100 26077:M 21 Jul 20:32:17.242 * AOF rewrite child asks to stop sending diffs. 11100:C 21 Jul 20:32:17.242 * Parent agreed to stop sending diffs. Finalizing AOF... 11100:C 21 Jul 20:32:17.242 * Concatenating 1.80 MB of AOF diff received from parent. 11100:C 21 Jul 20:32:17.251 * SYNC append only file rewrite performed 11100:C 21 Jul 20:32:17.306 * AOF rewrite: 27 MB of memory used by copy-on-write 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite terminated with success 26077:M 21 Jul 20:32:17.476 * Residual parent diff successfully flushed to the rewritten AOF (0.07 MB) 26077:M 21 Jul 20:32:17.476 * Background AOF rewrite finished successfully 26077:M 22 Jul 04:58:48.522 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 04:58:48.573 * Background append only file rewriting started by pid 16085 26077:M 22 Jul 04:58:53.990 * AOF rewrite child asks to stop sending diffs. 16085:C 22 Jul 04:58:53.991 * Parent agreed to stop sending diffs. Finalizing AOF... 16085:C 22 Jul 04:58:53.991 * Concatenating 0.94 MB of AOF diff received from parent. 16085:C 22 Jul 04:58:53.996 * SYNC append only file rewrite performed 16085:C 22 Jul 04:58:54.037 * AOF rewrite: 19 MB of memory used by copy-on-write 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite terminated with success 26077:M 22 Jul 04:58:54.112 * Residual parent diff successfully flushed to the rewritten AOF (0.01 MB) 26077:M 22 Jul 04:58:54.112 * Background AOF rewrite finished successfully 26077:M 22 Jul 09:43:44.421 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 09:43:44.485 * Background append only file rewriting started by pid 16548 26077:M 22 Jul 09:43:51.201 * AOF rewrite child asks to stop sending diffs. 16548:C 22 Jul 09:43:51.201 * Parent agreed to stop sending diffs. Finalizing AOF... 16548:C 22 Jul 09:43:51.201 * Concatenating 5.24 MB of AOF diff received from parent. 16548:C 22 Jul 09:43:51.220 * SYNC append only file rewrite performed 16548:C 22 Jul 09:43:51.266 * AOF rewrite: 46 MB of memory used by copy-on-write 26077:M 22 Jul 09:43:51.400 * Background AOF rewrite terminated with success 26077:M 22 Jul 09:43:51.401 * Residual parent diff successfully flushed to the rewritten AOF (0.17 MB) 26077:M 22 Jul 09:43:51.401 * Background AOF rewrite finished successfully 26077:M 22 Jul 11:49:34.735 * Starting automatic rewriting of AOF on 100% growth 26077:M 22 Jul 11:49:34.792 * Background append only file rewriting started by pid 16998 26077:M 22 Jul 11:49:41.599 * AOF rewrite child asks to stop sending diffs. 16998:C 22 Jul 11:49:41.599 * Parent agreed to stop sending diffs. Finalizing AOF... 16998:C 22 Jul 11:49:41.599 * Concatenating 1.41 MB of AOF diff received from parent. 16998:C 22 Jul 11:49:41.606 * SYNC append only file rewrite performed 16998:C 22 Jul 11:49:41.648 * AOF rewrite: 21 MB of memory used by copy-on-write 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite terminated with success 26077:M 22 Jul 11:49:41.751 * Residual parent diff successfully flushed to the rewritten AOF (0.09 MB) 26077:M 22 Jul 11:49:41.751 * Background AOF rewrite finished successfully 26077:M 22 Jul 12:56:09.636 * DB saved on disk 26077:M 22 Jul 13:00:53.058 * Starting automatic rewriting of AOF on 100
How to optimize Redis AOF rewrite performance?
Redis RDB and AOF differences
Redis memory usage during AOF rewrite
在线客服