[SOLVED] too much delay between opening windows and start streaming

Forum for questions and support relating to the 1.28.x releases only.
Locked
marcopete87
Posts: 40
Joined: Wed Dec 04, 2013 4:53 pm

[SOLVED] too much delay between opening windows and start streaming

Post by marcopete87 »

(SOLVED: check your web protection software: in my case sophos web protection was doing nasty things with local connections)


Hi all, i'm not new to zoneminder (in fact, i'm using it from 2010), but now i have some issues with fresh installed debian jessie and zoneminder 1.28.1

The problem which i can't solve is the 10-20 seconds delay between stream window opening (i tried with firefox and chrome with same results) before start to getting (delayed by 2-3 seconds) images.

The pc i'm using is the same about 3 years (i removed old fedora 19) and it's working fine.

Can anyone help me?

cpu isn't overloaded (it's between 5-6% of load).
Last edited by marcopete87 on Mon Nov 23, 2015 6:03 pm, edited 1 time in total.
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: too much delay between opening windows and start streaming

Post by bbunge »

Are you running the desktop version of Debian and opening ZM from a browser on that PC? Which install procedure did you use to set up ZM?
marcopete87
Posts: 40
Joined: Wed Dec 04, 2013 4:53 pm

Re: too much delay between opening windows and start streaming

Post by marcopete87 »

yes, i followed the normal procedure which is on documentation (i also increased max shared memory to 512MB, because i'll use 1280x1024 stream).
At the moment i'm using one camera 640x480
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: too much delay between opening windows and start streaming

Post by bbunge »

Documentation where? Suggest you look at this:
https://wiki.zoneminder.com/Debian_8.1_ ... e_Easy_Way

With current Zoneminder builds you do not need to change shared memory. MMAP usage is built in. However, you may want to limit the use of RAM by tmpfs as Debian distros will use half of RAM for tmpfs.

Also try to access your ZM server from another PC.
marcopete87
Posts: 40
Joined: Wed Dec 04, 2013 4:53 pm

Re: too much delay between opening windows and start streaming

Post by marcopete87 »

Hi, thank you for advice: i tried with another pc and it works.
I found SOPHOS web protection was blocking some connections, so i added my server IP in whitelist.

However i followed debian 8.1 documentation.
Locked