Sorry I was so rude. I will try to make my post clearer in the future.
When OH 4.0 came out, I decided to totally rebuild my system. I used new SD cards and installed the stable image. I have since been installing the updates using Openhabian-config option 2. All my settings are the defaults and I do not make any changes. I do have 2 Overview pages, the default one that has a lot of information on it and a secondary formatted for my iPad with the same info. Openhab 4.1.1 was very stable, and I did not have any issues with it, except the Amazon Control Binding. When FiremotD showed I had apt updates I applied them and that took me to 4.1.2. That is when I started having issues. It did take about an hour, but all the errors cleared up. A few days later is when it started locking up.
I just cleared my Cache, and the Out of Memory errors went away but I still have the rule errors. It has been 60 minutes, and I am going to reboot now and see what happens. After rebooting the system, I could not get back into the Overview page. I stopped OH and cleared the cache again and restarted OH. I can now get into the Overview page. After another hour all the errors have cleared up and it is working as it should. I have now gone another 90 minutes without an error or warning.
This is what I saw immediately after reboot as soon as I could get into it.
## Ip = 192.168.1.8
## Release = Raspbian GNU/Linux 11 (bullseye)
## Kernel = Linux 6.1.21-v8+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 0:7:30
## CPU Usage = 25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 1.19, 5m: 2.48, 15m: 1.56
## Memory = Free: 2.13GB (57%), Used: 1.62GB (43%), Total: 3.75GB
## Swap = Free: 2.99GB (100%), Used: 0.00GB (0%), Total: 2.99GB
## Root = Free: 22.76GB (81%), Used: 5.11GB (19%), Total: 29.10GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 129 running processes of 32768 maximum processes
Now that it is back up running properly, this is what I have.
# Ip = 192.168.1.8
## Release = Raspbian GNU/Linux 11 (bullseye)
## Kernel = Linux 6.1.21-v8+
## Platform = Raspberry Pi 4 Model B Rev 1.1
## Uptime = 0 day(s). 1:30:32
## CPU Usage = 7.02% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.53, 5m: 0.48, 15m: 1.04
## Memory = Free: 0.83GB (22%), Used: 2.91GB (78%), Total: 3.75GB
## Swap = Free: 2.99GB (100%), Used: 0.00GB (0%), Total: 2.99GB
## Root = Free: 22.58GB (81%), Used: 5.29GB (19%), Total: 29.10GB
## Updates = 0 apt updates available.
## Sessions = 1 session(s)
## Processes = 132 running processes of 32768 maximum processes
I see the used memory has gone from 43% to 78%. I will keep an eye on this and see if it continues to grow. I never see anything listed as used in Swap.
Here is the TOP capture.
top - 14:25:16 up 1:39, 1 user, load average: 0.57, 0.47, 0.79
Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.3 us, 3.9 sy, 0.0 ni, 89.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 3844.2 total, 856.7 free, 1200.4 used, 1787.2 buff/cache
MiB Swap: 3072.0 total, 3072.0 free, 0.0 used. 2566.6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4393 openhab 20 0 1301436 1.0g 11832 S 38.4 27.5 38:50.10 java
407 avahi 20 0 7112 3040 2608 S 0.3 0.1 0:35.25 avahi-daemon
9943 root 20 0 0 0 0 I 0.3 0.0 0:00.19 kworker/0:1-events_power_efficient
10272 openhab+ 20 0 11224 3108 2560 R 0.3 0.1 0:00.16 top
10342 openhab 20 0 8508 668 572 S 0.3 0.0 0:00.01 ping
10344 openhab 20 0 8644 4612 4344 S 0.3 0.1 0:00.01 arping
I will check this again tomorrow and see what it shows.
Thank you.