vboxwebsrv memory usage

Discussions related to using VirtualBox on Linux hosts.
Post Reply
kgatan
Posts: 2
Joined: 7. Jul 2011, 21:38
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 2008, Ubuntu 10.04
Location: Sweden

vboxwebsrv memory usage

Post by kgatan »

Im using Virtualbox 4.0 64bit debian package on a Ubuntu server 10.04 64bit host running as headless.
vboxwebsrv is running in background in order to control the vms with phpvirtualbox.

Everything is working great except for the vboxwebsrv process which eats memory continuously.
Process starts at about 170mb virtual and 10mb resident but after 2 hours its grown to 1.7bg virtual and 270mb resident.

Growth only occurs while im using phpvirtualbox interface and it doesnt seem to matter if VMs are running or not.

Does anyone else have this problem? Is it a virtualbox problem or phpvirtualbox?

Best regards
kgatan
Posts: 2
Joined: 7. Jul 2011, 21:38
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 2008, Ubuntu 10.04
Location: Sweden

Re: vboxwebsrv memory usage

Post by kgatan »

bump
randomhuman
Posts: 8
Joined: 25. Jan 2011, 14:51
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP, Ubuntu, OpenSUSE, Other Linux flavours

Re: vboxwebsrv memory usage

Post by randomhuman »

I am also experiencing this problem using VirtualBox 4.1 on Ubuntu server 11.04.

The issue was previously reported to the author of phpVirtualBox, and I created a ticket of my own over there as well. He reckons it is not a problem with phpVirtualBox and has been unable to reproduce the problem himself. He suggested a change to the vboxwebsrv timeout, but it did not make any difference for me.

All reported occurences that I can find were on Ubuntu hosts, so I'm wondering if it could be something in Ubuntu that is causing it?
randomhuman
Posts: 8
Joined: 25. Jan 2011, 14:51
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP, Ubuntu, OpenSUSE, Other Linux flavours

Re: vboxwebsrv memory usage

Post by randomhuman »

Apparently he has tried it on Ubuntu and didn't notice the problem.
imoore76
Posts: 6
Joined: 30. Apr 2010, 18:30
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Debian, Windows 7, Windows XP

Re: vboxwebsrv memory usage

Post by imoore76 »

randomhuman
Posts: 8
Joined: 25. Jan 2011, 14:51
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP, Ubuntu, OpenSUSE, Other Linux flavours

Re: vboxwebsrv memory usage

Post by randomhuman »

Based on what imoore76 says in that ticket it looks like running this command will work around the problem:

VBoxManage setproperty websrvauthlibrary null

I've tried it and the memory usage of vboxwebsrv is now steady. However, I would guess that this is not very secure.
Post Reply