Skip to content

High memory usage despite persisting data. #2909

@WinnerWind

Description

@WinnerWind

Hi.
My log file is about 1.27GiB of late.

Because of this, GoAccess has been eating up my RAM (about 1.4GiB on a small 8GiB memory system, which is highly undesirable). Because of this, I enabled on disk persistence hoping that the memory usage would decrease, but this has not been the case. After enabling disk persistence, memory usage has only increased by about 200MiB

My command (running via systemd)

goaccess /home/soham/access_combined.log -o /home/soham/GoAccess/access/index.html --log-format COMBINED --geoip-database=/usr/share/GeoIP/GeoLite2-City.mmdb --geoip-database=/usr/share/GeoIP/GeoLite2-Country.mmdb --geoip-database=/usr/share/GeoIP/GeoLite2-ASN.mmdb --real-time-html --ws-url={censored} --port=7890 --db-path=/home/soham/GoAccess/db-persist --persist --restore

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions