Log Viewer (frontail) with very less entries


the Log Viewer (frontail) at port :9001 only shows the entries of the last 40 minutes.

Maybe I’m running out of RAM memory, but this would be surprising as only very less bindings are installed.

Is everything ok with my setup? Thanks.

version: 3.2.0
buildString: Release Build
locale: de-DE
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 11.0.10
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.45+27-CA
osName: Linux
osVersion: 5.10.63-v7+
osArchitecture: arm
availableProcessors: 4
freeMemory: 72714112
totalMemory: 195981312

  • gpstracker
  • http
  • ipcamera
  • knx
  • modbus
  • shelly

Release = Raspbian GNU/Linux 10 (buster)
Kernel = Linux 5.10.63-v7+
Platform = Raspberry Pi 3 Model B Rev 1.2
Uptime = 19 day(s). 1:0:41
CPU Usage = 12.78% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
CPU Load = 1m: 0.75, 5m: 0.59, 15m: 0.55
Memory = Free: 0.05GB (6%), Used: 0.89GB (94%), Total: 0.94GB
Swap = Free: 2.36GB (99%), Used: 0.03GB (1%), Total: 2.39GB
Root = Free: 21.19GB (76%), Used: 6.65GB (24%), Total: 29.06GB
Updates = 0 apt updates available.
Sessions = 1 session(s)
Processes = 129 running processes of 32768 maximum processes

openjdk version “11.0.10” 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK Client VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode)

It should not be log messages from the last 40min, but a certain number of log messages.

You can configure how many rows frontail will show by default when the UI is loading and how many rows frontail will show max while you leave the UI open.

Unfortunately I forgot where to configure this (sorry), have a look into the frontail docs.

On my system I see data for about 20minutes after a refresh! When the lage is just running it keeps older data as well, however there might be times with no data.
I don 't think that something is wrong with my system as well as yours.

Thanks, so frontail should be ok, only need to figure out how to change the number of log messages.

Is it also ok that only 50MB RAM are available?
Memory = Free: 0.05GB (6%), Used: 0.89GB (94%), Total: 0.94GB

Yes Linux does not release ram unless you need it, plus openhab uses the heap space.

It’s showing the contents of the current logfile. Has it been rotated 40 mins ago ?

1 Like