Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU usage #171

Open
kroese opened this issue Dec 22, 2023 · 0 comments
Open

High CPU usage #171

kroese opened this issue Dec 22, 2023 · 0 comments

Comments

@kroese
Copy link

kroese commented Dec 22, 2023

I always notice that the container uses relatively a lot of CPU continously, I am not really sure what its doing, but maybe its just the task of parsing the logs. In any case its using far more than Nginx Proxy Manager itself, which is a bit weird, since I would expect NPM to have more to do than GoAccess.

Anyway, as I am not looking at GoAccess that often (max once a week) I now manually start the container when I need it, and stop it when Im done. But that becomes a bit cumbersome.

So what I really would prefer is an option to only start parsing the logs as soon as I visit the web UI of GoAccess, and that it goes to sleep after no activity for 15 minutes or so. Ofcourse that will make visiting the page a lot slower, but as I am not often doing that its no problem.

That way I could leave the container running 24/7 without it taking any CPU. Would you be willing to implement such an "on-demand" option?

@kroese kroese changed the title On-Demand parsing High CPU usage Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant