emoncms - redis error

I have been running emoncms on my raspberry pi for getting on for 18 months now (and it probably has a lot of data on it - I'm using an external hard drive).  Recently, it has stopped working after a number of days, and I have to restart.  I have found the following error in the rfm12piphp.log:

Fatal error: Uncaught exception 'RedisException' with message 'read error on connection' in /var/www/rpi_thermostat/emoncms/Modules/input/input_model.php:285

Any ideas where to go with this please?

engeeaitch's picture

Re: emoncms - redis error

For what it's worth, there is an entry in the redis-server.log when the raspberry pi starts as follows:

Warning: 32 bit instance detected but no memory limit set. Setting 3.5 GB maxmemory limit with 'noeviction' policy now.
[2545] 23 Dec 21:03:40 * Server started, Redis version 2.4.14
[2545] 23 Dec 21:03:40 # 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.
[2545] 23 Dec 21:03:40 * DB loaded from disk: 0 seconds
[2545] 23 Dec 21:03:40 * The server is now ready to accept connections on port 6379

Is this significant do you think?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.