[lkml]   [2002]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Faster logging?
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.023 / U:2.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site