accounting suspended!
Tad Guy
tadguy at cs.odu.edu
Thu Oct 5 03:26:53 AEST 1989
In article <1899 at brazos.Rice.edu> david at wubios.wustl.edu (David J. Camp) writes:
| Oct 3 16:15:42 wubios vmunix: Accounting suspended
| Oct 3 16:30:03 wubios vmunix: Accounting resumed
Can anyone guess what causes accounting to be suspended? -David-
No guesses needed.
[ excerpted from the 4.3BSD sys_acct.c file ]:
* Accounting is suspended when the number of free blocks in the accounting
* file's filesystem (as calculated by the freeblks() macro) is less than the
* number of blocks used by the accounting file itself. Accounting is also
* suspended when the filesystem freespace is extremely close to exhaustion
* (as defined by ACCT_MINFREE).
*
* Accounting is resumed when the number of free blocks in the filesystem is
* greater than twice the number of blocks used by the accounting file.
* Accounting is not resumed if the freespace is less than the hard limit
* defined by ACCT_MINFREE. This is to prevent thrashing when both freespace
* and the accounting file are small.
In 4.3BSD, the default value of ACCT_MINFREE is 200.
...tad
More information about the Comp.sys.sun
mailing list