Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 25 Apr 2002 12:38:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 25 Apr 2002 12:38:17 -0400 Received: from um.es ([155.54.1.1]:55689 "EHLO unimur.um.es") by vger.kernel.org with ESMTP id ; Thu, 25 Apr 2002 12:38:16 -0400 Date: Thu, 25 Apr 2002 18:37:45 +0200 (CEST) From: Juan Piernas Canovas To: "Neal D. Becker" cc: linux-kernel@vger.kernel.org Subject: Re: Faster logging? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/