Page 1 of 1
Multiple remote access
Posted: Sat May 27, 2017 11:12 am
by icar17
Hi,
i'm using ZM 1.29.0 in a VM.
CPU usage is 0.37%, Memory usage is 1.97%. Bandwidth : 1GB/200MB
Using 4 cams.
When i monitor using
http://x.x.x.x/zm/index.php?view=montage&group=0 all is fine.
If i monitor more than 1 time (from 2 different points), i only can see 2/4 cams...
If i stop one monitor (first or second), all becomes good.
Any idea please ?
Thx
Re: Multiple remote access
Posted: Sat May 27, 2017 5:59 pm
by bbunge
Check your tmpfs. Sounds like you are running out of memory. Always best to not install Zoneminder on a VM.
Re: Multiple remote access
Posted: Sat May 27, 2017 6:40 pm
by icar17
thx for your answer.
Here's my conf :
PATH_SWAP = /tmp/zm
and my /tmp is in /
root@ZoneMinder:/tmp/zm# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop 0206293688 1762968 194028576 1% /
none 492 0 492 0% /dev
tmpfs 3293696 116 3293580 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 819200 45760 773440 6% /run/shm
cgroup 12 0 12 0% /sys/fs/cgroup
cgmfs 100 0 100 0% /run/cgmanager/fs
tmpfs 204800 0 204800 0% /run/user/33
tmpfs 204800 0 204800 0% /run/user/0
what's wrong ?
Re: Multiple remote access
Posted: Sat May 27, 2017 6:59 pm
by bbunge
Don't see anything there out of the ordinary. Possible that your PATH_SWAP, set to use hard drive, is going slow. You can try to use RAM by setting PATH_SWAP=/run/shm or another free area in tmpfs. When you watch individual monitors there are a lot of JPG's written to PATH_SWAP (1000 for each monitor before they are overwritten). Doing this in tmpfs, which is RAM, is faster than writing to disk.
Watching in Montage view should not have this problem.
Re: Multiple remote access
Posted: Sat May 27, 2017 7:30 pm
by icar17
same problem with PATH_SWAP=/run/shm and the problem is the same with Montage View (2 remonte access) :/
Re: Multiple remote access
Posted: Sun May 28, 2017 11:54 am
by bbunge
Are you using Firefox? If so there is a fix in the WIKI you need to do.
Re: Multiple remote access
Posted: Sun May 28, 2017 2:31 pm
by icar17
no, using Chrome.
It seems it's a local problem : when i access more than one time from an IP to
http://x.x.x.x/zm/index.php?view=montage&group=0 it doesn't work.
But if i access x time form different devices (different IP too) i have no problem.