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

Increase GC #22

Open
mr-karan opened this issue Dec 12, 2024 · 1 comment
Open

Increase GC #22

mr-karan opened this issue Dec 12, 2024 · 1 comment

Comments

@mr-karan
Copy link
Member

client {
  # Default is "1m" - increase this for less frequent GC runs
  gc_interval = "5m"  

  # Default is 80% - lower this to be more aggressive with GC
  gc_disk_usage_threshold = 90

  # Default is 70% - lower this for more aggressive inode-based GC
  gc_inode_usage_threshold = 80

  # Default is 50 - increase this to keep more terminal allocations
  gc_max_allocs = 100

  # Default is 2 - controls parallel allocation cleanup
  gc_parallel_destroys = 2
}
@mr-karan
Copy link
Member Author

Need to increase https://developer.hashicorp.com/nomad/docs/configuration/server#job_gc_threshold as well.

These options should be configurable

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

No branches or pull requests

1 participant