|Issue 179:||Process /usr/lib/virtualbox/vboxwebsrv -b --logfile /dev/null uses up alot of RAM over time|
|2 people starred this issue and may be notified of changes.||Back to list|
What steps will reproduce the problem? 1. Run /etc/init.d/vboxwebsrv 2. Wait a day or two 3. Check which process is taking up the most memory of all processes What is the expected output? What do you see instead? I would expect that the amount of RAM that it uses when /etc/init.d/vboxwebsrv is started is aproximatly what it would stay at, not to grow to take up over 400MB of RAM. Initially it starts out at 184MB but the longer it is on the more RAM it takes. What version of phpVirtualBox, VirtualBox, and PHP are you using? On what operating system? phpvirtualbox 4-2 release, VirtualBox 4.0, PHP5.3 and Ubuntu 9.10 Server 64bit Please provide any additional information below. I have to either kill the /usr/lib/virtualbox/vboxwebsrv -b --logfile /dev/null process or shut it down via /etc/init.d/vboxwebsrv
Jan 29, 2011
I noticed exactly the same issue with additional hangs over time. RAM consumption goes over 2GB after one day. AFAIK, it is not related to phpVirtualBox but to VirtualBox itself, so the issue will be closed I think :( For your information, I use the following workaround: $ ls -al /etc/cron.hourly/vboxwebsrv-restart -rwxr-xr-x 1 root root 186 2011-01-29 02:33 /etc/cron.hourly/vboxwebsrv-restart $ cat /etc/cron.hourly/vboxwebsrv-restart #!/bin/sh /etc/init.d/vboxweb-service stop >/dev/null 2>&1 /bin/sleep 1 /etc/init.d/vboxweb-service stop >/dev/null 2>&1 /bin/sleep 1 /etc/init.d/vboxweb-service start >/dev/null 2>&1
Jan 29, 2011
I have to stop the service 2 times because the first time, the PID file is not removed.
Jan 31, 2011
Hopefully we can at least track down some more information for the people at virtualbox. @dama - 2GB! That's quite a bit. How many VMs do you have? What OS are you running VirtualBox on?
Jan 31, 2011
@imooreya: Total: 23 VM's (still growing). Launched: 1 WinXP, 1 Win2008, between 6 and 12 Unix/BSD. The host (2xE5520, 24GB Ram, 2x600GB SAS 15K) is running Ubuntu 10.04 but I am still looking for a replacement.
Feb 6, 2011
@dama - if you add: VBOXWEB_TIMEOUT=10 to /etc/vbox/vbox.cfg and restart vboxweb-service, does it help memory usage?
Feb 10, 2011
Guys, Does upgrading to phpVirtualBox 4.0-3 help?
Feb 23, 2011
Closed due to inactivity.
Jul 28, 2011
|► Sign in to add a comment|