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

limit cache dir size to about 60% of free space #3693

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

keichwa
Copy link
Contributor

@keichwa keichwa commented Feb 11, 2025

@keichwa keichwa marked this pull request as ready for review February 11, 2025 15:16
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Ornela Marić <[email protected]>
Copy link
Contributor

@aaannz aaannz left a comment

Choose a reason for hiding this comment

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

The issue you are trying to fix here is present only on 4.3 where there is a bug in the configure-proxy not updating the cache size.

So please remove that tuning snippet, it is not relevant for 5.0 and later.

Comment on lines +222 to +225
In general, {suse} recommends to adjust the value for the cache directory to about 60 % of available free space.
Users can set the [option]``cache_dir`` option in the [path]``squid.conf`` manually.

For more information, see xref:specialized-guides:large-deployments/tuning.adoc#tune_proxy[].
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not correct.

  1. 60% is very small here because there is nothing else taking the storage.

To be safe we can follow rule on squid configuration, that is using 80% of the space.

We recommend to be this 100G, same as the storage for that partition. Which will be the default in 5.1.

  1. users cannot modify squid.conf anymore. This value is set when generating proxy configuration on the server.

@keichwa keichwa marked this pull request as draft February 12, 2025 15:52
keichwa added a commit that referenced this pull request Feb 13, 2025
* SUSE/spacewalk#26396
* #3693

* Update modules/specialized-guides/pages/large-deployments/tuning.adoc
* Apply suggestions from code review
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