Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2017 10:22:59 +0100
From:      Kai Gallasch <k@free.de>
To:        Jason Tubnor <jason@tubnor.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Linux lockups inside bhyve VM on FreeBSD 11.1
Message-ID:  <61029a6b-84fb-6eca-c5c6-73e517dd9bce@free.de>
In-Reply-To: <CACLnyCKsLuGyEy_2ozXjNJ7CEG=wRopACDe4vnfxV-Tya4dVHg@mail.gmail.com>
References:  <5b1166b2-0b8c-248c-9a3b-b5c9685e4f37@free.de> <CACLnyCKsLuGyEy_2ozXjNJ7CEG=wRopACDe4vnfxV-Tya4dVHg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Am 01.12.2017 um 03:41 schrieb Jason Tubnor:
> 
> On 1 December 2017 at 08:29, Kai Gallasch <k@free.de <mailto:k@free.de>>
> wrote:
> 
>     Hello.
> 
>     Last day an apache 2.4 running inside a Debian9 linux bhyve VM locked up
>     on one of my servers (FreeBSD 11.1-RELENG, GENERIC kernel) overloading
>     the VM.
> 
>     The VM uses a ZFS zvol blockdevice on top of a zpool, consisting of two
>     mirrored SSDs.
> 
>     I was able to enter the VM through the bhyve console, kill and restart
>     the stuck apache process and regain stability inside the VM.
> 
>     I found below output in the Linux dmesg and suspect the ext4 journaling
>     to be the culprit.
> 
>     Has anyone experienced similar lockups running Linux inside a bhyve VM?
>     At the time when this happened there was no high I/O on the VM zpool.
> 
> 
> Have you set vfs.zfs.arc_max to a lower value to allow for bhyve head
> room?  How was the host system swap, did the host start to eat into it?
> 
> I run a few guests with Ubuntu 16.04 but mainly use XFS for areas that
> aren't system related and haven't come across this issue.

Hello Jason.

My bhyve host server has 96GB RAM and all Linux VMs together are
allocated 20GB. I now have set vfs.zfs.arc_max to 64G to see if other
lockups occur.

K.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61029a6b-84fb-6eca-c5c6-73e517dd9bce>