Page 1 of 1

need browser restart, freezing stream WORKAROUND

Posted: Tue Feb 23, 2010 11:59 pm
by athorretto
Hi all

i'm a new user of zm, now running on a vm(vmware server 2) ubuntu server 9.04 zm 1.24.1.

After a couple days i fixed up configuration for my needs, but firefox freeze after, sometimes 1 minute, sometimes 10 secs; the solution is to erase cache(restart firefox sometimes) or reload apache as we well know.

Regarding this issue i read a lot in the forum but worksrounds i found didn't solve my problem, anyway helps understanding components involved in this issue.

One thing that can't understand: why the fps value is going negative in the moment of the freeze? someone else notice that?

searching in the /var/www/zm for "fpsValue" with grep (the relative id on the php page) this is the result:

skins/classic/views/js/watch.js
skins/classic/views/js/montage.js
skins/classic/views/watch.php
skins/classic/views/montage.php

focusing on "skins/classic/views/watch.php" ,simply i cut off the <span> tag that display fps:

from

<div><SLANG>:&nbsp;<span></span>&nbsp;-&nbsp;<span></span>&nbsp;fps</div>

to

<div><SLANG>:&nbsp;<span></span>&nbsp;-&nbsp;&nbsp;fps</div>

this solve my problems of freezing streams that i was experiencing without restarting the browser because it didn't freeze.

Can anyone that is experiencing the same problem , try to modify the file and verify if it works properly?

Unfortunatly cutting off the span tag remove the funcion of "disable alarms" and "forced alarm" from the page, i didn't understanding yet , i think i've to look in the css.

if someone can try i hope we can find, with the help of someone that know php, an easy way to workaround this problem.

<edit>

before the mod freezing usually in 1/3 mins, now running from 1h but didn't understanding why :twisted: :twisted: help !

<edit>

Posted: Wed Feb 24, 2010 2:45 am
by jfkastner
for whatever reason the ONLY FF version that works for me with ALL menus/windows/controls reliably was 3.0.7

you can use 307 just for ZM and don't care about the security/update issues, and have another FF for the web access

Posted: Wed Feb 24, 2010 1:07 pm
by athorretto
edit:

no freeze in 12h, can anyone try this workaround ?????????

this could help to find a good solution

Posted: Fri Jun 04, 2010 6:47 pm
by danisam
i will try,give me the day.

regards

Posted: Sun Jun 06, 2010 11:42 am
by Pictux
I solve the freeze problem refreshing browser.
Here my solution:
http://www.zoneminder.com/forums/viewto ... 2502#62502

Regards
M

Posted: Sun Jun 06, 2010 9:32 pm
by danisam
I just perform the change in watch.php and it's seems that my freeze pb is fixed.
But when i went to the multi view , i can see the FPS an the page freeze.
Where can i find this php page to chenge the same.

BEst regards

Posted: Sun Jun 06, 2010 9:44 pm
by danisam
after hours of tests i can say that my freeze problem in Apache is gone.
Thank you very much athorretto.
Now i need to search the Clycle and mutiple camera PHP pages.

best regards all

Long life to Zoneminder.

Posted: Sun Jun 06, 2010 10:34 pm
by danisam
I found it in :

/var/www/skins/classic/views/montage.php

i will continue my tests but i think you find the problem.