Comments (10)
@alager, some followup questions:
a) How often does this occur?
b) Can you check if this mostly occurs when you are moving from montage view to System status view or does it happen when transitioning from other views to System status as well?
c) When this occurs, can you check via your network tools how many connections are active from ZMNinja to ZM?
thx
from zmninja.
a) It's only happened once that I've noticed
b) will keep an eye on the behavior
c) I have wireshark, I'll see if I can catch it.
from zmninja.
Here are the syslogs
10.5.16.160 - - [25/Sep/2015:15:15:25 -0700] "GET /zm/index.php HTTP/1.1" 200 2995 "http://10.5.27.58/zm/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
10.5.20.79 - - [25/Sep/2015:15:15:27 -0700] "GET /zm/api/host/daemonCheck.json HTTP/1.1" 200 267 "-" "Mozilla/5.0 (Linux; Android 4.4.4; HTC One_M8 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Crosswalk/14.43.343.24 Mobile Safari/537.36"
10.5.20.79 - - [25/Sep/2015:15:15:27 -0700] "GET /zm/api/host/getLoad.json HTTP/1.1" 200 311 "-" "Mozilla/5.0 (Linux; Android 4.4.4; HTC One_M8 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Crosswalk/14.43.343.24 Mobile Safari/537.36"
10.5.16.160 - - [25/Sep/2015:15:16:26 -0700] "GET /zm/index.php HTTP/1.1" 200 2995 "http://10.5.27.58/zm/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
10.5.16.160 - - [25/Sep/2015:15:17:26 -0700] "GET /zm/index.php HTTP/1.1" 200 3002 "http://10.5.27.58/zm/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36"
and here are the zmNinja logs
Sep 25, 2015 3:17:37 PM INFO Authentication is disabled. Skipping login
Sep 25, 2015 3:17:37 PM INFO Authentication not enabled. Skipping Timer
Sep 25, 2015 3:17:37 PM INFO No need to cancel zmAutologin timer. Auth is off
Sep 25, 2015 3:17:37 PM INFO Not iOS, not checking for touchID
Sep 25, 2015 3:17:37 PM INFO User credentials are provided
Sep 25, 2015 3:17:36 PM INFO Restarting montage timer on resume
Sep 25, 2015 3:17:36 PM INFO Restarting montage timer on resume
Sep 25, 2015 3:17:36 PM INFO App is resuming from background
Sep 25, 2015 3:17:33 PM INFO No need to cancel zmAutologin timer. Auth is off
Sep 25, 2015 3:17:33 PM INFO App is going into background
Sep 25, 2015 3:16:20 PM ERROR Error retrieving DiskStatus: {"data":null,"status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://<server>/api/host/getDiskPercent.json","headers":{"Accept":"application/json, text/plain, */*"},"timeout":60000},"statusText":""}
Sep 25, 2015 3:13:59 PM INFO Stream authentication construction:
Sep 25, 2015 3:13:59 PM INFO Data Model: Did not find any stream mode of auth
Sep 25, 2015 3:13:59 PM INFO DataModel: Did not find a stream auth key, looking for user=
Sep 25, 2015 3:13:59 PM INFO Inside Montage Ctrl:We found 4 monitors
Sep 25, 2015 3:13:59 PM INFO Returning pre-loaded list of 4 monitors
Just to complete the picture I have apache configured for 4 processes.
from zmninja.
So the previous comment should have said I had 4 apache processes running.
Configured was 2, with 1 min spare and 5 max spare.
I've changed it to:
4, with 2 min spare and 4 max spare
now I'm not seeing the timeouts....I'll keep an eye on this.
from zmninja.
Interesting. So Apache dropped that API HTTP request then? I see in your logs that it got a "daemonCheck" and then it got a "getLoad" but never received a "diskStatus" and my app returned an error, so does that mean the apache process just dropped that connection? Is that how Apache's limit works? I thought it would queue it up. The fact that you increased these limits and the problem is not recurring implies its not the app browser that is causing this issue, then.
from zmninja.
running 6 apache processes, I see an odd behavior here.
10.5.20.87 - - [28/Sep/2015:16:02:01 -0700] "GET /zm/api/host/daemonCheck.json
10.5.20.87 - - [28/Sep/2015:16:02:02 -0700] "GET /zm/api/host/getLoad.json
Even though the time stamp is within 1 second of the above two rows, these two rows below don't show up in the access log until almost 40 seconds later, and that is the moment that the page changes from "loading..." to 588.6GB for disk usage.
10.5.20.87 - - [28/Sep/2015:16:02:02 -0700] "GET /zm/api/host/getDiskPercent.json
10.5.20.87 - - [28/Sep/2015:16:02:03 -0700] "GET /zm/api/States.json
from zmninja.
Now running 11 processes, the delay between those two sets is now about 3 seconds wall clock time, as is the update for the disk usage, but the logs still indicate about 1 second.
Also of note, I have to exit zmNinja each time to test this, as the swipe down to refresh does not appear to refresh when the number of processes was 6 or less.
Now that it I have 11 processes, swipe to refresh is working.
from zmninja.
@alager a large delay for disk status is normal - mine takes 15s - zm executes a Unix dF that takes a long time spending on number of events files.
from zmninja.
is this still a problem @alager ?
from zmninja.
no, once I increased the number of apache processes, these issues went away.
from zmninja.
Related Issues (20)
- Auth is broken after server switch
- support android 12 HOT 12
- H265 support
- Support for self-signed certificate
- No notification option on Android 13 HOT 3
- FCM Notifications Fail to Send with "Message Count Exceeded" Error.
- no video output on app HOT 3
- H265+ play video
- Incorrect 'cgi-bin' path in settings HOT 1
- Android TV support
- Internal and external connections HOT 2
- Images not showing after installing last zmninja HOT 5
- Events won't play in zmNinja HOT 9
- Cannot save events or snapshots, permission not granted
- Camera Configuration (disable, enable, etc...) Fails within zmNinja Android Application.
- AppImage 1.7.6 from releases not working on debian desktop login validated but API failed - config is fine
- Problems with event playback at high resolutions on some Android devices HOT 2
- How to run on macOS/MacBook M3
- ZMNinja on Android no live video, working perfect on Windows HOT 5
- No longer able to see non-running monitors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zmninja.