From owner-freebsd-performance@FreeBSD.ORG Sat Dec 10 22:56:09 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3CB416A41F for ; Sat, 10 Dec 2005 22:56:09 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: from smtp109.sbc.mail.mud.yahoo.com (smtp109.sbc.mail.mud.yahoo.com [68.142.198.208]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C48743D5D for ; Sat, 10 Dec 2005 22:56:08 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 36072 invoked from network); 10 Dec 2005 22:56:08 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.176.52 with plain) by smtp109.sbc.mail.mud.yahoo.com with SMTP; 10 Dec 2005 22:56:08 -0000 Message-ID: <439B5D8D.70203@lbl.gov> Date: Sat, 10 Dec 2005 14:58:21 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Mathieu Arnold References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Imri Zvik , freebsd-performance@freebsd.org Subject: Re: very busy syslog server X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2005 22:56:10 -0000 What is "netstat -m" output on your machine? Mathieu Arnold wrote: >+-le 07/12/2005 12:44 +0200, Imri Zvik écrivait : >| Hi! >| >| I'm trying to setup a syslog server to serve a large group of servers. >| For the syslog daemon, I have chosen rsyslogd, and the backend is mysql (on >| a different machine). >| >| The machine has 2 Intel Xeon 2.80GHz CPUs, and 1GB of RAM, and it is >| running FreeBSD 6 (6.0-STABLE). >| >| The problem is, that I see a lot of UDP packets being dropped: > >without any tweaking : ># netstat -s -p udp >udp: > 750858021 datagrams received > 0 with incomplete header > 0 with bad data length field > 0 with bad checksum > 20003 with no checksum > 142075741 dropped due to no socket > 1152246 broadcast/multicast datagrams dropped due to no socket > 1729027 dropped due to full socket buffers > 0 not for hashed pcb > 605901007 delivered > 801662 datagrams output > >it's been up for a bit, and I don't use syslog but minirsyslogd, which is in >the ports tree I believe. > >CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.09-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > >Features=0xbfebfbff >real memory = 259194880 (247 MB) >avail memory = 243978240 (232 MB) > >