Mulitple zmc processes revisited
Posted: Sun Jan 02, 2005 8:53 am
I'm finding I have the same issue that another user brought up in a post. After some random amount of time running, one of my monitors gets multiple zmc processes started causing a flood of error messages to my syslog. Today the syslog got over 1 GB before I caught it. When I shutdown the zm service script, there were several zmc processes left. When I tried a killall on those processes, the machine locked up tight and I had to reset to get it back.
The next time I started zm, within less than an hour, there was one too many zmc processes causing my syslog to get flooded again. I've attached the various snippets from the logfiles for that case. This is on a monitor that's coming from a capture card in the computer using /dev/video0.
My ZM_WATCH_MAX_DELAY is set to 15 which appears to be the default.
My ZM_WATCH_CHECK_INTERVAL is set to 10
The monitor is set to a maximum of 15 fps.
The next time I started zm, within less than an hour, there was one too many zmc processes causing my syslog to get flooded again. I've attached the various snippets from the logfiles for that case. This is on a monitor that's coming from a capture card in the computer using /dev/video0.
My ZM_WATCH_MAX_DELAY is set to 15 which appears to be the default.
My ZM_WATCH_CHECK_INTERVAL is set to 10
The monitor is set to a maximum of 15 fps.
Code: Select all
Syslog Error Output
-------------------
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zma-m1[2809]: INF [Surv: 30805 - Gone into prealarm state]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:06 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:07 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Jan 1 19:28:07 homeauto zmc_d0[5159]: ERR [Sync failure for frame 0: Device or resource busy]
Jan 1 19:28:07 homeauto zmc_d0[5159]: ERR [Capture failure for frame 0: Device or resource busy]
Code: Select all
zmdc.log
--------
Watchdog starting at 05/01/01 18:53:07
Watchdog pausing for 30 seconds
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -d 0'), time since last capture 1 seconds (1104634678-1104634677)
'zmc -d 0' started at 05/01/01 18:57:58
'zmc -d 0' starting at 05/01/01 18:57:58, pid = 3163
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -m 3'), time since last capture 20 seconds (1104635808-1104635788)
'zmc -m 3' started at 05/01/01 19:17:05
'zmc -m 3' starting at 05/01/01 19:17:05, pid = 4432
Restarting capture daemon ('/usr/local/bin/zmdc.pl restart zmc -d 0'), time since last capture 1 seconds (1104636486-1104636485)
'zmc -d 0' started at 05/01/01 19:28:06
'zmc -d 0' starting at 05/01/01 19:28:06, pid = 5159
Code: Select all
zmwatch.log
-----------
'zmfilter.pl' started at 05/01/01 18:53:06
'zmfilter.pl' starting at 05/01/01 18:53:06, pid = 2823
'zmaudit.pl -d 900 -y' started at 05/01/01 18:53:07
'zmaudit.pl -d 900 -y' starting at 05/01/01 18:53:07, pid = 2827
'zmwatch.pl' started at 05/01/01 18:53:07
'zmwatch.pl' starting at 05/01/01 18:53:07, pid = 2832
'zmupdate.pl -c' started at 05/01/01 18:53:08
'zmupdate.pl -c' starting at 05/01/01 18:53:08, pid = 2837
'zmc -d 0' stopping at 05/01/01 18:57:58
'zmc -d 0' died at 05/01/01 18:57:58
'zmc -d 0' started at 05/01/01 18:57:58
'zmc -d 0' starting at 05/01/01 18:57:58, pid = 3163
'zmc -m 3' stopping at 05/01/01 19:17:05
'zmc -m 3' died at 05/01/01 19:17:05
'zmc -m 3' started at 05/01/01 19:17:05
'zmc -m 3' starting at 05/01/01 19:17:05, pid = 4432
'zmc -d 0' started at 05/01/01 19:28:06
'zmc -d 0' starting at 05/01/01 19:28:06, pid = 5159
'zmfilter.pl ' stopping at 05/01/01 19:33:11
'zmfilter.pl ' died at 05/01/01 19:33:11, signal 14
'zma -m 1' stopping at 05/01/01 19:33:11
'zma -m 1' died at 05/01/01 19:33:11
'zmaudit.pl -d 900 -y' stopping at 05/01/01 19:33:11
'zmaudit.pl -d 900 -y' died at 05/01/01 19:33:11, signal 14
'zmc -m 3' stopping at 05/01/01 19:33:11
'zmc -m 3' died at 05/01/01 19:33:12
'zmwatch.pl ' stopping at 05/01/01 19:33:12
'zmwatch.pl ' died at 05/01/01 19:33:12, signal 14
'zma -m 3' stopping at 05/01/01 19:33:12
'zma -m 3' died at 05/01/01 19:33:12
'zmupdate.pl -c' stopping at 05/01/01 19:33:12
'zmupdate.pl -c' died at 05/01/01 19:33:12, signal 14
'zmc -d 0' stopping at 05/01/01 19:33:12
'zmc -d 0' died at 05/01/01 19:33:12
Use of freed value in iteration at /usr/local/bin/zmdc.pl line 419, <CLIENT> line 1.