how to debug zms issue zm 1.3.9

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
jbug
Posts: 5
Joined: Thu Apr 09, 2020 4:29 pm

how to debug zms issue zm 1.3.9

Post by jbug »

I started with zm 1.3.8 on Ubuntu bionic and got 5 camera working along with zmNinja. I was able to view/see events/video from both the web and the zmNinja app.

Yesterday I updated the software to 1.3.9 and added a couple more cameras. Along the way, I' not sure why I started getting errors with zms sock not found when trying to live view. I can see that the socket got created and disappeared immediately. All zmc_x processes are recording properly (no error). I deleted all but 1 camera and still not able to resolve the issue.

I'm using zm with nginx. The site config was not changed or any other configuration (ZM_PATH_ZMS = /zm/cgi-bin/nph-zms).

I tried zm with apache, same problem.

Any idea? Thanks
Last edited by jbug on Thu Apr 09, 2020 8:10 pm, edited 1 time in total.
jbug
Posts: 5
Joined: Thu Apr 09, 2020 4:29 pm

Re: how to debug zms issue zm 1.3.9

Post by jbug »

On my dual CPU box, the memory usage is less than 50% with all zmc processes running and load at ~1.4 (out of 2)
jbug
Posts: 5
Joined: Thu Apr 09, 2020 4:29 pm

Re: how to debug zms issue zm 1.3.9

Post by jbug »

Well, I got it fixed. Apparently, I put in 15000 for MIN_STREAMING_PORT and that caused the problem. No error/indicator of anything. I got a hint of what was going on by looking at the URL for zms while viewing the source code for the live view web page.

I initially put in a number so I could view more than 6 monitors (according to the help text for MIN_STREAMING_PORT). This is a silent killer.
Post Reply