From owner-freebsd-emulation@freebsd.org Tue Mar 5 18:41:16 2019 Return-Path: Delivered-To: freebsd-emulation@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 B8322150CE32 for ; Tue, 5 Mar 2019 18:41:16 +0000 (UTC) (envelope-from SRS0=7Rwl=RI=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A34B81FC7; Tue, 5 Mar 2019 18:41:16 +0000 (UTC) (envelope-from SRS0=7Rwl=RI=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E6FC128417; Tue, 5 Mar 2019 19:41:04 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 90B2728411; Tue, 5 Mar 2019 19:41:03 +0100 (CET) To: vbox@FreeBSD.org, freebsd-emulation@freebsd.org From: Miroslav Lachman <000.fbsd@quip.cz> Subject: VBoxHeadless eats 100% CPU even if guest OS is idle Message-ID: <21d46be1-e520-1b93-c079-1626cb015708@quip.cz> Date: Tue, 5 Mar 2019 19:41:02 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3A34B81FC7 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.92 / 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.24)[ip: (0.60), ipnet: 94.124.104.0/21(0.30), asn: 42000(0.24), country: CZ(0.07)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.927,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.59)[0.592,0]; MX_GOOD(-0.01)[cached: elsa.codelab.cz]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(0.97)[0.971,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=7Rwl=RI=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[209.16.49.86.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=7Rwl=RI=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 18:41:16 -0000 We are using virtualbox-ose-kmod-5.2.22 and virtualbox-ose-nox11-5.2.22_1 on the FreeBSD 11.2-RELEASE-p7 amd64 host with 3 guests. 1 guest runs FreeBSD 11.2, 2 guests are Ubuntu mini. Today I noticed 2 of 3 guests eat 100% CPU even if they are doing nothing. The FreeBSD guest is just IPSec gateway for two Ubuntu guests. If I enter the guest I see it is 99.9% idle. # top in FreeBSD guest 27 processes: 1 running, 26 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 13M Active, 724M Inact, 12M Laundry, 194M Wired, 103M Buf, 22M Free # top in FreeBSD host CPU: 3.7% user, 0.0% nice, 14.7% system, 0.0% interrupt, 81.6% idle Mem: 352M Active, 17G Inact, 315M Laundry, 5153M Wired, 1572M Buf, 951M Free Swap: 16G Total, 59M Used, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 793 vboxusers 22 20 0 1161M 1081M select 0 969.0H 102.69% VBoxHeadless 3878 vboxusers 20 20 0 672M 595M select 0 775.7H 101.44% VBoxHeadless According to usage graphs this problem is there for about 40 days but host and all guest have uptime 61 days. Each guest has 1 CPU, 768M RAM. I found the exactly same problem on testing machine, FreeBSD 11.2 + VirtualBox 5.2.22 also. Just one guest doing nothing and VBoxHeadless eating 100% CPU. Is it some know problem? Is there a way to fix / workaround it? Is it fixed in newer version of VirtualBox? I never have this problem before. Kind regards Miroslav Lachman