Skip to content

TODO: add logrotate renice to www server ansible script #2920

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

Closed
rvagg opened this issue Apr 9, 2022 · 2 comments
Closed

TODO: add logrotate renice to www server ansible script #2920

rvagg opened this issue Apr 9, 2022 · 2 comments
Labels

Comments

@rvagg
Copy link
Member

rvagg commented Apr 9, 2022

Not doing this now because I don't have time, I'd love it if someone else would pick this up. It probably just needs an exists directive with a replace regex or something. I've done this on the server:

/etc/cron.daily/logrotate, replace:

/usr/sbin/logrotate /etc/logrotate.conf

with

nice -n 19 ionice -c3 /usr/sbin/logrotate /etc/logrotate.conf

it's at the end of the file.

@rvagg
Copy link
Member Author

rvagg commented Apr 9, 2022

@github-actions
Copy link

github-actions bot commented Feb 4, 2023

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Feb 4, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant