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

Trim outdated sections from the tuning guide #3534

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Dec 19, 2024

What changes are you introducing?

The goal is to make the tuning guide as short as possible with only relevant information. Overall we should work towards a good out-of-the-box experience without the need to manually tune. Manual tuning really is for the cases where our automatic code doesn't work.

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

For most changes in this PR we have included the changes in the installer or the platform changed. See individual commits for details. Where possible I tied it back to the Redmine issue that changed it.

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

For now I've only selected 3.13 as the cherry pick, but looking a the changes I think it also applies to many older versions.

Checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 3.13/Katello 4.15
  • Foreman 3.12/Katello 4.14 (Satellite 6.16)
  • Foreman 3.11/Katello 4.13 (orcharhino 6.11 on EL8 only; orcharhino 7.0 on EL8+EL9)
  • Foreman 3.10/Katello 4.12
  • Foreman 3.9/Katello 4.11 (Satellite 6.15; orcharhino 6.8/6.9/6.10)
  • Foreman 3.8/Katello 4.10
  • Foreman 3.7/Katello 4.9 (Satellite 6.14)
  • We do not accept PRs for Foreman older than 3.7.

@ekohl
Copy link
Member Author

ekohl commented Dec 19, 2024

@Imaanpreet could you have a look?

Edit: also, if we say that you always want 16 Puma threads, why don't we make that the default?

@ekohl ekohl marked this pull request as ready for review December 19, 2024 13:06
. Run the installer:
[options="nowrap" subs="attributes"]
----
# {foreman-installer}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't getting replaced in the rendered document and I can't see why.

Back with Pulp 2 and Passenger were used this was needed, but these days
it's no longer needed.
The installer now automatically sets the pool size large enough to
accommodate the additional connections needed by Katello and users
shouldn't touch these values anymore.
@@ -22,9 +22,12 @@ postgresql::server::config_entries:
autovacuum_vacuum_cost_limit: 2000
----
+
. Run the installer:
[options="nowrap" subs="attributes"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[options="nowrap" subs="attributes"]
+
[options="nowrap" subs="+quotes,verbatim,attributes"]

@@ -24,6 +24,9 @@ apache::mod::event::maxrequestworkers: 1024
apache::mod::event::maxrequestsperchild: 4000
----
+
. Run the installer:
[options="nowrap" subs="attributes"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[options="nowrap" subs="attributes"]
+
[options="nowrap" subs="+quotes,verbatim,attributes"]

The installer matches threads_min to threads_max and users shouldn't
touch this.
Rather than referring readers to a chapter that has some generic
instructions, this includes them so the procedure is complete.

Fixes: d217c11 ("Add procedure to apply changes to configuration (theforeman#1444)")
In b7fda4a a note was dropped, but not
entirely.

Fixes: b7fda4a ("Add feedback from Github")
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

Successfully merging this pull request may close these issues.

3 participants