feat(ansible): add fs.file-max and fs.aio-max-nr to tuned profile#2228
Draft
hunleyd wants to merge 1 commit into
Draft
feat(ansible): add fs.file-max and fs.aio-max-nr to tuned profile#2228hunleyd wants to merge 1 commit into
hunleyd wants to merge 1 commit into
Conversation
e7cccdd to
65d90d9
Compare
This update includes the addition of two key sysctl options to the PostgreSQL tuned profile: - fs.file-max: increased to 312139770 - fs.aio-max-nr: increased to 1048576 These changes are aimed at improving system-level performance and resource availability for PostgreSQL. Minor formatting and linting adjustments are also included to align with project standards.
65d90d9 to
f4d7dda
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the PostgreSQL tuned profile in
ansible/tasks/setup-tuned.ymlto include two important sysctl performance optimizations:312139770to ensure the system can handle a high number of open file descriptors.1048576to increase the maximum number of simultaneous asynchronous I/O operations.These updates improve the system's ability to support heavy PostgreSQL workloads. The changes also include minor maintenance updates for vertical key alignment in loops and general linting compliance.