From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 19 06:34:12 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357AD106564A for ; Tue, 19 Jul 2011 06:34:12 +0000 (UTC) (envelope-from Peter.Ross@bogen.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id AAA3F8FC1A for ; Tue, 19 Jul 2011 06:34:11 +0000 (UTC) X-Envelope-From: Peter.Ross@bogen.in-berlin.de Received: from localhost (okapi.in-berlin.de [192.109.42.117]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p6J6Y9Zr024382; Tue, 19 Jul 2011 08:34:09 +0200 Received: from 124-254-118-24-static.bb.ispone.net.au (124-254-118-24-static.bb.ispone.net.au [124.254.118.24]) by webmail.in-berlin.de (Horde Framework) with HTTP; Tue, 19 Jul 2011 16:34:09 +1000 Message-ID: <20110719163409.20783u5ulqkszlup@webmail.in-berlin.de> Date: Tue, 19 Jul 2011 16:34:09 +1000 From: "Peter Ross" To: "Adam Vande More" References: <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <20110714115504.20182xr8y5z7o3ug@webmail.in-berlin.de> <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) 4.3.3 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: freebsd-emulation@freebsd.org Subject: Re: Network problems while running VirtualBox X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Jul 2011 06:34:12 -0000 Quoting "Adam Vande More" : > On Mon, Jul 18, 2011 at 12:30 AM, Peter Ross > wrote: > >> I tried FTP (to have something completely different) and it fails as wel= l: >> (ftp: netout: Cannot allocate memory) >> >> I watched vmstat -z, and every time it fails, I have another failure >> reported for "NetGraph data items". > Does raising the value of net.graph.maxdata help? Set it in > /boot/loader.conf. Indees it does. I raised it to 65536 and now I can copy large files =20 and do not see "NetGraph data items" failures in vmstat -z anymore. I wonder whether it could be a recommendation of the VirtualBox ports? =20 I am not the first one to be bitten by it so it would make sense to =20 send a warning. E.g. Marlon discarded the whole FreeBSD/VirtualBox setup and went =20 Citrix instead. It does not have to be like that;-) In one way it makes sense that the _start_ of the VirtualBox makes the =20 difference. It is a busy company mailserver with SMTP and HTTP access =20 and a lot of traffic going through - it all has to go through the =20 netgraph items. Of course, I have in my setup another way of working around the =20 problem: at the moment VirtualBox is using the same interface than the =20 host. I have a still unused interface I should use instead to separate =20 the traffic. Regards Peter