Please use code fences when posting code and logs and such. This is really hard to read.
```
code goes here
```
But the output from df doesn’t show any of the zram file systems being full so I doubt zram has anything top do with this. I’m assuming that df was run after the logs stopped. If not then wait until the logging stops and rerun it. Any time before that it’s meaningless.
thanks for your answer. I’ll put the code in “” the next time, thanks for the hint.
The output is indeed after the logs stop… and I am puzzled as well, however… I raised the size of zram3 for now… but It’s only running since 1 day, if it stops again I’ll come back.
The only hint I have that it is indeed zram, is that if I stop zram and go back to the normal system the logs don’t stop…
I’m having a problem with openHab crashing.
Every day it freezes and I can’t use it, it doesn’t respond in browser or app. I need to update Zram to restore functionality. And so almost every day. Additionally, I can’t read the log files via Log Viewer. It does not see the log files. How can all this be fixed?
If use: zramctl
I have this:
in case it is not responding do you then run zramctl - have you ever done a reboot instead ?
Just a reboot may not help; logfile inspection is required. But in case always running zramctl it looks like everytime a /dev/zram items is being added with looks like it would not be correct.
Does it still happen if you turn the log levels down? Do you have other services that do excessive logging? I had similar problems due to excessive zigbee2mqtt-logging.
E.g. set it to warn or error instead of info. In the karaf console you can check the levels with log:list. If you never changed anything this should be fine.
Of course you might have additional services that write logs.
The log level is irrelevant to the problem. It’ll just speed up or delay occurence. @paul11 as I said, reinstall.
And eventually limit number and size of your logs in log4j2.xml after reinstall.
I swapped memory cards with the backup. But probably the backup was made with errors. I can’t run the rs232 -usb adapter and it doesn’t save me logs to files because I can’t see them openhab.log and events.log