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

Making GC related fields tunable #2261

Merged
merged 4 commits into from
Feb 1, 2017
Merged

Making GC related fields tunable #2261

merged 4 commits into from
Feb 1, 2017

Conversation

diptanu
Copy link
Contributor

@diptanu diptanu commented Jan 31, 2017

No description provided.

Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -53,6 +53,9 @@ client {
data_points = 35
collection_interval = "5s"
}
gc_interval = "6s"
gc_disk_usage_threshold = 82
gc_inode_usage_threshold = 91
Copy link
Member

Choose a reason for hiding this comment

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

Whitespace

@@ -151,6 +151,18 @@ type Config struct {
// TLSConfig holds various TLS related configurations
TLSConfig *config.TLSConfig

// GCInterval is the time interval at which the client triggers garbage
// collection
GCInterval time.Duration
Copy link
Contributor

Choose a reason for hiding this comment

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

Website docs

@diptanu diptanu merged commit 6807f31 into master Feb 1, 2017
@diptanu diptanu deleted the f-gc-threshold branch February 1, 2017 00:44
@jippi
Copy link
Contributor

jippi commented Feb 1, 2017

@diptanu will this allow me to configure nomad to not wipe any allocations before, say, 24h ?

@dadgar
Copy link
Contributor

dadgar commented Feb 1, 2017

@jippi Nope this just allows picking at what disk usage percentage GC kicks in

@jippi
Copy link
Contributor

jippi commented Feb 1, 2017

@dadgar okay, i really want to be able to extend the disk GC to be more than 4h, more than once i've lost template or logs for debugging :)

@dadgar
Copy link
Contributor

dadgar commented Feb 27, 2017

@jippi #2370

Since you asked nicely 👍

@github-actions
Copy link

github-actions bot commented Apr 5, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants