Issue GoAccess using significantly more RAM after update to Plesk Obsidian 18.0.79?

Azurel

Silver Pleskian
Server operating system version
AlmaLinux 8.10
Plesk version and microupdate number
Plesk Obsidian 18.0.79#2
I'm trying to determine whether this is a bug or just a coincidence after upgrading to Plesk Obsidian 18.0.79. Since the update, I've noticed that the GoAccess report generation suddenly consumes MUCH more memory than before.

Some details:
  • AlmaLinux 8.10 with 128 GB RAM
  • GoAccess is started by Plesk with --persist --restore --keep-last 90
  • Current access log size for ONE domain: ~969 MB
  • GoAccess persistence database for ONE domain: ~26 GB
  • During report generation, the GoAccess process reaches about 47 GB(!) for ALL domains, before this never happen.
The command being executed is:
# ps aux --sort=-%mem | head -30

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3260406 99.1 37.6 60169848 49425936 ? Rl 04:00 331:22 goaccess --html-report-title EXAMPLE.com --log-format COMBINED --persist --restore --keep-last 90 --db-path /var/www/vhosts/system/EXAMPLE.com/goaccess/webstat-ssl --output /var/www/vhosts/system/EXAMPLE.com/statistics/webstat-ssl/index.html /var/www/vhosts/system/EXAMPLE.com/logs/access_ssl_log.webstat

I'm wondering whether anything changed in Plesk 18.0.79 regarding GoAccess, for example:
  • a cron job no longer running (or not running regularly),
  • log rotation changes,
  • GoAccess persistence no longer being cleaned up correctly,
  • or another known issue that could cause the persistence database to grow unexpectedly.
Has anyone else observed similar behavior after upgrading to 18.0.79? Any ideas on what else I should check would be greatly appreciated.

# htop
1784016120879.png
 
I checked my RAM monitoring history and found that the increase did not start with the Plesk update. The memory usage started to increase suddenly on July 8th. Before that date, the server never ever used that much RAM. (02. July was a server restart because almalinux security patches)

1784017389249.png

Offtopic: Why is here a scrollbar and legend is not visible?
 
I have now disabled GoAccess for all (2) domains in Plesk. The "goaccess" directories were removed from the server as expected. However, I noticed that the process itself is still running and continues to consume around 50 GB of RAM. Is there a recommended "plesk way" to stop/clean up these remaining GoAccess processes or it safe to simply terminate the process manually with "kill 3260406"?
root 3260406 99.1 37.6 60169848 49425936 ? Rl 04:00 331:22 goaccess --html-report-title EXAMPLE.com --log-format COMBINED --persist --restore --keep-last 90 --db-path /var/www/vhosts/system/EXAMPLE.com/goaccess/webstat-ssl --output /var/www/vhosts/system/EXAMPLE.com/statistics/webstat-ssl/index.html /var/www/vhosts/system/EXAMPLE.com/logs/access_ssl_log.webstat
 
Hi, @Azurel . I can't find any recent changes performed concerning GoAccess. Neither can I locate any recent complaints of memory usage spikes specifically related to GoAccess.
Manually killing the remaining tasks shouldn't be an issue.
Have you checked the actual access logs for any traffic spikes? It's worth ruling out a DDoS (or even just heavy bot/scraper traffic).
 
Back
Top