Small correction first: I didn’t show that. The version-logged-once-per-process point is your reading of the log, not something I demonstrated — and I don’t think the log can settle it either way. That engine started at 09:56 and died at 10:05:23, so it only ever got one report launch. A single version 2.1beta3 line is equally consistent with “logs once per process” and with “only one cycle ran.” You may well be right about the skin’s logging behavior, but that log isn’t evidence for it. On the substance, you’re right that a successful launch is silent. launch_report_thread() logs nothing on the happy path, so a report cycle can start with no trace in the weewx log. But a blocked launch is not silent: log.info("Launch of report thread aborted: existing report thread still running") Which leaves two possibilities: POST_LOOP never fired, because the OperationalError killed the main loop first — or the 10:00 cycle had already finished and a fresh one launched silently. The second requires the 10:00 cycle to have completed without ever logging Generated N files, which I’d want evidence for. On CPU: a busy CPU doesn’t distinguish a second run from the first one still grinding. The orphaned thread from 10:00 explains it by itself — nothing joined it, and self.thread gets reassigned on the next launch, so it just keeps running untracked. py-spy dump on the running process lists every thread with its stack. One StdReportEngine or two stops being a matter of interpretation at that point. On Aug 4, 2026, at 5:51 AM, [email protected] <[email protected]> wrote: -- 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 visit https://groups.google.com/d/msgid/weewx-user/98DEF49B-8664-4FC3-8048-661980521150%40johnkline.com. |
- Re: [weewx-user] catching the 'why' of engine.... Vince Skahan
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... [email protected]
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... Greg Troxel
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... matthew wall
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... [email protected]
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... [email protected]
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... [email protected]
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
- Re: [weewx-user] catching the 'why' of engine.... Tom Keffer
- Re: [weewx-user] catching the 'why' of engine.... 'John Kline' via weewx-user
