Bug 1851158

Summary: Configure default MongoDB WiredTiger cache to be 20% of RAM in the Satellite server
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.6.0CC: egolov, ktordeur, mmccune, pcreech, satellite6-bugs, smajumda, spetrosi, wclark, wpinheir, zhunting
Target Milestone: 6.7.2Keywords: PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-installer-1.24.1.21-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1798668 Environment:
Last Closed: 2020-07-30 20:21:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Devendra Singh 2020-07-09 07:03:17 UTC
Verified on 6.7.2 Snap1

Verification points:

* foreman-installer version
     # rpm -q foreman-installer
     foreman-installer-1.24.1.21-1.el7sat.noarch

* Changes reflected in /usr/share/foreman-installer/config/foreman.hiera/tuning/common.yaml

# cat /usr/share/foreman-installer/config/foreman.hiera/tuning/common.yaml
---
lookup_options:
  postgresql::server::config_entries:
    merge: hash

apache::mod::passenger::passenger_max_pool_size: 12
apache::mod::passenger::passenger_max_instances_per_app: 6
apache::mod::passenger::passenger_max_request_queue_size: 250

....
....
mongodb::server::config_data:
  storage.wiredTiger.engineConfig.cacheSizeGB: "%{facts.kafo.scenario.custom.mongo_cache_size}"

* Satellite servers actual memory: 20379896

 The default configured cache memory in mongod.conf(/etc/opt/rh/rh-mongodb34/mongod.conf): storage.wiredTiger.engineConfig.cacheSizeGB: 3.89

Comment 7 errata-xmlrpc 2020-07-30 20:21:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3255

Comment 8 Red Hat Bugzilla 2024-02-04 04:25:56 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days