From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321407.tru64-unix-managers.marc@archive.invalid> From: "Mats G Karlsson" Date: Tue, 08 Oct 1996 11:46:39 +0000 To: tru64-unix-managers Subject: Accounting WARNING X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321407 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|| * ===============================================================================