Red Hat Bugzilla – Bug 53307
logrotate setting unreasonable
Last modified: 2008-05-01 11:38:00 EDT
Description of Problem:
The default setting for psacct, which keep a month of logs, uncompressed,
are pretty unreasonable, IMO.
I've got a single user system, does do its own mail, but no ftp serving,
and web serving limited to my own use at my job through access files.
My /var/log/psacct files average about 1.5G/week. So that's > 6G reserved
for /var/log/psacct* files.
I've cut it down to 2 weeks and gzipped 'em and I'm using 500M. That's
plenty right there.
Suggest at least adding "compress" to the logrotate defaults. I see
rawhide rotates daily, but still does not compress, and still keeps a
month. At the least, people need to warned that even this setting will
use up a gig of log space with compression.
And, of course, when /var runs out of space, it's not very pretty ....
BTW I had to log in 6 six times to query and then post this bug. And I
have the cookies. Auuuggghh!!!!!
Yep, agreed. I've added "compress" to logrotate, and rebuilt.
Will be in final release, thanks for the report.
The cookie problem is likely due to firewall issues or proxy.
I've heard reports like that before. If not, I'm not sure.
File a bug report against bugzilla itself.