Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2011 16:34:09 +1000
From:      "Peter Ross" <Peter.Ross@bogen.in-berlin.de>
To:        "Adam Vande More" <amvandemore@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Network problems while running VirtualBox
Message-ID:  <20110719163409.20783u5ulqkszlup@webmail.in-berlin.de>
In-Reply-To: <CA%2BtpaK085BVZn2VKR5uVZ9yq9Xngt6nds8-KreFrMmtkcuh%2Bsw@mail.gmail.com>
References:  <20110714095717.35581xj4rdju1pel@webmail.in-berlin.de> <CA%2BtpaK3KXivGBEXxQQPPgUj0Ptt3Gadd%2BK2BT0Xg74RDfb42kA@mail.gmail.com> <20110714115504.20182xr8y5z7o3ug@webmail.in-berlin.de> <CA%2BtpaK3GfLnWDWnS77m_yPoU6AWeFqS8Vusv_g6oPJ=_Voju%2BQ@mail.gmail.com> <CA%2BtpaK18s2wHEM%2BJ-vP9egZPu10wZHFAuxvShhzFWOwVfZ9Miw@mail.gmail.com> <20110718153026.10384ps0jqajxrle@webmail.in-berlin.de> <CA%2BtpaK085BVZn2VKR5uVZ9yq9Xngt6nds8-KreFrMmtkcuh%2Bsw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Adam Vande More" <amvandemore@gmail.com>:

> On Mon, Jul 18, 2011 at 12:30 AM, Peter Ross
> <Peter.Ross@bogen.in-berlin.de>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110719163409.20783u5ulqkszlup>