Karaf Error 501, syslog 13GB in one day

I can’t control openhab due to the following error:

Error: writing output failed: No space left on device
###############################################################################
###############  openhab  #####################################################
###############################################################################
##        Ip = 192.168.1.187
##   Release = Raspbian GNU/Linux 10 (buster)
##    Kernel = Linux 4.19.75-v7l+
##  Platform = Raspberry Pi 4 Model B Rev 1.1
##    Uptime = 0 day(s). 16:13:14
## CPU Usage = 67.45% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 6.08, 5m: 6.19, 15m: 6.17
##    Memory = Free: 0.28GB (7%), Used: 3.57GB (93%), Total: 3.86GB
##      Swap = Free: 0.07GB (78%), Used: 0.02GB (22%), Total: 0.09GB
##      Root = Free: 6.77GB (25%), Used: 20.24GB (75%), Total: 28.20GB
##   Updates = 6 apt updates available.
##  Sessions = 1 session(s)
## Processes = 133 running processes of 32768 maximum processes
###############################################################################

the big file is the /var/syslog:

sudo du -ah
13G	./syslog

the content of the syslog is mostly:

Nov 21 09:07:35 openhab karaf[501]: Exception in thread "OH-EventHandlerExecutor-14241" java.lang.NullPointerException
Nov 21 09:07:35 openhab karaf[501]: #011at java.util.concurrent.LinkedBlockingQueue.dequeue(LinkedBlockingQueue.java:213)
Nov 21 09:07:35 openhab karaf[501]: #011at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:444)
Nov 21 09:07:35 openhab karaf[501]: #011at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
Nov 21 09:07:35 openhab karaf[501]: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
Nov 21 09:07:35 openhab karaf[501]: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Nov 21 09:07:35 openhab karaf[501]: #011at java.lang.Thread.run(Thread.java:748)

What happened here and how to stop this ?

Can’t tell from that message. openHAB/java usually don’t log there.
You fail to explain how you’ve setup your system, what you tried looking up etc.
How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community

1 Like