Redis [windows]删除转储文件

时间:2016-01-20 09:51:00

标签: windows redis

我过去6个月一直在使用Redis for windows(v2.4),没有任何问题。但在最近几周,一个奇怪的事情开始发生。

我的应用程序因以下消息崩溃

  

ServiceStack.Redis:不允许操作,运动58638,LastCommand:

然后它从hdd删除转储文件。恢复redis的唯一方法是停止Windows服务并使用当然空转储文件重新启动它

是否有人遇到过类似的问题?

[22.1 - update]只是用一些其他信息更新此问题:

服务器上有100gb可用空间。非常有趣的事实是,自从我2天前重新启动redis进程并打开AOF后,转储文件上次被修改(Windows文件修改时间)20.1.2016 10:39,与AOF文件相反,该文件在一分钟前被修改。

The log file reports following:
[14996] 20 Jan 10:37:26 * Background AOF rewrite terminated with success
[14996] 20 Jan 10:37:26 * Parent diff successfully flushed to the rewritten AOF (0 bytes)
[14996] 20 Jan 10:37:26 # Unable to check the AOF length: Bad file descriptor
[14996] 20 Jan 10:37:26 * Background AOF rewrite successful
[14996] 20 Jan 10:37:26 # Exiting on error writing to the append-only file: Bad file descriptor
[17364] 20 Jan 10:38:34 * Server started, Redis version 2.4.5
[17364] 20 Jan 10:38:59 * DB loaded from append only file: 25 seconds
[17364] 20 Jan 10:38:59 * The server is now ready to accept connections on port 6379
[17364] 20 Jan 10:39:35 * 10000 changes in 60 seconds. Saving...
[17364] 20 Jan 10:39:35 * Foregroud saving started by pid 17364
[17364] 20 Jan 10:39:41 * DB saved on disk 

0 个答案:

没有答案