Failed to allocate packet buffer

Discussions related to using VirtualBox on Linux hosts.
Post Reply
...don
Posts: 33
Joined: 24. May 2012, 18:00
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows

Failed to allocate packet buffer

Post by ...don »

Since upgrading to VB 5.0.5, I have been getting a number of
VBoxNetFlt: failed to allocate packet buffer
errors in my system log. The host is an OpenSuse 13.1 system with a 3.17 kernel. I was not getting these errors with an earlier version of VB. The host system software has not changed.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Failed to allocate packet buffer

Post by loukingjr »

The current release of VirtualBox is 5.0.8. 5.0.5 was a test build.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Eberhard
Posts: 2
Joined: 2. Feb 2016, 10:27

Re: Failed to allocate packet buffer

Post by Eberhard »

I have a lot of "VBoxNetFlt: failed to allocate packet buffer" with VB 5.0.14 r105127 in my messages file. The system is a CentOS 7.2.1511 with a 3.10.0-327.4.5.el7.x86_64 kernel.
I somebody out who can help me, please?
Eberhard
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failed to allocate packet buffer

Post by mpack »

Not with the information given so far. Please post a VM log file. With the VM fully shut down, right click it in GUI. Select "Show Log" and save "VBox.log" (ONLY) to a zip file. Attach the zip here.
Eberhard
Posts: 2
Joined: 2. Feb 2016, 10:27

Re: Failed to allocate packet buffer

Post by Eberhard »

Ok, here comes the logfile.
logfil.zip
(14.15 KiB) Downloaded 14 times
And here is the last appearance in our messages log:
Feb  3 13:12:08 ikffws1 kernel: VBoxNetFlt: Failed to allocate packet buffer, dropping the packet.
Thanks a lot.

Eberhard
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failed to allocate packet buffer

Post by mpack »

I don't see any "failed to allocate packet buffer" errors in the log provided. I do see is a lot of AsyncCompletion messages starting at 50 hours, but the log continues on to 137 hours, so it doesn't seem to be fatal.
VBox.log wrote: 00:00:00.028659 Installed Extension Packs:
00:00:00.028672 None installed!
...
50:22:15.679941 AsyncCompletion: Task 0x007f51d31bc880 completed after 13 seconds
101:12:54.207363 OHCI#0: Lagging too far behind, not trying to catch up anymore. Expect glitches with USB devices
137:37:58.012801 AsyncCompletion: Task 0x007f525c5a7ac0 completed after 11 seconds
If I was you I would install the extension pack, that way you won't be restricted to talking OHCI (a.k.a. USB 1.1) for whatever (backup task?) starts up after 50 hours. Perhaps that will improve I/O throughput and reduce glitches in general.

If your problem persists then you'll have to raise a BugTracker ticket.
ehagberg
Posts: 5
Joined: 4. Jan 2009, 16:37

Re: Failed to allocate packet buffer

Post by ehagberg »

I'm seeing this as well. If I change the guest VM (windows) to use a NAT-ed interface rather than bridged across the physical nic, the problem goes away. So this appears to be an issue only when using a bridged interface in a guest.

I don't even need to have much network traffic to/from the guest but just a lot of network traffic on the host system.
effx
Posts: 1
Joined: 24. Mar 2016, 21:33

Re: Failed to allocate packet buffer

Post by effx »

I'm seeing this as well. If I change the guest VM (windows) to use a NAT-ed interface rather than bridged across the physical nic, the problem goes away. So this appears to be an issue only when using a bridged interface in a guest.

I don't even need to have much network traffic to/from the guest but just a lot of network traffic on the host system.
I see the same as ehagberg. Running Virtualbox 5.0.14 on Linux with a Linux VM (bridged NIC).
JV2
Posts: 1
Joined: 25. Mar 2016, 23:33

Re: Failed to allocate packet buffer

Post by JV2 »

I, too, am seeing this issue. Thousands of errors:

kernel: VBoxNetFlt: Failed to allocate packet buffer, dropping the packet.

in my syslog.

I'm running VirtualBox 5.0.16 r105871, Extension Pack 5.0.16r105871 and the host system is running Ubuntu 15.10. All of my guests are using Guest Additions 5.0.17 r105913 and are configured with Bridged networking.

-Jeff
fermulator
Posts: 16
Joined: 15. Nov 2012, 07:43

Re: Failed to allocate packet buffer

Post by fermulator »

same

using bridged networking, yes vbox guest additions are installed

virtualkbox Version 5.0.24 r108355

[76492.273909] VBoxNetFlt: Failed to allocate packet buffer, dropping the packet.
[76492.273926] VBoxNetFlt: Failed to allocate packet buffer, dropping the packet.

any other information valuable to offer?

host = Fedora22, 4.4.13-200.fc22.x86_64
guest = Win10
bigbug
Posts: 1
Joined: 25. Aug 2016, 08:54

Re: Failed to allocate packet buffer

Post by bigbug »

Same here.

Host = Ubuntu 16.04
Guest = Ubuntu 16.04

I changed the guest network adapter to Virtio (was Intel). That improved the situation a bit.

Now it seems this only occurs when the host is under heavy load. I'm not running the guest OS as root.
mc206
Posts: 1
Joined: 3. Sep 2016, 03:32

Re: Failed to allocate packet buffer

Post by mc206 »

I see this too with 5.0.26 r108824 on same U16.04 host and two guests with bridged network interfaces. Usually under heavy disk-IO.
Post Reply