From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 12:05:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C7610656BA for ; Thu, 12 Feb 2009 12:05:05 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from iguano.centroin.com.br (iguano.centroin.com.br [200.225.63.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6733B8FC17 for ; Thu, 12 Feb 2009 12:04:53 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.136]) by iguano.centroin.com.br (8.14.3/8.14.3/CIP MX HOST) with ESMTP id n1CC0fFZ019346 for ; Thu, 12 Feb 2009 10:00:41 -0200 (BRST) (envelope-from scuba@centroin.com.br) Date: Thu, 12 Feb 2009 10:04:41 -0200 (BRST) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Hits: 0.66 X-Scanned-By: MIMEDefang 2.64 on 200.225.63.137 Subject: Help with high LA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 12:05:22 -0000 Hi All, I need help for some strange problem with one of my servers, that can cost my job. It's a FreeBSD 7.0-RELEASE-p5/amd64 running on a Dell PowerEdge III as a Virtual machine of VMware ESXi. There are only two VM in this box, and one of them (basicly a mail server) is running fine. The problem is with high loads on the other one, that runs (besides other services) http and pop3. TOP show LA from 40 to 90 most of the time. I thought, at first, that was a disk botleneck due to some big mailboxes, or something related to some Apache (2.2.9) fine tuning, but it's something else. If I stop pop3 and apache services (the most active of the box), the LA drops to 1~2. Starting only one of them (any one) the LA rise to 20~40. Sugesting that it's not tied to a specific service. I did a test running just pop3 (Qpopper), pointing the mail spool to a empty directory, to make shure that it's not a disk problem. And the LA also goes to sky (~30). The same happens with only apache running pointing to a simple http page. The console shows messages like: ipfw: install_state: Too many dynamic rules I know I must review my rules and limit the number of keep-state entries, but a tryed to rise the number of dynamic buckets via sysctl: sysctl -w net.inet.ip.fw.dyn_buckets=2048 But it seems it's not working, since the number of current buckets doesn't pass 256: net.inet.ip.fw.curr_dyn_buckets: 256 I tryed to make some OS tuning, from the handbook, like increase the maxcon: kern.ipc.somaxconn: 2048 but nothing seems to work. Other entries in the logs: Feb 12 09:06:20 host1 inetd[1248]: accept (for ftp): Software caused connection abort Feb 12 09:06:20 host1 inetd[1248]: accept (for pop3): Software caused connection abort I need some clues to undestand what is happening. Thank you, - Marcelo