Open GoogleCodeExporter opened 8 years ago
Hello, thanks for reporting.
We need some additional info:
- The version of the Redis server.
- The stack trace it prints after crashing.
- Is this version the default installed by Ubuntu, or did you compiled it
yourself?
Thanks,
Salvatore
Original comment by anti...@gmail.com
on 27 Jan 2011 at 10:41
Hello, I just received your email.
I recently upgraded to Redis 2.0.4.
The server is a minimal (but standard) Ubuntu Server.
The only error reported in Redis logs says
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.
I fixed this value but the crash continues. Apparently the setex works well
but when I try to get the json it crashes. Consider that the every json
string is minus then 10K.
When I launch my node.js app the log of the app reports nothing about the
error. I simply see that the app crashes because after a while I can see the
restarting string (forced by Monit). If you let me know where I can find
info about the memory stack I will do all the necessary to provide you with
the info.
Thanks a lot,
F
Original comment by sul...@gmail.com
on 9 Feb 2011 at 1:39
When Redis crashes, it dumps a stack trace to the log file. It would be very
helpful if you provide this stack trace, the output of the INFO command, and
your configuration file. Thanks.
Original comment by pcnoordh...@gmail.com
on 9 Feb 2011 at 8:19
Hello, if this does not work we can even provide you our public key and check
ourselves inside the server to see what's happening.
Thanks for the report & help.
Cheers,
Salvatore
Original comment by anti...@gmail.com
on 9 Feb 2011 at 9:22
Original issue reported on code.google.com by
sul...@gmail.com
on 27 Jan 2011 at 10:34