[comp.sys.sun] Syslogd is eating my CPU for breakfast

fmbutt.UUCP@seismo.css.gov (Farooq Butt) (11/23/88)

Syslogd sometimes, rather mysteriously starts consuming an inordinate
amount of CPU time, to the extent of driving up my load averages to
unbelievable levels on a single user 3/60 running 4.0. The only way I have
found (short of killing syslogd) is to reboot and the problem vanishes
--to reappear later.  Tell me people...am I going insane ?

     Hating Syslogd and OS 4.0,    
          Farooq Butt 

ji@read.cs.columbia.edu (John Ioannidis) (12/04/88)

In article <2368@cloud9.UUCP> you write:
>X-Sun-Spots-Digest: Volume 7, Issue 21, message 4 of 12
>
>Syslogd sometimes, rather mysteriously starts consuming an inordinate
>amount of CPU time, to the extent of driving up my load averages to
>unbelievable levels...

RTFM!  I'm quoting from the SunOS Release 4.0 READ THIS FIRST, page 3:

7. The symbol LOGHOST is not correctly defined by syslogd on loghost
machines.  This results in 100% CPU usage and syslod accumulating
large amounts of CPU time.

To prevent this problem insert the following line at the beginning of
/etc/syslogd.conf on loghost machines:

	define(LOGHOST, 1)

[[ My thanks to everyone else who has sent in (or will send in) similar
information.  --wnl ]]

/ji

In-Real-Life: John "Heldenprogrammer" Ioannidis
Organization: GIP Altair [IN2-INRIA-LRI]
P-Address: Domaine de Voluceau, BP 105 / Rocquencourt 78153 Le Chesnay / France
V-Address: +33 1 39635417
E-Address: ...!mcvax!inria!bdblues!ji, ji@bdblues.altair.fr
Alt-E-Address: ji@cs.columbia.edu