Closed GoogleCodeExporter closed 9 years ago
Are you running out of memory (and start swapping) when BGSAVE is active?
You can disable the periodic BGSAVE by calling:
CONFIG SET save ""
... and enable the AOF with:
CONFIG SET appendonly yes
BGREWRITEAOF
The last command will create a complete snapshot in AOF format. It uses the
same technique as BGSAVE, so if you have problems with it, you may also have
problems with BGREWRITEAOF. Make sure to call BGREWRITEAOF yourself
periodically to avoid the AOF file from growing infinitely. An automatic
trigger for rewriting is being added to 2.4.
Cheers,
Pieter
Original comment by pcnoordh...@gmail.com
on 14 Jun 2011 at 7:04
Original issue reported on code.google.com by
vijeeshk...@gmail.com
on 6 Jun 2011 at 12:21