Page 1 of 1

Strange web hang when viewing event streams

Posted: Thu Jun 05, 2008 7:02 pm
by nbutterworth
I have a freshly-installed Ubuntu Server 8.04 machine, dual P3-933 with 1GB RAM. I installed ZM 1.23.3 from .deb files, made sure that all the necessary Perl modules and other package depends were installed, and everything is working nicely. I have image streams from 4 IP D-Link security cameras.

Except for trying to view the stream from a captured event. I had initially misunderstood the difference between modect and mocord, so I was confused at first why I had new continuous events every 10 minutes with the mocord setting. I finally figured that out yesterday, and switched to using modect (which is the effect I wanted in the first place). Now, ever since doing that, I get strange behavior when I view captured events.

What happens is that when I open the window to view the image stream from any event, I see the first frame, but it doesn't animate through the rest of the frames in the event. Furthermore, I can close windows, but when I try to bring up other viewers or other windows inside ZM, all subsequent windows are stuck trying to load blank white screens, until I reload Apache. The next time I try to view a captured event, the same thing happens.

I've tried turning DVR mode on and off, with no difference. I tried changing from nph-zms to zms, with no apparent change. The entire time I run a test, I keep a terminal open and running htop, and I see no unusual activity; the CPUs stay around 25-30% total usage between the 2, and memory never goes above 105MB or so. The only thing I've been able to determine so far is that the Apache error log sometimes displays the following message:

Code: Select all

[warn] [client 172.16.9.3] Timeout waiting for output from CGI script /usr/lib/cgi-bin/nph-zms, referer: http://vision/zoneminder/index.php?view=montagefeed&mid=2&mode=
I'm at a loss, and it's kinda killing the usage to have to bounce Apache every time someone wants to view an event stream. What am I missing?