Reproducible Freeze When Using BitTorrent

Discussions about using Linux guests in VirtualBox.
Post Reply
bjc
Posts: 3
Joined: 19. Sep 2007, 05:20

Reproducible Freeze When Using BitTorrent

Post by bjc »

I'm running the latest Ubuntu Gutsy on Windows XP using VirtualBox 1.5. I'm using NAT on the guest, and have forwarded both TCP and UDP ports for use by BitTorrent. When I run a BitTorrent client (and I have tried 4) VirtualBox eventually freezes. The chance of a freeze appears to be directly proportional to my download speed. IOW, the greater the network throughput, the faster VBox locks up.

By "freeze", I mean that the entire VM window's contents stops refreshing, any audio playing on the guest skips, and the guest ignores keyboard and mouse input. If I notice quickly enough, I'm able to use the Machine menu to reset the VM; else, the VM window also becomes non responsive, and the menus ghost and display sluggishly.

If I remove the port forwarding, this problem doesn't seem to occur (although I haven't tested this scenario with a large variety of torrents), which supports my theory of high network load causing the freeze (without port forwarding the download speed is significantly slower).

I've just completed a torrent in Azureus by ensuring that it's the only one running, setting "Max simultaneous outbound connection attempts" to 4 (neither 8 nor 6 worked), and reducing the MTU right down to 1300. Whether or not this luck continues, remains to be seen.

I've heard of BitTorrent crashing some home routers before, so I'm assuming that VirtualBox's network card is simply buckling under the strain of so much network activity. I've ruled out the host's network card/router.

Is this issue known? If not, I'm happy to provide debugging information if somebody could point me in the right direction. This is the first (and hopefully the last) time I've used Windows in a decade, however, so I'm not familiar with troubleshooting it -- I may need diagrams. ;-)
Post Reply