From owner-freebsd-questions@FreeBSD.ORG Fri Sep 16 15:40:54 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 F358216A420 for ; Fri, 16 Sep 2005 15:40:53 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A54B43D45 for ; Fri, 16 Sep 2005 15:40:53 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id A0DAF5DD5; Fri, 16 Sep 2005 11:40:52 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84976-03; Fri, 16 Sep 2005 11:40:44 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-68-11.ny325.east.verizon.net [68.161.68.11]) by pi.codefab.com (Postfix) with ESMTP id 149F35C21; Fri, 16 Sep 2005 11:40:43 -0400 (EDT) Message-ID: <432AE77E.2030509@mac.com> Date: Fri, 16 Sep 2005 11:40:46 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alex References: <200509161254.14108.lesha@ns.divo.ru> In-Reply-To: <200509161254.14108.lesha@ns.divo.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com 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: Fri, 16 Sep 2005 15:40:54 -0000 Please read "man crash" and the part of the handbook which talks about how to obtain a crashdump or backtrace with more information about the panic you see. You might consider putting both a backtrace and a dmesg from the system on the web somewhere, and post links to that. Alex wrote: > For some reason my 5.4 STABLE is dying each 4-5 hours with panic above. > This is big Web server with Apache configured to 1500 MaxClients. All kernel > tunings suggested for high load servers by freebsd handbook are in place. > Hardware is Intel server board, P4-3.0 cpu with HT off, 3Gb ram, 1eide, 2sata. By the way, you don't have enough RAM to handle 1500 concurrent Apache processes, even with a minimal config (ie, no SSL, no mod_perl, no PHP). The busiest site I've ever administered needed between 100 and 150 apache children in order to serve a load of ~2 million hits per day. -- -Chuck