-
Notifications
You must be signed in to change notification settings - Fork 7
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
Document logs rotation and compression setup #243
Comments
Hi, The logs are not compressed after rotation in
I have seen an increase in disk space usage of 1G a day with several perfsonar toolkit hosts and maddash hosts failing by running out of space. It should an easy fix to correct logrotate to compress all files. Alternatively, advise admins to do so. Regards, |
Thanks Raul, were these CentOS-7 systems? Upgraded from 4.4.x? Were the logs compressed before upgrade? |
Hi Laetitia, Yes, they are all ps 5 on CentOS7. In all cases, updated from perfSONAR 4.4. Raul |
It is confirmed that on a 4.4.x CentOS7 host, the logs in those directories are not compressed:
The default CentOS7
|
Chatted about this and next action is to find best place to document how to enable compression on el7 or any other OS with it disabled by default. |
Do we recommend just enabling compress option for the whole system in logrotate.conf? Otherwise we would have to specify a specific logrotate config |
@szymontrocha Yes I think a general compression doesn't hurt. That's the way it's done by default on Debian and Ubuntu systems. That's also the way you save the most disk space. |
This may be as simple as the following FAQ entry: Enabling log compression with logrotate.conf |
We had reports of disk space exhaustion in some hosts migrated to 5.0. Some users were reporting OpenSearch logs were not compressed and others reporting some Apache logs were not rotated.
We need more information to be able to debug this further. Maybe @rhclopes can give us more information.
The text was updated successfully, but these errors were encountered: