I have been runnin Weewx on a Raspberry Pi (model a) for a couple of years with a Maplin NG96Y, without any issues.
I recently upgraded to a Pi3, running Stetch, and Lighttpd. the old Pi was starting to struggle and sat at 100% cpu for most of the time.
All worked well for a month or so, the the station locked up. After a reset(batteries out, usb disconnected) it works for an hour or so, then locks the connection again. the base station still continues to function.
Error in syslog is Aug 10 09:17:28 raspberrypi weewx[10377]: fousb: get_records failed: [Errno 110] Operation timed out.
so far, other than rebooting, i have used Easy Weather to clear tge memory, but alas had no effect, 85 mins later, timeouts start again.
I am thunking of downgrading the Pi to Jessie, and using reverting to Weewx 3.9.1, but wondered if anyone has had this problem and managed to fix rather than rebuild.
TIA
G
It isn't the weewx version, it's the pi kernel / usb module version. The usb stack hangs. I wrote a watchdog to detect it and reboot the pi, because so far there has been no fix to the issue. I am not able to correlate this to a memory leak. What are you seeing re: memory?
Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPhone)
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/D7820F76-CC3A-4CC2-B359-4AF967A32638%40isylum.org.
Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad)
> On Aug 10, 2019, at 9:01 AM, Leon Shaner <le...@isylum.org> wrote:
>
> It isn't the weewx version, it's the pi kernel / usb module version. The usb stack hangs. I wrote a watchdog to detect it and reboot the pi, because so far there has been no fix to the issue. I am not able to correlate this to a memory leak. What are you seeing re: memory?
> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/315802A3-3CD7-4206-B22B-77A377B0F5A7%40isylum.org.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/D7820F76-CC3A-4CC2-B359-4AF967A32638%40isylum.org.
On Aug 11, 2019, at 12:45 PM, Thomas Keffer <tke...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECp12D-2O0S10NOGFOZQFUSMrjPSdYgDwH3nf3tQL5sHw%40mail.gmail.com.
Hey, TK,Can you please toss me a bone on how to instrument weewx for memory profiling?I tried python3-memory-profiler but couldn't make it work. It seems to block the normal importing of needed python modules (like weewx.engine). Maybe it is because weewx uses precompiled modules?Other than that I found a thread in the weewx google group where you suggested pympler, but I can't seem to find that on Raspbian, and you had a specially modified engine.py anyway. :-/
Regards,\Leon--Leon Shaner :: Dearborn, Michigan (iPad)
On Aug 11, 2019, at 4:06 PM, Leon Shaner <le...@isylum.org> wrote:Hey, TK. WMR300. I'll see if I can track it down.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/F83E049D-D09A-432A-8880-626C38728743%40isylum.org.
On Aug 11, 2019, at 7:22 PM, Thomas Keffer <tke...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECadyvwsVv3xvHTbJx5RQDoK6mCA11_W1utok8DYbpHuw%40mail.gmail.com.
i am using the fousb / wh1080, so it maynot be down to a driver issue, for me anyhoo.
i tried rolling back to Stretch, but same issues reappeared. Jessie is next on my to do list, along with weewx 3.9.1.
will update when I get a chance to rebuild.
G