Well, after doing an apt upgrade the problem seems solved. I've set a cron job to capture the RSS of the weewx daemon periodically, and after several days running it seems stable at under 50MB. So the theory about a buggy library looks likely.
On Wednesday, 1 December 2021 at 5:15:50 am UTC+11 vince wrote: > Sorry Clyde, this one pre-dates the wee_extension installer. > I've updated the readme in the github repo with today's installation > instructions. > > Download the zip file, install with wee_extension, restart weewx. > That simple. > > On Tuesday, November 30, 2021 at 1:21:04 AM UTC-8 Clyde wrote: > >> correction - I do apparently have swap enabled, only 100MB. That must >> have been the default Raspbian setup. >> >> >> On Tuesday, 30 November 2021 at 5:59:03 pm UTC+11 Clyde wrote: >> >>> Thanks for the replies - in no particular order: >>> >>> I'm running "Raspbian GNU/Linux 10 (buster)" on a Pi Zero. I used to run >>> Raspbian Wheezy on an original Pi, with weewx 3.9.2. I don't *think* >>> this problem was there when I first migrated to 4.5.1 - but I haven't >>> touched the system since then so maybe it was. >>> >>> vince: I would install the memory extension, but I fell at the first >>> hurdle: "setup.py install --extension extensions/mem" - where is >>> setup.py? I installed weewx using apt, and can't find a setup.py anywhere. >>> >>> I do not have swap enabled, nor do I particularly want to. 512MB should >>> be plenty (it certainly was with 3.9.2 on the old Pi.) >>> >>> I have not installed anything new recently (i.e. since first moving to >>> 4.5.1 on Buster.) >>> >>> > Perhaps in the last two days you did an update that fixed whatever >>> was broken? >>> >>> Nope, nothing is fixed (it was down again just now), nor did I do any >>> updates. Maybe I should.... >>> >>> >>> On Friday, 26 November 2021 at 12:36:03 pm UTC+11 vince wrote: >>> >>>> On Thursday, November 25, 2021 at 4:17:57 PM UTC-8 Tom Keffer wrote: >>>> >>>>> We have seen many instances where memory has grown after a system >>>>> update. Some underlying library starts to leak. Vice-versa as well. >>>>> Perhaps >>>>> in the last two days you did an update that fixed whatever was broken? >>>>> >>>> >>>> Piling on here but... Clyde can you tell us what os and version you are >>>> running ? >>>> Did you install anything new recently ? >>>> Specifically did you update anything related to the imaging libraries >>>> like 'pil' or 'pillow' ? >>>> >>>> >>> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/45b966e1-6b67-4f6f-9fdb-6bca8d5aa74bn%40googlegroups.com.
