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

Update prometheus role to increase nofile limit for service #221

Merged
merged 1 commit into from
May 5, 2021

Conversation

xitij2000
Copy link
Member

The default nofile limit for prometheus is quite low, and the upstream change with the fix comes with a lot of other changes that we can't apply right now.

This will override the prometheus systemd unit to apply this limit without editing the existing file.

…m change

with the fix comes with a lot of other changes that we can't apply right now.

This will override the prometheus systemd unit to apply this limit without
editing the existing file.
@shimulch
Copy link
Contributor

shimulch commented May 4, 2021

@xitij2000 I think this is related to #210

Copy link
Contributor

@giovannicimolin giovannicimolin left a comment

Choose a reason for hiding this comment

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

👍

  • I tested this:
  1. Added a tag to the extra task.
  2. Ran the playbooks with the specific tag.
  3. Checked that the configuration was deployed to the prometheus server.
  • I read through the code
  • I checked for accessibility issues
  • Includes documentation

@xitij2000 LGTM.

@xitij2000
Copy link
Member Author

@xitij2000 I think this is related to #210

It does, but my understanding is that PR can't merge for quite some time till we upgrade other parts of our infrastructure. This can solve the issue for now, and we can remove this patch when the other PR merges.

@xitij2000 xitij2000 merged commit 08b552d into master May 5, 2021
@xitij2000 xitij2000 deleted the kshitij/fix-prometheus-nofile-limit branch May 5, 2021 06:03
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