-
Notifications
You must be signed in to change notification settings - Fork 55
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
Effects of a memory limit on Docker Collection #53
Comments
Hi @aleclarson , how many sources do you have in this collector? The number of sources and ingest volume may affect memory usage. You can definitely try reducing the polling interval for your Docker Stats source. Please also take a look at our help page for collector memory usage: https://help.sumologic.com/Send-Data/Collector-FAQs/Collector-Uses-More-than-the-Allocated-Memory Thanks, |
My 2 sources are Is that amount of memory usage normal? |
Has this number been lower on your collector (with previous collector version or any configuration changes on sources), or have you just noticed the memory usage lately? It is very possible this is the normal usage based on your configuration and ingest volume. |
I'm a new user of SumoLogic, so I can't comment on previous versions. But I can tell you What about |
Java-based processes can be memory consuming. The .jar dependencies we ship in the collector is ~50 MiB, and the java runtime itself will either direct consume or reserve (at least) 10s more MB. So a collector with no source would already gets to ~100 MiB. With sources configured, ~180 MiB doesn't look very surprising. |
I noticed the SumoLogic container created with
sumologic/collector:latest
takes up 180 MiB of memory. Is there a recommended way of reducing such usage?Obviously, I could set a memory limit when starting the container, but I'm not aware of what the effects would be.
Would reducing the
docker stats
polling interval be enough to reduce memory usage?Thanks.
The text was updated successfully, but these errors were encountered: