From owner-freebsd-virtualization@freebsd.org Mon Apr 29 08:14:01 2019 Return-Path: Delivered-To: freebsd-virtualization@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 988F41584A70 for ; Mon, 29 Apr 2019 08:14:01 +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 1970E6AE43 for ; Mon, 29 Apr 2019 08:13:57 +0000 (UTC) (envelope-from ml@netfence.it) Received: from guardian.ventu (88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged)) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x3T8Di5S093252 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 29 Apr 2019 10:13:46 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host 88-147-119-21.v4.ngi.it [88.147.119.21] (may be forged) claimed to be guardian.ventu Subject: Re: [vm-bhyve] shutting down VMs and kern.init_shutdown_timeout To: freebsd-virtualization@freebsd.org References: <20190428044118.GA46284@admin.sibptus.ru> <1DE7A90B-E3AB-4F1E-9A3A-981B18751F8E@punkt.de> From: Andrea Venturoli Message-ID: <306069c2-1e7c-9f95-107d-adb0724d5e0e@netfence.it> Date: Mon, 29 Apr 2019 10:13:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1DE7A90B-E3AB-4F1E-9A3A-981B18751F8E@punkt.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 1970E6AE43 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[mailserver.netfence.it]; NEURAL_HAM_SHORT(-0.09)[-0.094,0]; DMARC_NA(0.00)[netfence.it]; IP_SCORE(-0.42)[ip: (-1.23), ipnet: 2.44.0.0/16(-0.62), asn: 30722(-0.32), country: IT(0.05)]; 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-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 08:14:01 -0000 On 2019-04-29 09:45, Patrick M. Hausen wrote: > What’s keeping you from increasing that timeout for your > particular requirements? IMHO 2 minutes are a reasonable > default for a system that does not run hypervisor VMs - > which is probably the vast majority. > > Anyone with the knowledge to implement a virtualized > environment can simply set that to a more suitable value, > can’t he/she? The problem is: what is a reasonable value? Shutting down Windows can take literally hours if there are pending updates; that's of course unacceptable if you are running other services and need them up again in a reasonable time. Solution, of course, is not shutting down VMs, but suspending them. IIRC that is coming in bhyve in the future. bye av.