From owner-freebsd-questions@freebsd.org Mon Jan 21 17:32:07 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 10A5014B0BF4 for ; Mon, 21 Jan 2019 17:32:07 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70B1A6D1E6 for ; Mon, 21 Jan 2019 17:32:04 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x0LHVrZY026805 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 21 Jan 2019 18:32:00 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: The mysterious kern.maxswzone To: freebsd-questions@freebsd.org References: <20190116022046.GA45024@admin.sibptus.ru> <50f1f8d5-7db6-4abb-6beb-c82f17396304@netfence.it> <20190121160302.0a5e2805@gumby.homeunix.com> From: Andrea Venturoli Message-ID: <06a5651b-fdd8-1dcf-d0b1-1e3d4dafe11d@netfence.it> Date: Mon, 21 Jan 2019 18:31:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190121160302.0a5e2805@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 70B1A6D1E6 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.62 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.23)[ip: (0.68), ipnet: 2.44.0.0/16(0.34), asn: 30722(0.08), country: IT(0.06)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.966,0]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(0.83)[0.830,0]; MX_GOOD(-0.01)[cached: mx.netfence.it]; NEURAL_SPAM_LONG(0.71)[0.705,0]; DMARC_NA(0.00)[netfence.it]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 21 Jan 2019 17:32:07 -0000 On 1/21/19 5:03 PM, RW via freebsd-questions wrote: > Do you know, for sure, that there isn't a risk of a panic if you run out > of zone space before you run out of swap. Short answer: NO! I don't know for sure, but I think this isn't the case. From what I read around, IIUC, zone space is used to manage swap space, so the only effect is that some swap space won't be used. I hope someone with more solid knowledge steps up... > In amd64 you can't > increase the zone size because that computed default is also the limit. Then, why do I get the same warning ("warning: increase kern.maxswzone or reduce amount of swap") if the suggested operation is not possible? I guess the message should be patched. > The value is in bytes, so it isn't huge. Try setting it to a few percent > above > > 36175872 * 131072 / 113792 > > something like 42500000 "Huge" compared to what? :) The OP has 512MiB of RAM: 42500000 byte is not a negligible amount in that case, but he is the only one who knows if it's worth, based on his load. bye av.