[comp.sys.sun] accounting suspended!

david@wubios.wustl.edu (David J. Camp) (10/04/89)

Can anyone guess what causes accounting to be suspended?  -David-

Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wucs1.wustl.edu    < * >    Box 8067, Biostatistics
uucp:     uunet!wucs1!wubios!david          v      660 South Euclid
Washington University (314) 36-23635               Saint Louis, MO 63110

Forwarded message:

|From: phil (J. Philip Miller)
|Date: Tue, 3 Oct 89 17:28:42 CDT
|X-Mailer: ELM [version 2.2 PL11]
|
| Oct  3 16:05:42 wubios su: BAD SU jeff on /dev/ttyp3
| Oct  3 16:05:47 wubios su: jeff on /dev/ttyp3
| Oct  3 16:08:36 wubios login: DIALUP ttyd1, warren
| Oct  3 16:15:42 wubios vmunix: Accounting suspended
|
|hmmmmmmmmmm
|
|anyone know why this happened?  If not how about a posting to sunspots?
|
|
|
| Oct  3 16:27:32 wubios ftpd[15006]: connection from wubios6 at Tue Oct  3 16:27:32 1989
| Oct  3 16:27:37 wubios ftpd[15006]: login ok 'genetics'
| Oct  3 16:30:01 wubios ftpd[15010]: connection from wubios6 at Tue Oct  3 16:30:01 1989
| Oct  3 16:30:03 wubios vmunix: Accounting resumed
| Oct  3 16:30:06 wubios ftpd[15010]: login ok 'genetics'

tadguy@cs.odu.edu (Tad Guy) (10/05/89)

In article <1899@brazos.Rice.edu> david@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