From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14929 invoked from network); 6 Oct 1998 12:16:55 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 6 Oct 1998 12:16:55 -0000 Received: from neptune.phys.ufl.edu (neptune-gw.phys.ufl.edu [128.227.64.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA12679 for ; Tue, 6 Oct 1998 08:12:56 -0400 Received: from hee.phys.ufl.edu (hee.phys.ufl.edu [128.227.89.254]) by neptune.phys.ufl.edu (8.8.8/8.8.5) with SMTP id IAA08407 for axp-list@redhat.com; Tue, 6 Oct 1998 08:12:55 -0400 (EDT) From: Craig P Prescott Message-Id: <199810061212.IAA08407@neptune.phys.ufl.edu> X-Authentication-Warning: neptune.phys.ufl.edu: hee.phys.ufl.edu [128.227.89.254] didn't use HELO protocol To: axp-list@redhat.com Subject: Re: runaway klogd/syslogd happening now In-reply-to: Your message of "Tue, 06 Oct 1998 01:12:11 MDT." <199810060712.BAA24321@ellpspace.math.ualberta.ca> Date: Tue, 06 Oct 1998 08:12:55 -0400 X-Mts: smtp >>>>> "mj" == Michal Jaegermann 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("NFS server helix06 not responding, still trying. <4>NFS server helix06 OK. <4>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>