From owner-freebsd-questions@freebsd.org Sun Jan 20 16:51:29 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCC6C1499DBE for ; Sun, 20 Jan 2019 16:51:29 +0000 (UTC) (envelope-from acupuncture@cgocable.ca) Received: from fvipqcsab01.cogeco.net (smtp5.cogeco.ca [216.221.81.71]) by mx1.freebsd.org (Postfix) with ESMTP id 706E56F2E3 for ; Sun, 20 Jan 2019 16:51:28 +0000 (UTC) (envelope-from acupuncture@cgocable.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DkDgDGpURc/yhjqY5iHQEBBQEHBQGBZ?= =?us-ascii?q?YEJe4E1IRKDYZUQCQUBgQgIIQSDWoVZkEk4AYRAAoJcIjgSAQMBAQIBAQIBbCi?= =?us-ascii?q?COiKCbwEFMgFWCw0LLlcTCAEBgx6BdQ2sKhoCg2KBRYRfjFh4gQeBOAyCX4VOh?= =?us-ascii?q?RMCkQyRFAcCAoZhizIeijoDh1eceiGBVoQtkHkkgTMBPQGIVAEB?= X-IPAS-Result: =?us-ascii?q?A2DkDgDGpURc/yhjqY5iHQEBBQEHBQGBZYEJe4E1IRKDYZU?= =?us-ascii?q?QCQUBgQgIIQSDWoVZkEk4AYRAAoJcIjgSAQMBAQIBAQIBbCiCOiKCbwEFMgFWC?= =?us-ascii?q?w0LLlcTCAEBgx6BdQ2sKhoCg2KBRYRfjFh4gQeBOAyCX4VOhRMCkQyRFAcCAoZ?= =?us-ascii?q?hizIeijoDh1eceiGBVoQtkHkkgTMBPQGIVAEB?= X-IronPort-AV: E=Sophos;i="5.56,499,1539662400"; d="scan'208";a="104283730" Received: from unknown (HELO localhost.localdomain) ([142.169.99.40]) by fvipqcsab01.cogeco.net with ESMTP; 20 Jan 2019 11:50:20 -0500 Subject: Re: The mysterious kern.maxswzone To: freebsd-questions@freebsd.org References: <20190116022046.GA45024@admin.sibptus.ru> <20190120094948.GA7774@admin.sibptus.ru> From: "Myster.Hide" Message-ID: <2f939fa4-706d-9917-be3a-3d179498b6d4@cgocable.ca> Date: Sun, 20 Jan 2019 11:47:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20190120094948.GA7774@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: fr-FR X-Rspamd-Queue-Id: 706E56F2E3 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2019 16:51:30 -0000 Le 20/01/2019 à 04:49, Victor Sudakov a écrit : > Victor Sudakov wrote: >> I have a small 11.2-RELEASE-p8 i386 system with 512M swap and 256M RAM: >> >> # swapinfo >> Device 1K-blocks Used Avail Capacity >> /dev/mirror/gm0s1b 524288 29656 494632 6% >> >> I guess it's not an extraordinary amount of swap for this amount of RAM. >> >> However, on boot I see the warning: >> >> warning: total configured swap (131072 pages) exceeds maximum recommended amount (113792 pages). >> warning: increase kern.maxswzone or reduce amount of swap. > Anyone? > > Probably easier to increase kern.maxswzone using sysctl than modifying the size of your swap partition. I had the same problem but since I had a swap file plus a swap partition, I adjusted the size of my swap file (I didn't want to modify the default kern.maxswzone) and that was it.