Should add yes, to confirm i see 2 threads of weewxd.py at 100% CPU at this 
point.

On Friday 19 January 2024 at 11:14:09 UTC+9 Richard Whitcombe wrote:

> Disabling Belchertown or selecting Standard/Sofaskin and it all appears 
> normal - report generation is 3 seconds or so as it used to be.
> Re-enabling Belchertown and problem returns - 3+ minutes, pegged out 
> performance, main loop crashing.
> FWIW whatever causes this is new in 5.0 as its been fine on all previous 
> versions.
>
> Its running on a Pi4 / 2gb under Raspbian.
>
> On Friday 19 January 2024 at 03:24:52 UTC+9 vince wrote:
>
>> On Thursday, January 18, 2024 at 2:14:23 AM UTC-8 Richard Whitcombe wrote:
>>
>> What im seeing now is the service seems to start fine, but after each 5 
>> min cycle the entire thread seems to kill itself and reload/reinitialise 
>> from scratch.
>>
>> INFO weewx.cheetahgenerator: Generated 12 files for report StandardReport 
>> in 188.04 seconds
>> Jan 18 10:03:28 <SERVER> weewxd[420]: INFO weewx.reportengine: Copied 39 
>> files to /var/www/html/weewx
>> Jan 18 10:05:24 <SERVER> weewxd[420]: INFO weewx.manager: Added record 
>> 2024-01-18 10:05:00 GMT (1705572300) to database 'weewx.sdb'
>> Jan 18 10:05:24 <SERVER> weewxd[420]: INFO weewx.manager: Added record 
>> 2024-01-18 10:05:00 GMT (1705572300) to daily summary in 'weewx.sdb'
>> Jan 18 10:05:29 <SERVER> weewxd[420]: INFO weewx.engine: Main loop 
>> exiting. Shutting engine down.
>> Jan 18 10:05:29 <SERVER> weewxd[420]: INFO weewx.engine: Shutting down 
>> StdReport thread
>> Jan 18 10:05:49 <SERVER> weewxd[420]: INFO user.interceptor: shutting 
>> down server thread
>> Jan 18 10:05:50 <SERVER> weewxd[420]: INFO weewx.cheetahgenerator: 
>> Generated 12 files for report Belchertown in 136.37 seconds
>>
>>
>> Looks like the same thing one or two others have reported. Try 
>> temporarily setting enabled=false for Belchertown, restart weewx, and see 
>> if the problem goes away.
>>
>> If you run 'htop' you will likely see two threads running and the cpu 
>> pegged for both.
>>
>> What model pi are you running on ?
>>
>>  
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b6ee92fa-9dfc-4ccb-86c0-2241c16b61ccn%40googlegroups.com.

Reply via email to