I am having intermittent problems after I upgraded emonpi (rPi3) via “apt-get upgrade”. I noticed many services were update, like apache, mysql, php, etc. Page loads on emoncms directly are taking much much longer and sometimes timeout. Any suggestions? Should I reimage the SD card to factory settings? If so, where do I source that image?
Also, the load average is way too high: load average: 3.46, 9.92, 10.00. I note that after I reboot, then log into emoncms, it brings me to the Feeds page and it sits there, the load on the rPi skyrockets. No response ever comes back from the Feeds page. Moreover, I cannot choose any other pages: the unit becomes unresponsive via the emoncms site. With that said, I can ssh into the device. It’s a bit slow to respond…
Are you running the latest 03-May16 image? See file in /boot partition:
$ ls /boot | grep emon
I would like to get to the bottom of what’s causing these issues. Has anyone else experienced these issues? Can you see any errors in apache log file? I will test and upgrade myself and report back. Please, could you post a screengrab showing your Emoncms system info.
I can confirm the default latest pre-built image has the following software versions:
After updating my emonPi (raspi3) has applied the same updates as you:
MYSQL 5.5.44 > 5.5.50
PHP 5.6.20 > 5.6.23
It’s been running a few hours so far with no noticeable difference in performance and no errors in apache log. All processes seem to be normal and system load is reporting load average: 0.70, 1.14, 0.77.
Here is a screen grab of my version numbers. It’s interesting to note that RAM use is down 10% after the update. This could be due to doing a reboot after the update which flushed the RAM:
Mmm which leaves us still to try and work out why you are experiencing these issues, and I seem not to. Are you running our pre-built SD card image 06-may16? What is the output of:
Thank you, Glyn! I had to abandon for now troubleshooting. I have an alternate solution using the disk image from the other working verison. I’ll keep the old image if you like to have it.
@glyn.hudson - I am wondering if this is the same issue I have been struggling with.
I just started with a new SD card and a recently downloaded emonSD-03-May16 image. And I still have the “slowness”.
It seems like the slowness may be related to the apt-get update and apt-get dist-upgrade (or apt-get upgrade). So I am going to try the new everything again, but with no apt-get update and apt-get dist-upgrade (or apt-get upgrade). The only issue then is my Node-RED flows won’t work until I update the Node-RED software from 0.13.x to 0.14.x.