From: Craig P Prescott <prescott@phys.ufl.edu>
To: axp-list@redhat.com
Subject: Re: runaway klogd/syslogd happening now
Date: Tue, 06 Oct 1998 08:12:55 -0400 [thread overview]
Message-ID: <199810061212.IAA08407@neptune.phys.ufl.edu> (raw)
In-Reply-To: Your message of "Tue, 06 Oct 1998 01:12:11 MDT." <199810060712.BAA24321@ellpspace.math.ualberta.ca>
>>>>> "mj" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:
mj> Uncle George wrote:
>> actually its klogd that reads kern messages, like the one u
>> posted.
>>
>> its probably better to fix the kern messages.
mj> Patches which Jay announced for 2.0.35 (and things which I
mj> hacked based on that for an upcoming 2.0.36) actually add
mj> missing newline. It is in arch/alpha/kernel/traps.c.
mj> --mj
Cool. On a related note, I noticed tonight that klogd silently dies
(syslogd remains alive) more frequently than we get the syslogd/klogd
runaway problem - I just never noticed. From previous discussions I
don't recall "death of klogd" as documented behavior. Is this known
behavior? Seems that klogd goes away whenever the contents of
/proc/kmsg hits 8192 bytes.(?)
[root@helix07 tmp]# ps aux | grep klogd
root 12873 0.0 0.4 2120 560 p2 D 15:38 0:00 grep klogd
[root@helix07 tmp]# head -1 /var/run/klogd.pid
165
[root@helix07 tmp]# ps aux | grep 165
root 12889 0.0 0.4 2184 608 p2 S 15:46 0:00 grep 165
[root@helix07 tmp]# ps aux | grep syslog
root 156 0.0 0.2 7464 336 ? S Oct 5 0:04 syslogd
root 12899 0.0 0.0 192 24 p2 R 15:47 0:00 grep syslog
[root@helix07 tmp]# cat /proc/kmsg > kmsg.log
^C
[root@helix07 tmp]# wc kmsg.log
5 395 8192 kmsg.log
About 10 machines were as above. There was no evidence in
/var/log/messages that klogd had left the building. The contents of
kmsg.log from above are at the end of this note - you can see that
almost all of this stuff comes from do_entSys in traps.c (at least it
is the only printk("<sc...") in the kernel).
I'm not sure what to make of this - I know nothing of sysklogd (or
linux) innards, but I'm learning. Is it normal that /proc/kmsg can
get to 8 Kbytes? If all the newlines get put in like they should,
will klogd still die if /proc/kmsg gets too big? I guess this is
easily testable. Are death and runaway both reasonable results of
trashing the stack?
All this probably explains the unexpectedly low frequency of
syslogd/klogd runaways I've seen since my original post - haven't had
a runaway in the last few days on any machine - most of my klogd
processes were dead before they could go bananas. This fits the
hypothesis that syslogd doesn't get mad if klogd is not bugging it.
Cheers,
Craig
---
Craig P Prescott (352) 846-3145 (Phone)
2011 New Physics Building (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611 prescott@phys.ufl.edu
[root@helix07 tmp]# cat kmsg.log
0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f320a0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,!
!
40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)>NFS server helix06 not responding, still trying.
<4>NFS server helix06 OK.
<4><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f30cd0,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)!
!
><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f2d470,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><!
!
sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc!
!
49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)>EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
<2>EXT2-fs error (device 08:11): ext2_check_blocks_bitmap: Wrong free blocks count for group 487, stored = 0, counted = 216
<2>EXT2-fs error (device 08:11): ext2_check_blocks_bitmap: Wrong free blocks count in super block, stored = 6741676, counted = 6741892
<4><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)!
!
><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><!
!
sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc!
!
49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)><sc 49(140f3bc70,40,8)>
next prev parent reply other threads:[~1998-10-06 12:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-05 21:24 runaway klogd/syslogd happening now Greg Lindahl
1998-10-06 0:09 ` Uncle George
1998-10-06 0:27 ` Barrett G. Lyon
1998-10-06 0:46 ` Uncle George
1998-10-06 0:45 ` Barrett G. Lyon
1998-10-06 7:12 ` Michal Jaegermann
1998-10-06 12:12 ` Craig P Prescott [this message]
1998-10-06 22:09 ` Jeff Sturm
1998-10-06 22:52 ` Peter Waltenberg
1998-10-07 10:22 ` Uncle George
-- strict thread matches above, loose matches on Subject: below --
1998-10-06 15:47 Greg Lindahl
1998-10-06 16:05 ` Michal Jaegermann
1998-10-06 19:53 ` Quant-X Alpha Linux Support
1998-10-06 15:44 Greg Lindahl
1998-10-06 13:15 Greg Lindahl
1998-10-06 13:26 ` Barrett G. Lyon
1998-10-06 15:31 ` Michal Jaegermann
1998-10-04 21:20 Greg Lindahl
1998-10-04 21:48 ` B. James Phillippe
1998-10-04 23:24 ` Uncle George
1998-10-04 14:39 Greg Lindahl
[not found] <199810030609.CAA23387@neptune.phys.ufl.edu>
1998-10-04 13:41 ` Uncle George
1998-10-03 15:03 David Levine
1998-10-03 7:12 Shane Steven Sturrock
1998-10-03 0:29 Greg Lindahl
1998-10-03 0:58 ` B. James Phillippe
1998-10-05 6:11 ` Craig P Prescott
1998-10-02 19:30 Craig P Prescott
1998-10-02 22:39 ` Uncle George
1998-10-03 0:02 ` Craig P Prescott
1998-10-03 3:00 ` Paul Tomblin
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