Hello,
I thought my memory trouble were solved but it is not the case at all.
Yesterday status when connecting with putty
## Uptime = 227 day(s). 3:22:53
## CPU Usage = 1.25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.31, 5m: 0.11, 15m: 0.08
## Memory = Free: 0.02GB (3%), Used: 0.92GB (97%), Total: 0.94GB
## Swap = Free: 1.99GB (89%), Used: 0.24GB (11%), Total: 2.24GB
## Root = Free: 22.00GB (79%), Used: 5.77GB (21%), Total: 28.99GB
Openhab frontail keep ginving error message linked to possible memory troubles
/var/log/openhab/openhab.log
-11-04 00:11:23.364 [WARN ] [ache.cxf.phase.PhaseInterceptorChain] - Exception in handleFault on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor@1167e86
org.apache.cxf.interceptor.Fault: unable to create native thread: possibly out of memory or process/resource limits reached
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) ~[bundleFile:3.4.3]
...
022-11-04 00:11:23.379 [ERROR] [.AbstractFaultChainInitiatorObserver] - An unexpected error occurred during error handling. No further error processing will occur.
org.apache.cxf.interceptor.Fault: unable to create native thread: possibly out of memory or process/resource limits reached
...
2022-11-04 00:11:23.393 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /rest/items/Consommation_electrique_globale_TotalReturnedEnergy
org.apache.cxf.interceptor.Fault: unable to create native thread: possibly out of memory or process/resource limits reached
...
Caused by: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.lang.Thread.start0(Native Method) ~[?:?]
...
06 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: Storebureau_shellyswitch25_RollerControl0open100closed
today status when connecting with Putty
Uptime = 228 day(s). 1:49:23
## CPU Usage = 1% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.10, 5m: 0.07, 15m: 0.07
## Memory = Free: 0.02GB (3%), Used: 0.92GB (97%), Total: 0.94GB
## Swap = Free: 1.99GB (89%), Used: 0.24GB (11%), Total: 2.24GB
## Root = Free: 22.00GB (79%), Used: 5.77GB (21%), Total: 28.99GB
...
openhabian@openhabian:~ $ free
total used free shared buff/cache available
Mem: 996096 615968 38248 540 341880 328120
Swap: 2350072 282872 2067200
...
top - 08:30:40 up 228 days, 13:37, 1 user, load average: 0.11, 0.11, 0.04
Tasks: 130 total, 1 running, 129 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.9 us, 0.2 sy, 0.0 ni, 98.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 972.8 total, 37.4 free, 601.3 used, 334.1 buff/cache
MiB Swap: 2295.0 total, 2018.8 free, 276.2 used. 320.7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
753 openhab 20 0 1289936 263716 5844 S 5.3 26.5 9194:58 java
29005 openhab+ 20 0 11568 3124 2580 R 1.0 0.3 0:00.22 top
28524 openhab+ 20 0 14476 4420 3512 S 0.3 0.4 0:00.03 sshd
1 root 20 0 34972 6168 4420 S 0.0 0.6 7:41.97 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:45.09 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
I also checked the list of warning from openhab log
openhab log warn.log.txt (56.2 KB)
and same for errors
Openhab log error.log.txt (45.1 KB)
Any help in analysing this information are welcome.
I did not change anything in the openhab config since the my last message in this thread.