vboxwebsrv memory usage

Discussions related to using VirtualBox on Linux hosts.

vboxwebsrv memory usage

Postby kgatan » 8. Jul 2011, 00:00

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
Location: Sweden
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 2008, Ubuntu 10.04

Re: vboxwebsrv memory usage

Postby kgatan » 25. Jul 2011, 14:12

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

Re: vboxwebsrv memory usage

Postby randomhuman » 26. Jul 2011, 15:11

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

Postby randomhuman » 27. Jul 2011, 10:41

Apparently he has tried it on Ubuntu and didn't notice the problem.
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

Postby imoore76 » 28. Jul 2011, 21:34

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

Postby randomhuman » 28. Jul 2011, 23:43

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.
randomhuman
 
Posts: 8
Joined: 25. Jan 2011, 14:51
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: Windows XP, Ubuntu, OpenSUSE, Other Linux flavours


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 14 guests