What is mem.db?

70 views
Skip to first unread message

Peter Fletcher

unread,
Nov 19, 2025, 10:15:41 AM (9 days ago) Nov 19
to weewx-user
There have been a few references to mem_binding in weewx.conf for a long time and mem.db is referenced in the stanza for MySQL, but I don't recall previously seeing a file of that name in my data directory. One has now appeared and appears to be being actively updated. I would note that this is not the system referred to in another recent message on which I am experimenting with MySQL - it should just be using Sqlite. Have I just been blind before, or has something changed?

vince

unread,
Nov 19, 2025, 12:07:39 PM (9 days ago) Nov 19
to weewx-user
It is not referenced in the weewx.conf put into place on a new installation (link).

I wrote a memory usage skin/extension that uses a db of that name,  so if your extensions include that one, that might be it.  

Peter Fletcher

unread,
Nov 19, 2025, 7:15:22 PM (9 days ago) Nov 19
to weewx-user
I have never (as far as I can remember) used any skin other than a couple of modified versions of the old (early V 4.x, or possibly even V 3.x) Seasons skin, nor have I installed anything within Weewx to track memory usage. The references to the mem system are present in a backup copy of my conf file from 2023, but, as I noted, I don't recall seeing the mem.db file before the last few days. I will look at a few backup images to see if I can confirm this. It is a puzzler!

Peter Fletcher

unread,
Nov 19, 2025, 7:33:14 PM (9 days ago) Nov 19
to weewx-user
As a P.S.: a much smaller but (then) current version of mem.db was present in a backup image from almost six months ago, so I must just have failed to notice it since before then. Go figure!

vince

unread,
Nov 19, 2025, 7:36:04 PM (9 days ago) Nov 19
to weewx-user
What is in the backups doesn’t matter really,  Lets see the output of ‘weectl extension list’ and if it isn’t there, post your weewx.conf file with any usernames and passwords obfuscated,

vince

unread,
Nov 19, 2025, 7:38:12 PM (9 days ago) Nov 19
to weewx-user
You might try "weectl debug" to a file for a little easier way to get there, but please definitely obfuscate any usernames/passwords it misses.

Peter Fletcher

unread,
Nov 19, 2025, 10:15:24 PM (9 days ago) Nov 19
to weewx-user
The mem extension is, indeed, shown as running, and I now see that there is a stanza for it in the stdReport section of weewx.conf. I just don't know how it got there! I don't need it - do I just remove the stanzas that reference it from weewx.conf?

vince

unread,
Nov 19, 2025, 10:43:04 PM (9 days ago) Nov 19
to weewx-user
Please learn to use the voluminous documentation at https://weewx.com/docs/5.2/ that hundreds of hours were spent writing.

Look up weectl extension in the utilities guide.

Reply all
Reply to author
Forward
0 new messages