Strange behavior webbrowsers

Forum for questions and support relating to the 1.30.x releases only.
Locked
kmg454
Posts: 58
Joined: Tue Apr 11, 2017 7:43 am

Strange behavior webbrowsers

Post by kmg454 »

Since a couple of days the web interface of Zoneminder is acting weird in Firefox and Chrome.
In Firefox 55.0.2 the links like Montage, close etc. are going on and off sometimes you can click on the link next second the link is not click-able and after a few seconds you can Click again. I know this is the latest version of Firefox with the new written code so maybe thats the problem. It seems the page is loading over and over again.

Another weird behavior I see in Chrome the montage screen will not respond on the grid settings anymore, scaling is no problem but the grid settings does nothing.

I also see the logfile turn red and have this information.
Socket /var/run/zm/zms-544588s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.

I don't know where this come from because everything is running fine and I can see al my streams 100%
fujay
Posts: 6
Joined: Tue Sep 05, 2017 7:28 pm

Re: Strange behavior webbrowsers

Post by fujay »

Another weird behavior I see in Chrome the montage screen will not respond on the grid settings anymore, scaling is no problem but the grid settings does nothing.
I'm seeing something similar: I can select and get the 2-wide grid, but any other selection just give me a 1-wide layout. Oddly, if I go to a second server I have servicing some cameras (I have a total of 12 right now) and invoke the montage from that server, I can get any of the layouts I want.

This is with Firefox ESR 52.2.0 on SL 6. The servers are running ZM v1.30.4 on CentOS 7.
bbunge
Posts: 2932
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Strange behavior webbrowsers

Post by bbunge »

No problems with Firefox 55.0.3 64 bit. Did you do the Firefox fix for montage view?

Enter about:config in the address bar

scroll down to
browser.cache.check_doc_frequency 3
change the 3 to a 1

browser.cache.disk.enable True -> False
network.http.max-connections-per-server -> put a value of 100
network.http.max-persistent-connections-per-proxy -> 100 again
network.http.max-persistent-connections-per-server -> 100 again

Restart Firefox
fujay
Posts: 6
Joined: Tue Sep 05, 2017 7:28 pm

Re: Strange behavior webbrowsers

Post by fujay »

network.http.max-connections-per-server -> put a value of 100
Yup, just figured out this morning that this was my issue. After I added one more camera, I noticed that the last one on the montage view was failing to show at all. After increasing max-connections-per-server from it's default of 6, everything started working just like it's supposed to. I suspect that with the camera streams taking up all the available connections, it just wasn't able to download the CSS file. The difference between my two servers was likely due to the slightly different number of cameras between them.

My problem, anyway, is solved. Thanks!
Locked