https://bugzilla.wikimedia.org/show_bug.cgi?id=69604
Bug ID: 69604
Summary: acct (process and login accounting) fill up instances
/var/ partition
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Infrastructure
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Blocks: 69601
Web browser: ---
Mobile Platform: ---
I noticed 'acct' generates log files under /var/log/account/ which is on a 2GB
partition. It is log rotated via a daily cron /etc/cron.daily/acct , keeping
the last day uncompressed.
On deployment-bastion.eqiad.wmflabs that is 542MB currently, or a quarter of
/var/ available disk space.
/etc/default/acct has an option to change the number of day to be kept:
# Amount of days that the logs are kept.
ACCT_LOGGING="30"
Maybe we can reduce it to 15 days?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l