From: "Mats G Karlsson" <atomaka () ato ! abb ! se>
To: tru64-unix-managers
Subject: Accounting WARNING
Date: Tue, 08 Oct 1996 11:46:39 +0000 [thread overview]
Message-ID: <96076340321407.tru64-unix-managers.marc@archive.invalid> (raw)
I don't know if this is common knowledge but here it is anyway:
If you are running process accounting on a Digital UNIX system you might be
temped to just uncomment the default entries for runacct, ckpacct och monacct
in user adm's crontab. This might get you into trouble...
If your system runs a lot of processes the file /var/adm/pacct might
grow very quickly. If you're running ckpacct from crontab it splits the pacct
file into several files. If the number of pacct files grows beyond nine in a
day you have a problem!
Days when you get more than nine pacct files you're accounting summary will be
empty! The problem is caused by runacct which calls acctmerg with names of
pacct files as arguments. acctmerg cannot handle more than nine arguments!
The problem is easily solved either by disabling ckpacct in the crontab or by
giving it a higher limit for when the pacct file should be split. It takes
the number of blocks as it's first argument, the default is 500.
I think Digital should change the default crontab extry. Todays fast systems
can create enormous amounts of accounting information which will trigger this
problem.
/Mats
===============================================================================
Mats G Karlsson E-mail: atomaka@ato.abb.se (__)
ABB Atom AB (oo)
Avd: AUP Tel: +46 (0)21 347762 \/-------\
S-721 63 Vasteras Fax: +46 (0)21 347088 || | \
Sweden ||---W|| *
===============================================================================
reply other threads:[~1996-10-08 11:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox