Some recording missing in Mocord mode

Forum for questions and support relating to the 1.29.x releases only.
Locked
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Some recording missing in Mocord mode

Post by marcolino7 »

Hi,
I have 6 IP camera configured in Mocord. I record 7 days and with a filter I delete older recordings.
What it happen is that for only a couple of camera, some events missing.
Whay I mean is that I record event of 10 minutes, so what I expect is 6 event per hour and 144 event per day.
Sometime i have less event.
I checked the event list and what i can see is that sometime event do not end at 10 minutes but before.
In occurence with a recording truncatet, i found this in the logs:

Code: Select all

02/13/2017 01:14:12.421266 zmwatch[22422].INF [Analysis daemon for  IPCAM05-Sala-REC needs restarting, time since last analysis 9 seconds (1486944852-1486944843)]
02/13/2017 01:14:16.929391 zmwatch[22422].INF [Restarting analysis daemon for  IPCAM05-Sala-REC]
after this 2 logline @ 01:14:17 my recording stop and start a new one.

I cannot understand why this happen, only on this camera that is configured and same model of others.

Here an Example, for IPCAM05 I have less event than other:
Event count
Event count
2017-02-13 14_50_42-ZM - Console.jpg (16.47 KiB) Viewed 4030 times
Many thanks for help

Marco
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Some recording missing in Mocord mode

Post by bbunge »

You are running in a vm? Check that the tmpfs is not running out of space. Lower the resolution and frame rate at the camera. May also fix your other problem.
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Re: Some recording missing in Mocord mode

Post by marcolino7 »

bbunge wrote:You are running in a vm? Check that the tmpfs is not running out of space. Lower the resolution and frame rate at the camera. May also fix your other problem.
Hi
bbunge,
this is my disk space:

Code: Select all

Filesystem                                        Size  Used Avail Use% Mounted on
udev                                              1.5G     0  1.5G   0% /dev
tmpfs                                             303M   33M  271M  11% /run
/dev/sda1                                          78G  2.9G   71G   4% /
tmpfs                                             1.5G  264M  1.3G  18% /dev/shm
tmpfs                                             5.0M     0  5.0M   0% /run/lock
tmpfs                                             1.5G     0  1.5G   0% /sys/fs/cgroup
/dev/sdb1                                         459G  348G  111G  76% /mnt/localStorage
tmpfs                                             303M     0  303M   0% /run/user/0
it seems tempfs is not running out of space.
Some other detail on my server. I have a dedicated HDD for saving video, is not a virtual disk, but a raw device connected to VM, so this unload VirtualDisk where OS is running. My server have 4 CPU and average load is 0,70.
I run 6 camera @640x480, but also @320x240 I have this behaviour. Framerate is 5 fps.
If this should be a server performance issue, I expect that happen on all camera randomly and not only on specific camere, and only that.
For other issue, in other post, it happen always on one camera.
Regards

Marco
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Some recording missing in Mocord mode

Post by SteveGilvarry »

Lost connection to the camera is what springs to my mind immediately, loses connection, restarts camera = new event. If connection lost for longer time then events for the day would less than other cameras.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Re: Some recording missing in Mocord mode

Post by marcolino7 »

SteveGilvarry wrote:Lost connection to the camera is what springs to my mind immediately, loses connection, restarts camera = new event. If connection lost for longer time then events for the day would less than other cameras.
Hi,
it make sense. I have just in my mind the idea to return camera to Foscam, and I think this could be an options.

Thanks
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Some recording missing in Mocord mode

Post by SteveGilvarry »

First try swapping two cameras around, i.e. move them to each others location. If issue follows then it is camera, if not then it is cable. And if you tell me it is wireless then that is the problem.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Re: Some recording missing in Mocord mode

Post by marcolino7 »

Hi Steve,
my camera is just under warranties, and Amazanon refound me. With a little gap of mony I can purchase a better model.
My mind is to replace all camera with new model, but just to be sure, I'll swap 2 camera as you suggest.

Regards

Marco
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
marcolino7
Posts: 73
Joined: Wed Sep 16, 2015 12:20 pm

Re: Some recording missing in Mocord mode

Post by marcolino7 »

Hi,
i keep situation monitored.
It seems that continous recording stop and restart, when a cam detect lots ov movement. I don't know if this is cause due camera fails due lot o data to be trasmitted or ZM fail to handler the data too.

Here is the logs for last occurence:

Code: Select all

Feb 17 14:45:26 zoneminder zmdc[1367]: WAR [Can't find process with command of 'zmtrack.pl -m 11']
Feb 17 14:45:26 zoneminder zmdc[1367]: INF ['zma -m 11' sending stop to pid 18760 at 17/02/17 14:45:26]
Feb 17 14:45:26 zoneminder zma_m11[18760]: INF [Got signal 15 (Terminated), exiting]
Feb 17 14:45:26 zoneminder zma_m11[18760]: INF [IPCAM05-Sala-REC: 196173 - Closing event 23506, shutting down]
Feb 17 14:45:26 zoneminder zmdc[1367]: INF ['zma -m 11' exited normally]
Feb 17 14:45:26 zoneminder zmdc[1367]: INF ['zma -m 11' starting at 17/02/17 14:45:26, pid = 30668]
Feb 17 14:45:26 zoneminder zmdc[30668]: INF ['zma -m 11' started at 17/02/17 14:45:26]
Feb 17 14:45:27 zoneminder zma_m11[30668]: INF [In mode 5/1, warming up]
Feb 17 14:45:27 zoneminder zma_m11[30668]: INF [IPCAM05-Sala-REC: 026 - Opening new event 23511, section start]
Production Zoneminder 1.31.4 Ubuntu 16.04 LTS on VmWare ESXi
6 Cameras FOSCAM FI8918W
OpenHab Integration
Locked