disabling RUN_AUDIT not doing anything

Forum for questions and support relating to the 1.24.x releases only.
Locked
fannus
Posts: 4
Joined: Wed Feb 20, 2008 10:07 pm

disabling RUN_AUDIT not doing anything

Post by fannus »

Hi! I'm running Zoneminder 1.24.2; I've done a lot of searches on these forums and on the Zoneminder FAQ but I haven't been able to figure out why when I uncheck Options -> System -> RUN_AUDIT, I still see the zma process running (along with zmc) when Zoneminder starts. From the help text of this option, it's states that zma shouldn't be constantly running in the background when this box is unticked.

Ticking/unticking the run audit checkbox seems to make absolutely no difference in behavior. If I kill the zma processes, Zoneminder starts them back up again. I'd like to run zma at periodic intervals with a cron job so I don't have it constantly eating up my background CPU. Do you guys have any ideas?

In the log, it says staring "pending" process; maybe it thinks that it has a backlog of audits to run? Is there a process queue I have to flush or something?

Thanks!

(p.s. if i type the full name of the option, "zm run audit" with caps and underscores, the forum spam filter goes bananas, maybe ease up on the stringency? I can't even post the correct name of the option..)
fannus
Posts: 4
Joined: Wed Feb 20, 2008 10:07 pm

Re: disabling RUN_AUDIT not doing anything

Post by fannus »

here is a copy of my /tmp/zmdc.log, I was struggling with the spam filter so I had to pare down my original post:

12/28/11 13:37:36.630516 zmdc[1834].INF [Server starting at 11/12/28 13:37:36]
12/28/11 13:37:39.733790 zmdc[1834].INF ['zmc -m 2' starting at 11/12/28 13:37:39, pid = 1896]
12/28/11 13:37:39.836249 zmdc[1834].INF ['zma -m 2' starting at 11/12/28 13:37:39, pid = 1901]
12/28/11 13:37:39.942184 zmdc[1834].INF ['zmc -m 3' starting at 11/12/28 13:37:39, pid = 1903]
12/28/11 13:37:39.981404 zmdc[1834].ERR ['zma -m 2' exited abnormally, exit status 255]
12/28/11 13:37:39.981610 zmdc[1834].INF [Starting pending process, zma -m 2]
12/28/11 13:37:39.982144 zmdc[1834].INF ['zma -m 2' starting at 11/12/28 13:37:39, pid = 1905]
12/28/11 13:37:40.002952 zmdc[1834].ERR ['zma -m 2' exited abnormally, exit status 255]
12/28/11 13:37:40.049204 zmdc[1834].INF ['zma -m 3' starting at 11/12/28 13:37:40, pid = 1906]
12/28/11 13:37:40.069642 zmdc[1834].ERR ['zma -m 3' exited abnormally, exit status 255]
12/28/11 13:37:40.069875 zmdc[1834].INF [Starting pending process, zma -m 3]
12/28/11 13:37:40.070408 zmdc[1834].INF ['zma -m 3' starting at 11/12/28 13:37:40, pid = 1908]
12/28/11 13:37:40.090947 zmdc[1834].ERR ['zma -m 3' exited abnormally, exit status 255]
12/28/11 13:37:40.162428 zmdc[1834].INF ['zmfilter.pl' starting at 11/12/28 13:37:40, pid = 1909]
12/28/11 13:37:40.263702 zmdc[1834].INF ['zmwatch.pl' starting at 11/12/28 13:37:40, pid = 1912]
12/28/11 13:37:45.071090 zmdc[1834].INF [Starting pending process, zma -m 3]
12/28/11 13:37:46.923482 zmdc[1834].INF ['zma -m 3' starting at 11/12/28 13:37:46, pid = 1964]
12/28/11 13:37:46.923793 zmdc[1834].INF [Starting pending process, zma -m 2]
12/28/11 13:37:46.924291 zmdc[1834].INF ['zma -m 2' starting at 11/12/28 13:37:46, pid = 1965]

It looks like zma is exiting, but then starting back up? But why should it be starting in the first place if RUN_AUDIT is disabled?
Locked