From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 7 23:41:04 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D697C05 for ; Fri, 7 Mar 2014 23:41:04 +0000 (UTC) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1EFC0D29 for ; Fri, 7 Mar 2014 23:41:03 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id s27Ng2ex023815; Fri, 7 Mar 2014 15:42:08 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id s27NfvQq023811; Fri, 7 Mar 2014 15:41:57 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) Received: from demon.dnswatch.com ([209.180.214.229]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Fri, 7 Mar 2014 15:41:57 -0800 (PST) Message-ID: <725ac3a0c66351a391ec272d7676fdc5.authenticated@ultimatedns.net> In-Reply-To: References: Date: Fri, 7 Mar 2014 15:41:57 -0800 (PST) Subject: Re: kern.maxswzone From: "Chris H" To: "Wojciech Puchar" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 23:41:04 -0000 Greetings, > i configured 4.7GB swap on 512MB computer and i see in logs > OK I'm a bit confused here. It /sounds/ like you said you put 4.7 GIGabytes on a 512 MEGabyte hard drive. Hmm, no that can't be right. I'll bet you meant you have a computer with 512Mb RAM, and you created a 4.7Gb slice for SWAP. OK, that probably exceeds the traditional 2.5 x RAM I remember it being. But still, as memory serves, the message(s) you're seeing won't have a definitive answer without first determining how large the "block size" is on your hard drive. While I'm inclined to think they're 4096Kb. I can't know for sure, and anyone attempting to help, will also need that number. The block size determines the /amount/ (number) of pages the kernel creates. > warning: total configured swap (1249880 pages) exceeds maximum recommended amount (986496 > pages). > warning: increase kern.maxswzone or reduce amount of swap. > > > fine, but after increasing maxswzone to 60000000 from less than 40 > millions of default, no difference in message > > tried even increasing it more - no effect, same messages > > change is in /boot/loader.conf and it sets properly as sysctl > kern.maxswzone confirms. > > what's wrong Best wishes. --Chris > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >