From owner-freebsd-stable@FreeBSD.ORG Mon Dec 12 23:33:55 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CCA316A41F for ; Mon, 12 Dec 2005 23:33:55 +0000 (GMT) (envelope-from atanas@asd.aplus.net) Received: from pro20.abac.com (pro20.abac.com [66.226.64.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D4E43D4C for ; Mon, 12 Dec 2005 23:33:55 +0000 (GMT) (envelope-from atanas@asd.aplus.net) Received: from [216.55.129.41] (asd0.aplus.net [216.55.129.41]) (authenticated bits=0) by pro20.abac.com (8.13.4/8.13.4) with ESMTP id jBCNXoa6099122 for ; Mon, 12 Dec 2005 15:33:51 -0800 (PST) (envelope-from atanas@asd.aplus.net) Message-ID: <439E0AA6.5070300@asd.aplus.net> Date: Mon, 12 Dec 2005 15:41:26 -0800 From: Atanas User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051026) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <439DE88B.1090407@asd.aplus.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.47 (SPF_SOFTFAIL) Subject: Re: 6.0 random freezes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 23:33:55 -0000 Claus Guttesen said the following on 12/12/05 13:23: >>Both machines boot with ACPI and hyperthreading enabled. > > Try to disable HTT in bios. > I think that I already achieved that by simply disabling the acpi module from device.hints, and it had no effect to the problem. > It seldom gives you very much, and > somtetimes degrades performance. Is it a webserver? > It is a web server, and as such it tends to generate a lot of processes, many of them independent of each other and trying to run simultaneously. Thus more work horses (even less powerful virtual CPUs) make the server to perform smoother. This is just a practical observation though, and I could be wrong. I would rather go with 2 dual core Opterons, but these are sort of expensive for now. > If it generates > alot of temporary files you can try adding/changing the following in > /etc/sysctl.conf: > > kern.ipc.somaxconn=2048 > kern.maxfiles=65536 > vfs.ufs.dirhash_maxmem=8388608 > Currently I have the following: kern.ipc.somaxconn: 1024 kern.maxfiles: 12328 vfs.ufs.dirhash_maxmem: 2097152 kern.openfiles: 1992 It's closest relative (running 5.4-RELEASE on the same hardware) handles about twice more requests, temporary files, and open files. kern.openfiles there is about 4000, and if something tries to go above the limits, the kernel usually reports that. I have plenty of other boxes serving at least twice more requests with less powerful (also hyperthreaded) CPUs running 4.x and 5.x and with no problems. The ones I have problems with are way less loaded, and are supposedly faster ones. Thanks for your suggestions! Regards, Atanas