All of lore.kernel.org
 help / color / mirror / Atom feed
* Faster logging?
@ 2002-04-25 15:50 Neal D. Becker
  2002-04-25 16:37 ` Juan Piernas Canovas
  0 siblings, 1 reply; 2+ messages in thread
From: Neal D. Becker @ 2002-04-25 15:50 UTC (permalink / raw)
  To: linux-kernel

Trying to debug using printk, we are getting buffer overun.  I think
that setting klogd to flush faster would fix this.  Man klogd doesn't
show any option to control the time that klogd sleeps.  Seems to me
that's a simple option to add.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Faster logging?
  2002-04-25 15:50 Faster logging? Neal D. Becker
@ 2002-04-25 16:37 ` Juan Piernas Canovas
  0 siblings, 0 replies; 2+ messages in thread
From: Juan Piernas Canovas @ 2002-04-25 16:37 UTC (permalink / raw)
  To: Neal D. Becker; +Cc: linux-kernel

On 25 Apr 2002, Neal D. Becker wrote:

> Trying to debug using printk, we are getting buffer overun.  I think
> that setting klogd to flush faster would fix this.  Man klogd doesn't
> show any option to control the time that klogd sleeps.  Seems to me
> that's a simple option to add.
Try this:

1.- /etc/rc.d/init.d/syslogd stop
2.- klogd -c 1
3.- killall -9 klogd
4.- nice -n -20 cat /proc/kmsg > your_file

You should also increase the buffer size up to 1 MB (see kernel/prink.c).

Best regards.

	Juan.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-25 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-25 15:50 Faster logging? Neal D. Becker
2002-04-25 16:37 ` Juan Piernas Canovas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.