From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 27 19:07:00 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94BEA16A41F for ; Mon, 27 Mar 2006 19:07:00 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3C5D43D5E for ; Mon, 27 Mar 2006 19:06:47 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10) with ESMTP id k2RJ6kWG058866; Mon, 27 Mar 2006 14:06:46 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10/Submit) id k2RJ6kjH058865; Mon, 27 Mar 2006 14:06:46 -0500 (EST) (envelope-from mwlucas) Date: Mon, 27 Mar 2006 14:06:46 -0500 From: "Michael W. Lucas" To: Maxim Konovalov Message-ID: <20060327190646.GA58824@bewilderbeast.blackhelicopters.org> References: <20060327160130.GA57689@bewilderbeast.blackhelicopters.org> <20F3E06D-5727-4531-A81B-DF64765D1564@SARENET.ES> <20060327173841.GA58274@bewilderbeast.blackhelicopters.org> <20060327214209.U87890@mp2.macomnet.net> <20060327181501.GA58448@bewilderbeast.blackhelicopters.org> <20060327222836.J89207@mp2.macomnet.net> <20060327184643.GA58674@bewilderbeast.blackhelicopters.org> <20060327224826.U89207@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060327224826.U89207@mp2.macomnet.net> User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Cc: hackers@freebsd.org Subject: Re: syslogd not draining X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 19:07:00 -0000 On Mon, Mar 27, 2006 at 10:59:16PM +0400, Maxim Konovalov wrote: > [...] > > > ~100 datagrams per second, not a lot. Perhaps they are huge. > > > > Not that I've noticed. It's syslogd, DHCP, DNS, and flow-capture > > from a variety of devices, all generally small packets. > > I know nothing about your netflow setup but it can generate a > huge amount of udp traffic. Check 'pkts' and 'lost' fields in > /var/log/flow-capture. > > > > > > How much cpu time does syslogd use? > > > > > > > > Not much. ps -ax | grep syslog gives: > > > > > > > > 4317 ?? Ss 0:01.60 /usr/sbin/syslogd -l /var/run/log -l > > > > /var/named/var/run/log > > > > > > Try to remove a log socket for named and restart syslogd. > > > > Removed the named socket and restarted. We'll see what happens. > [...] > > Can you check there is nothing from syslogd on the serial console? I changed that this morning in response to an earlier suggestion. To be sure, I just ran: logger -p local0.err "test message" and got a message in /var/log/console.log, nothing on the serial console. BTW, running syslogd with -n seems to help the problem -- not cure it, mind you, but reduces its severity. ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur