--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/gvReyZeqOJQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6942d0aa-94bf-46e9-bb56-8232a425f95fn%40googlegroups.com.
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/e8c94cec-3d75-4ac1-93d3-19cfcae8a1b6n%40googlegroups.com.
On Feb 4, 2021, at 14:20, Tom Keffer <tke...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC0JotC0Rrp0NirvcUx8%3DvL6kzY9W7%3D1SbdU75_ke1i%3DQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ECA9484A-7708-449E-B0C1-DDB22A0F9DEA%40comcast.net.
Tom,
Attached is the logfile for 2 cycles.
Per Line 45 @ 08:56:54 – The 120sec Interval for wwewx.engine is loaded
Per Line 137 – Line 141 @ 08:58:33 – The Remote MySQL DB is being updated
Per Line 143 @ 08:58:47 – The rpt.engine starts
Per Line 218 @ 09:00:40 – Error weewx.engine unable to shutdown StdReport thread
Then it appears weew opted to perform a restart by itself
Per Line 333 – Line 337 @ 09:02:32 – The Remote MySQL DB is being updated
Per Line 353 @ 09:02:53 – Start FTP
Per Line 421 @ 09:03:11 – End FTP
Per Line 423 @ 09:03:11 – Run SS
Per Line 471 @ 09:04:22 – Start Reports
Per Line 487 – Line 491 – The Remote MySQL DB is being updated
Per Line 492 @ 09:04:48 – Report Thread is aborted, existing Report Thread is running
Per Line 552 @ 09:06:40– Error weewx.engine unable to shutdown StdReport thread
Then it appears weew opted to perform a restart by itself
Per Line 653 @ 09:08:05 – Start FTP
Per Line 716 @ 09:08:23 – End FTP
Per Line 723 @ 09:08:32 – Run SS
Hope the above analysis helps pinpoint the problem.
I’m concerned about the Error related to the shutdown of the StdReport Thread and the subsequent automatic restart. My other concern is the aborting the Report Thread, because the existing Report Thread is still running. Both appear to be impacting the 120 second interval to generate reports and subsequently FTP, as well as the write of the DB every 120 seconds.
Thanks in Advance for your help.
Regards,
Tim
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAK_512pG%3DDPbghbVCnJSJQjk2Q9uEHW12g4WEZkP4CTw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/601d8a3f.1c69fb81.c2a39.613cSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
On Feb 5, 2021, at 11:11, Tom Keffer <tke...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB9Fcu3tLZpGVFqhTqoQjXYzLgMBP-R5vjRqBx-jyXVQw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/135EFAB1-F91F-46F9-9C63-4EAFC60CA7DA%40comcast.net.
Tom,
I have consoleWD from Weather Display and Pure FTPd (which is normally idle) running.
I see a few options:
I’m going to work thru the options to see what works.
Thanks for the insight!
Regards,
Tim
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAA1SM23_zwkXQSSU_QtQ58vUPcWbRDk%3Di4emxmS5DgHNOx7ohg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/601da934.1c69fb81.eb367.c8e1SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
Vince,
Some info from my Pi4:
pi@murph:~/consolewdfiles $ free
total used free shared buff/cache available
Mem: 3919788 250800 2881384 229552 787604 3305456
Swap: 102396 0 102396
pi@murph:~/consolewdfiles $ uptime
12:58:26 up 15:15, 3 users, load average: 0.11, 0.19, 0.24
pi@murph:~/consolewdfiles $ users
pi pi pi
The 3 users are consolewd (from Weather Display which runs at start-up under systemctl) , weewx (which also runs at start-up) and an ssh session
Any ideas how to identify the ‘resource hog’?
Regards,
Tim
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7a3c3f02-37e0-4ba1-9a45-d45797eee986n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7a3c3f02-37e0-4ba1-9a45-d45797eee986n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAKnx3HS_8g-OBz%2BoAkNu9ky-Z6e1xp9DD8HNFGwmxeZg%40mail.gmail.com.
Tom,
MySQL is on a remote/hosted server – it is not running on the Pi. I’ve provided the connection parameters in the weewx.conf
1. weewxd is using a different configuration file than you think it is; or
2. You didn't restart weewxd after changing the value.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAKnx3HS_8g-OBz%2BoAkNu9ky-Z6e1xp9DD8HNFGwmxeZg%40mail.gmail.com.
Thanks Team!
I have another Pi4 w/4GB of RAM sitting idle – I’m going to install weewx on it, and uninstall on the other box.
This will isolate weewx to run by itself (with exception of Pure FTPd and Apache Server)
Regards,
Tim
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/601db9f5.1c69fb81.d7df7.95d2SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/601db9f5.1c69fb81.d7df7.95d2SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3b181fa0-029d-4c57-8649-4a49b3413a7fn%40googlegroups.com.
Gary,
I think you hit on the root cause.
I’m standing up another Pi with an external HD attached to support the DB – the idea is to keep the DB traffic off the SD card.
Regards,
Tim
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3b181fa0-029d-4c57-8649-4a49b3413a7fn%40googlegroups.com.