From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 23:17:20 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 557D21065674 for ; Thu, 9 Dec 2010 23:17:20 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f51.google.com (mail-ew0-f51.google.com [209.85.215.51]) by mx1.freebsd.org (Postfix) with ESMTP id E58068FC20 for ; Thu, 9 Dec 2010 23:17:19 +0000 (UTC) Received: by ewy19 with SMTP id 19so2306547ewy.10 for ; Thu, 09 Dec 2010 15:17:18 -0800 (PST) Received: by 10.213.12.211 with SMTP id y19mr1358982eby.12.1291936638587; Thu, 09 Dec 2010 15:17:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.31.209 with HTTP; Thu, 9 Dec 2010 15:16:58 -0800 (PST) In-Reply-To: <4D016302.70505@shopzeus.com> References: <4D00BDF8.6020206@shopzeus.com> <20101209083818.e622a146.wmoran@potentialtech.com> <4D016302.70505@shopzeus.com> From: Chris Brennan Date: Thu, 9 Dec 2010 18:16:58 -0500 Message-ID: To: Laszlo Nagy Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, Bill Moran , danieleff@gmail.com Subject: Re: What is loading my server so much? 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, 09 Dec 2010 23:17:20 -0000 On Thu, Dec 9, 2010 at 6:15 PM, Laszlo Nagy wrote: > I do not understand. > > Doc says these: > > "max_connections cost ~ 400 bytes of shared memory slot, plus lock space > (see max_locks_per_transaction)." > > Even if I had max_connections = 5000, total shared memory required would be > way below shmmax=8G. > > What am I missing here? > > Thanks > > Laszlo > > After killing the process, did you give it time to flush itself from memory before restarting it?