From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 11:36:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2055116A41F for ; Mon, 19 Sep 2005 11:36:05 +0000 (GMT) (envelope-from lesha@ns.divo.ru) Received: from mailhub.intercaf.ru (mailhub.intercaf.ru [83.102.221.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE2E43D60 for ; Mon, 19 Sep 2005 11:35:57 +0000 (GMT) (envelope-from lesha@ns.divo.ru) Received: from [192.168.1.33] (ppp83-237-242-93.pppoe.mtu-net.ru [83.237.242.93]) (authenticated bits=0) by mailhub.intercaf.ru (8.12.10/8.12.10) with ESMTP id j8JBdaHl003765; Mon, 19 Sep 2005 15:39:37 +0400 (MSD) (envelope-from lesha@ns.divo.ru) From: AK Organization: Divo Internet - www.divo.ru To: Chuck Swiger Date: Mon, 19 Sep 2005 14:40:56 +0300 User-Agent: KMail/1.8.1 References: <200509161254.14108.lesha@ns.divo.ru> <200509161909.10463.lesha@ns.divo.ru> <432AF207.6030908@mac.com> In-Reply-To: <432AF207.6030908@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509191440.56774.lesha@ns.divo.ru> X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.5.6 (mailhub.intercaf.ru [83.102.221.67]); Mon, 19 Sep 2005 15:39:37 +0400 (MSD) Cc: freebsd-questions@freebsd.org Subject: Re: "panic: getnewbuf: locked buf" on heavy load 5.4-STABLE 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: Mon, 19 Sep 2005 11:36:05 -0000 On Friday 16 September 2005 19:25, Chuck Swiger wrote: > > To get a crashdump I should have swapspace >= total ram. > > Currently it is only 2G, I'm trying to think of smth. to get more > > swapspace. dmesg is available @ http://getfile.biz/dmesg.txt > > Take a look at /boot/loader.conf, you can limit the amount of physical RAM > FreeBSD uses to less than 2GB for long enough to get a valid dump, assuming > the crash is easily reproducable. Well... it is easy reproduceable, but .... with debugging kernel system is not going into panic, it just freezes. When I limit apache to 400 connections (MaxClients), it can work for ages, setting it to 500-600 will crash system in a few hours, setting it to 1000 will crash system as soon as people starting to download something. (when enough users connect) I have tried starting apache with MaxClients 1500, connecting my laptop with crosscable, and starting benchmarks/siege on the laptop with 750 simultaneous connections. Server dies in less than 1 secons. It just freezes. It can't be network card, as I have tried different ones. It is not RAM, I have changed it already. What else can it be? Alex.