Bug 52572 - psacct's logrotate cloggs up /var/log
psacct's logrotate cloggs up /var/log
Product: Red Hat Linux
Classification: Retired
Component: psacct (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
Depends On:
  Show dependency treegraph
Reported: 2001-08-25 11:54 EDT by greg hosler
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-25 11:54:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description greg hosler 2001-08-25 11:54:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-2smp i686; Nav)

Description of problem:
/etc/logrotate.d/psacct states the following:


Note that /var/log/pacct file is a fast growing file
This really should be rotated on a daily basis and
compressed. Keep 'em for a month, or longer, but do so
in a compressed form. 1 week on a lightly used system
will create a pacct log file close to 200 mb.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.install psacct rpm
2.leave system run for a week (that's 1 "logrotate week")
3. examine size of pacct file (if /var has not filled up in th e meantime!

Actual Results:  /var fills up in  less than a week

Expected Results:  /var should not need several gigs of storage space
(which it will for 4 to 5 uncompressed monthly paccts).

Additional info:
Comment 1 Mike A. Harris 2001-08-26 17:59:09 EDT
Changed to daily rotation with 31 days worth of logs kept.

psacct-6.3.2-7 will be in final release.

Note You need to log in before you can comment on or make changes to this bug.