| Summary: | When using cgroups to prevent Memory leakage - Satellite server works slowly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sasha Segal <ssegal> | ||||
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.2.0 | CC: | abraverm, bbuckingham, bkearney, mhulan, ssegal, ttereshc | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-01-18 13:22:51 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Sasha Segal
2016-11-22 15:08:23 UTC
Hi Sasha, Can you attach a foreman-debug of the server where you are observing the memory growth? Is it only mongodb memory that is growing? Created attachment 1223048 [details]
Forebug debug log
Uploaded debug log. Looks like without cgroups only MongoDB is growing memory. 2GB cgroups limit on MongoDB makes it crash after some time. 4GB cgroups limit does not crash MongoDB but server again get in swap of ~1GB and works slowly. Moving to Pulp component, Tanya, do you happen to know whether this is expected or any other workaround for MongoDB? My understanding is probably 4GB is not enough for MongoDB for this setup/usage. MongoDB is known to be greedy in terms of memory usage but at the same time it releases it quickly when needed. So if it's MongoDB which goes into swap then I guess it requires more than 4GB as a minimum. There're some docs how to measure what's the minimum for a particular case, maybe worth trying: https://docs.mongodb.com/manual/faq/diagnostics/#how-do-i-calculate-how-much-ram-i-need-for-my-application Suggest close the issue, may be some online documentation related to this would be enough. |