[weewx-user] Re: weewx - mariadb high read and cpu utilization....

2023-12-18 Thread Karen K
See Issue #25  for 
explanation and solution.

-- 
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/ecb9bb66-5ab2-4c95-9eac-a10e9922f94an%40googlegroups.com.


Re: [weewx-user] Pipe errors etc

2023-12-18 Thread Dominic Reich

* David Hindley  [Mon, Dec 18 2023 08:09 +]:


When I type

ps -aux|grep weewx

I get

root   535  5.6  6.1 117524 58128 ?Sl   10:16   2:42 python2
/usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid
/etc/weewx/weewx.conf
pi2130  0.0  0.0   4368   564 pts/0S+   11:04   0:00 grep
--color=auto weewx

And, then typing

sudo /etc/init.d/weewx stop

produces

Stopping weewx (via systemctl): weewx.service.

but then repeating the grep command, still shows the 535 process still
running?

How do I stop weewx - do I have to use kill 535 perhaps?


That is an option, but I'd first confirm that weewx is not getting
stopped (that can take some seconds to happen though).

If you confirm weewx unstopped after 10 seconds you could kill the
process number with `sudo kill 535` (sending TERM signal to the process)
and if that does not work either you can KILL the process with
`sudo kill -9 535` which will force the process to kill.

You would normally kill a process with TERM, which tells the process to
save and finish, KILL will quit the process regardless of unfinished
operations of that process.

This is usually described in the `signal(3)` manpage, but could differ on
your operating system.

You could also use the pid file of weewx, which could look something
like that to force kill the process:
`sudo kill -9 $(cat /var/run/weewx.pid)`

HTH

- dominic



Thanks

David.

On Sat, 16 Dec 2023 at 19:39, vince  wrote:


Sorry - we can't fix your network.  Lots of legacy embedded type 2.4GHz
wifi things have issues staying on the network and stable.   I'd suggest
you try to see if your wifi is being interfered with from a neighbor
perhaps.  Maybe you can switch which channel your wifi is on.

FWIW, we have too many neighbors here with misconfigured wifi to even
count, depending on who moves in/out and who visits them occasionally.
What I eventually needed to do was (a) move everything in the house that
could do it over to 5GHz wifi, and (b) buy a Unifi AcLite AP and basically
try to out-radiate the neighbors.  Problem went away at that point.


--
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/q67cvEsXtjQ/unsubscribe.
To unsubscribe from this group and all its topics, 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/b4ebe949-5ee5-4221-b91c-ba84e21d64f4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHtYHVLtTSA9rq-fKN%2BPaDMJazz41B1OdBVfxHxKJa%3DZ%2BRim4A%40mail.gmail.com.


--
The weak are always anxious for justice and equality.
The strong pay no heed to either.
- Aristotle

--
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/ZDJjZTgzNjcwNTI4MDFlNmZlYTU4YWMyMzhmODQ4Zm%40odin.oe7drt.com.


[weewx-user] WeatherLink Live extensions for WeeWX 5.x

2023-12-18 Thread G400
Which extension for Davis WeatherLink Live is recommended for WeeWX 5.x 
(current development version is 5.0.0b17-4)?

There are (at least) two options:
1.* weewx-weatherlink-live* 
(https://github.com/michael-slx/weewx-weatherlink-live)
2. *weewx-wll* (https://github.com/jonotaegi/weewx-wll) 

For writing data that WeeWX emits in the format used by Cumulus 
realtime.txt it seems *CRT *found at 
https://github.com/weewx/weewx/wiki/crt is the only option.

Is CRT compatible with both options?

I'm hoping to get feedback from anyone that have tested/from developers of 
the extensions.

Thank's in advance!

-- 
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/773c2b5c-c9e2-4ed2-8043-4c40956f421dn%40googlegroups.com.


[weewx-user] Re: weewx - mariadb high read and cpu utilization....

2023-12-18 Thread Karen K
Christian Peters schrieb am Samstag, 16. Dezember 2023 um 21:26:08 UTC+1:

Will ask Karen K.


I answered the issue with additional information requests.
 

-- 
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/3c9ccd9f-9f2f-4acc-814c-963ffe1d6aean%40googlegroups.com.


Re: [weewx-user] Pipe errors etc

2023-12-18 Thread cric...@pobox.com
Hi David,

   As for stopping weewx, kill 535 will work, but systemd will likely 
restart it very soon.  I ran into an similar issue
the other day with systemd.  In this case it was for NUT (ups monitoring 
stuff).  The systemctl stop 
didn't stop the daemon (same message you got).  I ended up disabling the 
service unit and killed the processes by hand.
For weewx, I have a perl script that runs from cron that starts weewx if 
it's down.  Works great, except that I have to
remember to stop weewx by hand in care of a reboot or shutdown.  Some 
people like systemd.  I'm not one of them.

Chris


On Monday, December 18, 2023 at 1:10:12 AM UTC-7 David Hindley wrote:

> Thanks for your reply Vince.  Completely understand re network. I am using 
> Ethernet rather than WiFi for both my Rpi which hosts weewx and my davis 
> weather station. 
>
> Does anyone have any input on my question about stopping weewx please? 
> Repeated here: 
>
> In the meantime, I am having trouble stopping weewx - not sure if this is 
> related to my ongoing pipe errors or not.  When I type 
>
> ps -aux|grep weewx
>
> I get
>
> root   535  5.6  6.1 117524 58128 ?Sl   10:16   2:42 python2 
> /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid 
> /etc/weewx/weewx.conf
> pi2130  0.0  0.0   4368   564 pts/0S+   11:04   0:00 grep 
> --color=auto weewx
>
> And, then typing 
>
> sudo /etc/init.d/weewx stop
>
> produces
>
>  Stopping weewx (via systemctl): weewx.service.
>
> but then repeating the grep command, still shows the 535 process still 
> running?
>
> How do I stop weewx - do I have to use kill 535 perhaps?
>
> Thanks
>
> David. 
> On Sat, 16 Dec 2023 at 19:39, vince  wrote:
>
>> Sorry - we can't fix your network.  Lots of legacy embedded type 2.4GHz 
>> wifi things have issues staying on the network and stable.   I'd suggest 
>> you try to see if your wifi is being interfered with from a neighbor 
>> perhaps.  Maybe you can switch which channel your wifi is on.
>>
>> FWIW, we have too many neighbors here with misconfigured wifi to even 
>> count, depending on who moves in/out and who visits them occasionally.  
>> What I eventually needed to do was (a) move everything in the house that 
>> could do it over to 5GHz wifi, and (b) buy a Unifi AcLite AP and basically 
>> try to out-radiate the neighbors.  Problem went away at that point.
>>
>>
>> -- 
>> 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/q67cvEsXtjQ/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/b4ebe949-5ee5-4221-b91c-ba84e21d64f4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e9f3e79b-d362-4c4d-8d37-f3e2832d1f55n%40googlegroups.com.


Re: [weewx-user] Pipe errors etc

2023-12-18 Thread David Hindley
Thanks for your reply Vince.  Completely understand re network. I am using
Ethernet rather than WiFi for both my Rpi which hosts weewx and my davis
weather station.

Does anyone have any input on my question about stopping weewx please?
Repeated here:

In the meantime, I am having trouble stopping weewx - not sure if this is
related to my ongoing pipe errors or not.  When I type

ps -aux|grep weewx

I get

root   535  5.6  6.1 117524 58128 ?Sl   10:16   2:42 python2
/usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid
/etc/weewx/weewx.conf
pi2130  0.0  0.0   4368   564 pts/0S+   11:04   0:00 grep
--color=auto weewx

And, then typing

sudo /etc/init.d/weewx stop

produces

 Stopping weewx (via systemctl): weewx.service.

but then repeating the grep command, still shows the 535 process still
running?

How do I stop weewx - do I have to use kill 535 perhaps?

Thanks

David.

On Sat, 16 Dec 2023 at 19:39, vince  wrote:

> Sorry - we can't fix your network.  Lots of legacy embedded type 2.4GHz
> wifi things have issues staying on the network and stable.   I'd suggest
> you try to see if your wifi is being interfered with from a neighbor
> perhaps.  Maybe you can switch which channel your wifi is on.
>
> FWIW, we have too many neighbors here with misconfigured wifi to even
> count, depending on who moves in/out and who visits them occasionally.
> What I eventually needed to do was (a) move everything in the house that
> could do it over to 5GHz wifi, and (b) buy a Unifi AcLite AP and basically
> try to out-radiate the neighbors.  Problem went away at that point.
>
>
> --
> 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/q67cvEsXtjQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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/b4ebe949-5ee5-4221-b91c-ba84e21d64f4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHtYHVLtTSA9rq-fKN%2BPaDMJazz41B1OdBVfxHxKJa%3DZ%2BRim4A%40mail.gmail.com.