mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Madhu R" <tuxmadhu@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: KLOGD loops continuously calling 'syslog' system call when prink is disabled
Date: Thu, 19 Jun 2008 18:39:10 +0530	[thread overview]
Message-ID: <94a8a9170806190609v4ad0049dva37c9712f3d928a1@mail.gmail.com> (raw)
In-Reply-To: <94a8a9170806190606r626bc57aq77c46586af97ea05@mail.gmail.com>

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.

       reply	other threads:[~2008-06-19 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <94a8a9170806190531j7404c96ei4bee3cf5774cbe5a@mail.gmail.com>
     [not found] ` <94a8a9170806190559x3d253006ic009b9c4b6714e5b@mail.gmail.com>
     [not found]   ` <94a8a9170806190606r626bc57aq77c46586af97ea05@mail.gmail.com>
2008-06-19 13:09     ` Madhu R [this message]
2008-06-19 15:34       ` WANG Cong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a8a9170806190609v4ad0049dva37c9712f3d928a1@mail.gmail.com \
    --to=tuxmadhu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®