Project

General

Profile

Bug #29426

Configure default MongoDB WiredTiger cache to be 20% of RAM

Added by Suresh Thirugnanasambandan 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1798668

Description of problem:
Configure default MongoDB cache to be 20% of RAM in the Satellite server. See KCS [1] for more info.

Version-Release number of selected component (if applicable):
Satellite 6.6

How reproducible:
N/A

Steps to Reproduce:
1. Mongod process with the WiredTiger engine consumes up to 50% of RAM on Satellite. See https://docs.mongodb.com/manual/core/wiredtiger/#memory-use On larger Satellite installations, MongoDB ends up consuming a large amount of memory affecting other Satellite tasks.
2. With internal testing from the Performance Engineering team, it has been found that using 20% of RAM is ideal for MongoDB WiredTiger cache.

Actual results:
There is no tuning for WiredTiger cache size so it goes on to consume up to 50% of RAM in Satellite.

Expected results:
Configure default MongoDB WiredTiger cache size to be 20% of RAM in the Satellite server.

Additional info:
[1] https://access.redhat.com/solutions/4505561

Associated revisions

Revision f650f590 (diff)
Added by Suresh Thirugnanasambandan 4 months ago

Fixes #29426 - Configure default mongo cache size

Configuring default mongo cache size to 20% of total memory. See1
Otherwise mongo goes onto consume about 50% of total memory. See2

[1] https://access.redhat.com/solutions/4505561
[2] https://docs.mongodb.com/manual/core/wiredtiger/#memory-use

History

#1 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/492 added

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.1.0 added

#3 Updated by Suresh Thirugnanasambandan 4 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 3 months ago

  • Subject changed from Configure default MongoDB WiredTiger cache to be 20% of RAM in the Satellite server to Configure default MongoDB WiredTiger cache to be 20% of RAM

Also available in: Atom PDF