szimszon wrote:Hi!
I wonder if somebody could help me!
I recently installed 1.24beta (ZoneMinder-1.24.0-rc1-2740.tar.gz)
If I watch live jpeg streaming after a while I got -139 fps or so on display and live streaming is stalled. I have to restart my firefox 3.0.5 or restart apache2...
The zm page doesn't respond until I restart ff or apache
I got the same result with nph-zms...
[Sun Feb 08 10:09:48 2009] [warn] [client 192.168.55.12] Timeout waiting for output from CGI script /srv/www/cgi-bin/zoneminder/zms, referer:
https://192.168.55.2/zm/index.php?view=watch&mid=1
[Sun Feb 08 10:09:48 2009] [error] [client 192.168.55.12] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer:
https://192.168.55.2/zm/index.php?view=watch&mid=1
I wasn't able to use mpeg streaming but the video generation works fine with ffmpeg
There isn't any additional log in zm*log or syslog...

I made some tests on my PC, no failed memory or capacitor as I see...
It seems that only the live streaming is affected.
The faild request header:
Code: Select all
Host 192.168.55.2
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=utf-8
X-Requested-With XMLHttpRequest
Referer https://192.168.55.2/zm/index.php?view=watch&mid=1
Content-Length 53
Cookie zmBandwidth=medium; replayMode=gapless; zmSkin=classic; ZMSESSID=2ba2e661e241749d6715886c40afc502
Post:
Code: Select all
command 99
connkey 339986
request stream
view request
No answer.
The last good query:
Response header:
Code: Select all
DateSun, 15 Feb 2009 09:26:00 GMT
Server Apache/2.2.11 (Debian) PHP/5.2.6-3 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8g
X-Powered-By PHP/5.2.6-3
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Vary Accept-Encoding
Content-Encoding gzip
Content-Length 140
Keep-Alive timeout=15, max=85
Connection Keep-Alive
Content-Type text/plain
question headers:
Code: Select all
Host 192.168.55.2
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=utf-8
X-Requested-With XMLHttpRequest
Referer https://192.168.55.2/zm/index.php?view=watch&mid=1
Content-Length 53
Cookie zmBandwidth=medium; replayMode=gapless; zmSkin=classic; ZMSESSID=2ba2e661e241749d6715886c40afc502
The good post:
Code: Select all
command 99
connkey 339986
request stream
view request
And the good answer:
Code: Select all
{'result':'Ok','status':{'type':2,'monitor':1,'fps':'-400.11','state':0,'level':0,'delayed':0,'paused'
:0,1:0,'rate':1,'delay':'0.25','zoom':'1.0','enabled':1,'forced':0}}
The 'fps':'-400.11' is a bit weired
In the zms debug log:
Code: Select all
02/15/09 10:26:00.641612 zms[4961].DB3-zm_stream.cpp/146 [Last send image width = 620, height = 450]
02/15/09 10:26:00.641634 zms[4961].DB3-zm_stream.cpp/164 [Real image width = 620, height = 450]
02/15/09 10:26:00.681567 zms[4961].DB2-zm_monitor.cpp/3496 [Storing frame 227]
02/15/09 10:26:00.872015 zms[4961].DB2-zm_monitor.cpp/2909 [Got message, type 1, msg 99]
02/15/09 10:26:00.872102 zms[4961].DB1-zm_monitor.cpp/3115 [Got QUERY command, sending STATUS]
02/15/09 10:26:00.872129 zms[4961].DB2-zm_monitor.cpp/3163 [L:0, D:0, P:0, R:100, d:0.251, Z:100, E:1 F:0]
02/15/09 10:26:00.872207 zms[4961].DB3-zm_stream.cpp/58 [FPS:-400.11, MXFPS:10, BFPS:-400, EFPS:-400, FM:1]
02/15/09 10:26:00.872261 zms[4961].DB3-zm_stream.cpp/65 [aEFPS:-400, aFM:1]
02/15/09 10:31:00.682191 zms[4961].INF-zm_signal.cpp/43 [Got signal 15 (Terminated), exiting]
How can I help to track this issue down?
Thank you!