Skip to content

feat(ansible): add fs.file-max and fs.aio-max-nr to tuned profile#2228

Draft
hunleyd wants to merge 1 commit into
developfrom
feat/tuned-sysctl-updates
Draft

feat(ansible): add fs.file-max and fs.aio-max-nr to tuned profile#2228
hunleyd wants to merge 1 commit into
developfrom
feat/tuned-sysctl-updates

Conversation

@hunleyd

@hunleyd hunleyd commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

This PR updates the PostgreSQL tuned profile in ansible/tasks/setup-tuned.yml to include two important sysctl performance optimizations:

  • fs.file-max: Set to 312139770 to ensure the system can handle a high number of open file descriptors.
  • fs.aio-max-nr: Set to 1048576 to 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.

@hunleyd hunleyd force-pushed the feat/tuned-sysctl-updates branch 7 times, most recently from e7cccdd to 65d90d9 Compare June 18, 2026 19:08
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.
@hunleyd hunleyd force-pushed the feat/tuned-sysctl-updates branch from 65d90d9 to f4d7dda Compare June 18, 2026 19:10
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.

1 participant