Page 1 of 1

vboxwebsrv memory usage

Posted: 8. Jul 2011, 00:00
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

Re: vboxwebsrv memory usage

Posted: 25. Jul 2011, 14:12
by kgatan
bump

Re: vboxwebsrv memory usage

Posted: 26. Jul 2011, 15:11
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?

Re: vboxwebsrv memory usage

Posted: 27. Jul 2011, 10:41
by randomhuman
Apparently he has tried it on Ubuntu and didn't notice the problem.

Re: vboxwebsrv memory usage

Posted: 28. Jul 2011, 21:34
by imoore76

Re: vboxwebsrv memory usage

Posted: 28. Jul 2011, 23:43
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.