ZoneMinder going defunct?
Posted: Thu Feb 23, 2006 5:34 am
Since 1.21.4 (and now also in 1.22.0) the zm processes seem to go defunct after a few hours. I have no idea why, sometimes zm runs for days, other times only a couple of hours.
This is what a process listing looks like:
zmaudit.log snippet
Any suggestions or ideas?
This is what a process listing looks like:
In looking at the logs, only zmaudit.log and zmdc.log have recent timestamps (at what I assume is the time of the problem).apache 9016 1 0 02:00 ? 00:00:00 /usr/bin/perl -wT /usr/lib/zm/bin/zmdc.pl startup
apache 9049 9016 3 02:00 ? 00:47:43 [zmc] <defunct>
apache 9055 9016 1 02:00 ? 00:19:51 /usr/lib/zm/bin/zma -m 7
apache 9062 9016 0 02:00 ? 00:00:01 [zmfilter.pl] <defunct>
apache 9071 9016 0 02:00 ? 00:00:01 [zmaudit.pl] <defunct>
apache 1674 22771 0 22:23 ? 00:00:00 /usr/bin/perl -wT /usr/lib/zm/bin/zmdc.pl status
zmaudit.log snippet
zmdc.log snippet (the reason for the additional restarts is that I've now cron'd a job at 2:00am to restart zm)...
02/22/2006 19:30:53.063151 zmaudit[9071].DBG [Found filesystem monitor '7']
02/22/2006 19:30:53.065462 zmaudit[9071].DBG [Got 274 events]
02/22/2006 19:45:53.129540 zmaudit[9071].DBG [Found database monitor '7']
02/22/2006 19:45:53.142507 zmaudit[9071].DBG [Got 274 events]
02/22/2006 19:45:53.142838 zmaudit[9071].DBG [Found filesystem monitor '7']
02/22/2006 19:45:53.146040 zmaudit[9071].DBG [Got 274 events]
02/22/2006 20:00:53.194189 zmaudit[9071].DBG [Found database monitor '7']
02/22/2006 20:00:53.210510 zmaudit[9071].DBG [Got 275 events]
02/22/2006 20:00:53.210786 zmaudit[9071].DBG [Found filesystem monitor '7']
02/22/2006 20:00:53.212915 zmaudit[9071].DBG [Got 275 events]
I only have the one camera02/22/2006 02:00:46.750062 zmdc[9016].INF ['zma -m 7' starting at 06/02/22 02:00:46, pid = 9055]
02/22/2006 02:00:46.750888 zmdc[9055].INF ['zma -m 7' started at 06/02/22 02:00:46]
02/22/2006 02:00:47.000471 zmdc[9062].INF ['zmfilter.pl' started at 06/02/22 02:00:47]
02/22/2006 02:00:47.000470 zmdc[9016].INF ['zmfilter.pl' starting at 06/02/22 02:00:46, pid = 9062]
02/22/2006 02:00:47.408185 zmdc[9071].INF ['zmaudit.pl -c' started at 06/02/22 02:00:47]
02/22/2006 02:00:47.410532 zmdc[9016].INF ['zmaudit.pl -c' starting at 06/02/22 02:00:47, pid = 9071]
02/22/2006 02:00:47.788195 zmdc[9076].INF ['zmwatch.pl' started at 06/02/22 02:00:47]
02/22/2006 02:00:47.789870 zmdc[9016].INF ['zmwatch.pl' starting at 06/02/22 02:00:47, pid = 9076]
02/22/2006 20:06:45.280142 zmdc[9016].INF ['zmwatch.pl ' died, signal 14]
02/22/2006 20:06:45.289374 zmdc[9016].INF ['zmc -m 7' stopping at 06/02/22 20:06:45]
Any suggestions or ideas?