[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <94a8a9170806190609v4ad0049dva37c9712f3d928a1@mail.gmail.com>
Date: Thu, 19 Jun 2008 18:39:10 +0530
From: "Madhu R" <tuxmadhu@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: KLOGD loops continuously calling 'syslog' system call when prink is disabled
Hi All,
when I disable printk(CONFIG_PRINTK=n) in the kernel config
(2.6.26-rc6), the klogd loops continuously calling the 'syslog'
system call. It consumes 99% of the cpu time ( using 'top' command ) .
I found similar problem in the kernel mailing list and a patch had
gone into the mainline kernel
http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-11/msg03317.html
In the patch, it returns 'ENOSYS'' while calling 'syslog'
system call if printk is disabled. So the klogd keeps on calling this
'syslog' and returns ENOSYS and this process takes most of the CPU
time.
Please clarify whether I am following correct procedure or
this is DEFAULT behavior of klogd.
Thanks,
madhu.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists