Extremely Slow Response
Posted: Sun Dec 21, 2014 4:59 pm
Hi,
I'm very new to ZM so I thought i'd play around with it a bit and see what it's all about and I am getting extremely slow response.
I have a virtual machine running with 2 processors and 2 threads per core giving me essentially 4 CPUs (according to linux anyway!!). The virtual machine is running Ubuntu 14.04 LTS with 2GB RAM.
I installed ZM as per instructions here: 'Ubuntu Server 14.04 64-bit with Zoneminder 1.28.0 the easy way' from the User Specific Install Guides on the wiki - the only thing I didn't follow was giving a static IP address, which means I am using localhost/zm/.
As for the camera, I have a Microsoft LifeCam Cinema HD capable of 720p video @ 30 fps.
All installs correctly, or so it seems anyway. I can access the ZM control screen and create Add a New Monitor which by default comes in with a Width of 320 and a Height of 240. When I go to monitor, I usually get some video around 9 to 12 fps. The main point here is I get something. Occasionally I don't get anything, and 'ls /dev/vid*' tells me there is no video device detected so all I do is unplug and plug in the camera and it ZM works again - not sure whether this is a 'feature' of it being a VM but i'll try and sort this out later....
Now, on to the problem. I thought to myself, i'd like a bit higher resolution so I edited the monitor and changed the Width to 640 and the Height to 480, and then attempted to view the camera again. Everything ground to a halt. It took ages to refresh the webpages and there was no camera image.
Although the System Monitor graph on the Resources tab shows one of the CPUs is 100% whilst the others have the occasional activity, I cannot see 100% worth of processes on the processes tab but there are lots (20) apache2 processes doing nothing that I can see. It is only using 800MB from the 2GB available. Swap is sitting on 0.
I cannot see why changing the resolution should prevent an image from displaying and I cannot see why the system has gone unresponsive either.
Does anyone have any experience with this?
Thanks
I'm very new to ZM so I thought i'd play around with it a bit and see what it's all about and I am getting extremely slow response.
I have a virtual machine running with 2 processors and 2 threads per core giving me essentially 4 CPUs (according to linux anyway!!). The virtual machine is running Ubuntu 14.04 LTS with 2GB RAM.
I installed ZM as per instructions here: 'Ubuntu Server 14.04 64-bit with Zoneminder 1.28.0 the easy way' from the User Specific Install Guides on the wiki - the only thing I didn't follow was giving a static IP address, which means I am using localhost/zm/.
As for the camera, I have a Microsoft LifeCam Cinema HD capable of 720p video @ 30 fps.
All installs correctly, or so it seems anyway. I can access the ZM control screen and create Add a New Monitor which by default comes in with a Width of 320 and a Height of 240. When I go to monitor, I usually get some video around 9 to 12 fps. The main point here is I get something. Occasionally I don't get anything, and 'ls /dev/vid*' tells me there is no video device detected so all I do is unplug and plug in the camera and it ZM works again - not sure whether this is a 'feature' of it being a VM but i'll try and sort this out later....
Now, on to the problem. I thought to myself, i'd like a bit higher resolution so I edited the monitor and changed the Width to 640 and the Height to 480, and then attempted to view the camera again. Everything ground to a halt. It took ages to refresh the webpages and there was no camera image.
Although the System Monitor graph on the Resources tab shows one of the CPUs is 100% whilst the others have the occasional activity, I cannot see 100% worth of processes on the processes tab but there are lots (20) apache2 processes doing nothing that I can see. It is only using 800MB from the 2GB available. Swap is sitting on 0.
I cannot see why changing the resolution should prevent an image from displaying and I cannot see why the system has gone unresponsive either.
Does anyone have any experience with this?
Thanks