From owner-freebsd-current@FreeBSD.ORG Sun Sep 13 08:03:06 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23FC106566B; Sun, 13 Sep 2009 08:03:06 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9C48FC0A; Sun, 13 Sep 2009 08:03:05 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA07889; Sun, 13 Sep 2009 11:03:04 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Mmk35-000MUK-SN; Sun, 13 Sep 2009 11:03:03 +0300 Message-ID: <4AACA736.5010405@freebsd.org> Date: Sun, 13 Sep 2009 11:03:02 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4A9D7560.7060902@freebsd.org> <1251840705.1689.4440.camel@balrog.2hip.net> <4A9E7B42.9070608@icyb.net.ua> In-Reply-To: <4A9E7B42.9070608@icyb.net.ua> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: vbox@freebsd.org Subject: virtualbox: out of memory on start [Was: DRI initialiazation fails on 8.0-BETAx/M54] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 08:03:07 -0000 on 02/09/2009 17:03 Andriy Gapon said the following: > > BTW, I have a different but potentially related problem - after running a > head/current system for a while I am losing an ability to start VirtualBox. It > complains about something "no memory" too. > The system is amd64 with 4G of RAM with only a handful of processes started. > Maybe we got some regression in memory area (e.g. pmap)? So I got this problem again and I'd like to gather as much useful debug information as possible, but I am not sure what would that be. Here's a message from virtualbox: GVMMR0CreateVM: failed, rc=-8 This machine has 4GB of RAM and only a handful of applications are started (but in KDE4). But memory usage line from top looks suspicious: Mem: 1439M Active, 199M Inact, 1308M Wired, 669M Cache, 392M Buf, 61M Free Wired is huge, Buf and Cache are also substantial. Maybe something to do with ZFS? And, yes, just noticed, this is what virtualbox wrote in virtual machine's log: Host RAM: 3822MB RAM, available: 30MB So it seems like it needs Free memory and can not pressure other memory to get freed or got to swap. -- Andriy Gapon