From owner-freebsd-stable@FreeBSD.ORG Tue Apr 11 10:56:31 2006 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 BC54D16A401 for ; Tue, 11 Apr 2006 10:56:31 +0000 (UTC) (envelope-from michael.schuh@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F23B43D45 for ; Tue, 11 Apr 2006 10:56:31 +0000 (GMT) (envelope-from michael.schuh@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so810753wxc for ; Tue, 11 Apr 2006 03:56:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BNU8rhB7DpGbcA8XaWiaENRBQV6XmDuknHFoTQZEoJemHIXYXQFLWwWeyvojbRi6PVJbcY5j4MHKC9qTKOEccm9C3KWMnDSdwBpPVQn0aoVJMoM3AlyydWfryGl2Mtu9MxTcC5YWSjcANOdYU8e1csiUYewiKlilHotsf4ALvjA= Received: by 10.70.118.12 with SMTP id q12mr3014854wxc; Tue, 11 Apr 2006 03:56:30 -0700 (PDT) Received: by 10.70.112.16 with HTTP; Tue, 11 Apr 2006 03:56:30 -0700 (PDT) Message-ID: <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com> Date: Tue, 11 Apr 2006 12:56:30 +0200 From: "Michael Schuh" To: freebsd-stable@freebsd.org In-Reply-To: <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com> Subject: Re: Maximum Swapsize 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: Tue, 11 Apr 2006 10:56:31 -0000 2006/4/10, Michael Schuh : > Hello @all, > > last weekend i have setted up an new Machine with > 6.1-Beta4. By Installation i have made an Swappartition > with the size of 4GB after install in runtime in top > it sseems to me that the maximum swap-size is > limitied to 2GB or better to INT_MAX ? > > At another MAchine with FreeBSD4.11 i have a > Swap-Partition with 1GB size and an Swap-File with > 8 GB size, all seem fine top let me show: > > Mem: 418M Active, 318M Inact, 193M Wired, 40M Cache, 108M Buf, 1960K Free > Swap: 9216M Total, 257M Used, 8959M Free, 2% Inuse > > Is these setting correct for RELENG_6 or 6.1-Beta4, > and get the (default) maxsize for Swap-Partitions increased? > > thanks for any help > > best regards > > Michael > It seems to me that i have me not right supressed..... My Problem is not the way to find the "right" swapsize for me or better for my Server with the running Applications. My Problem was that i can't show my configured swapsize right....... Partitionsize for swap was 4GB Showing Value was 2GB, and my question (tail) is answered by the first posting from Kris Of course if you actually use this much swap your machine will be incompara= bly slow.. The old "swap size =3D 2x RAM" rule is no longer applicable unless you have= a very special application. IMO if you end up using more than 512MB of swap you need more RAM, or less applications :) and the other was have i made any failure by partitioning, respective labeling the disk...... or ist there any known Problem with swapsizes over 2G. I think i have made an failure by the partitioning (bsdlabel) the disk by right calculate the blocks for swap...... so that i can say at this time it was mostly my wrong handling that ha sshowing me the wrong suggested value. But if i have the Box already in my fingers i would show the values again and double check these....i don't think that FreeBSD has made this failure...:-) BSD can't make mistakes :-) for me the rigth value for Swap depend on the amount of ram in relativiness of what application should be to run..... par example: if you running Zope and tomcat on the same Machine with 4 to 10 Plone frontends in Zope you can get running out of swap with 1GRAM and 2GSWAP...... only my experiences.... regards michael