-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis performs AOF operations even if "appendonly=no" #677
Comments
seems we had a cron task which executes redis-cli BGREWRITEAOF if it's normal documented behaviour that BGREWRITEAOF writes AOF even if AOF disabled - please close the issue. |
found similar issue http://code.google.com/p/redis/issues/detail?id=428 |
Hello. Why this issue closed? |
The If you comment out The same goes for |
Ok, thank you for explanation! |
Fixed Gradle build file
Redis 2.4.14
we have "save" directives commented out in config. we have "appendonly no"
but redist runs out of memory with the following in logs:
[25324] 15 Sep 06:00:18 * Background AOF rewrite successful
[25324] 15 Sep 08:00:01 * Background append only file rewriting started by pid 10945
[10945] 15 Sep 08:00:23 * SYNC append only file rewrite performed
[25324] 15 Sep 08:00:23 * Background AOF rewrite terminated with success
[25324] 15 Sep 08:00:23 * Parent diff successfully flushed to the rewritten AOF (0 bytes)
...
[25324] 15 Sep 14:00:34 * Background AOF rewrite terminated with success
[25324] 15 Sep 14:00:34 * Parent diff successfully flushed to the rewritten AOF (0 bytes)
[25324] 15 Sep 14:00:34 * Background AOF rewrite successful
[25324] 15 Sep 16:00:02 # Can't rewrite append only file in background: fork: Cannot allocate memory
[25324] 15 Sep 18:00:01 # Can't rewrite append only file in background: fork: Cannot allocate memory
[25324] 15 Sep 20:00:01 # Can't rewrite append only file in background: fork: Cannot allocate memory
[25324] 15 Sep 22:00:01 # Can't rewrite append only file in background: fork: Cannot allocate memory
[25324] 16 Sep 00:00:01 # Can't rewrite append only file in background: fork: Cannot allocate memory
[25324] 16 Sep 02:00:01 # Can't rewrite append only file in background: fork: Cannot allocate memory
...
(I know that I should use vm.overcommit_memory = 1 to avoid problems with fork(), but I prefer turn off forking in config if I don't actually need it, rather than workaround)
The text was updated successfully, but these errors were encountered: