Comment 4 for bug 1456853

Revision history for this message
Sundaresan Rajangam (srajanga) wrote :

By default, snapshot is enabled in redis.conf

On a loaded setup, upon redis-server restart, loading of dump.rdb in memory takes more time and this causes the issue [Logs below]
Should we consider disabling the snapshot in redis.conf?

[5141] 21 May 10:44:18.907 # Server started, Redis version 2.8.4
[5141] 21 May 10:44:18.907 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[5141] 21 May 10:52:46.450 * DB loaded from disk: 507.543 seconds <<<<<<
.....
.....
[7348] 21 May 13:32:48.114 # Server started, Redis version 2.8.4
[7348] 21 May 13:32:48.114 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[7348] 21 May 13:36:36.040 * DB loaded from disk: 227.926 seconds <<<<<<