ZMA running on all cameras

Forum for questions and support relating to the 1.24.x releases only.
Locked
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

ZMA running on all cameras

Post by coke »

Ubuntu 8.0.4.2, ZM 1.24.1, why is ZMA running on all of my cameras when they're all set to record aside from one of them that's on modetect? It seems to be eating a decent amount of CPU, and I don't understand why it's analyzing things if I tell it just to record them.

Code: Select all

ps -eaf | grep zma
cmadmin   8686  8642  0 18:24 pts/4    00:00:00 grep zma
www-data  9936 12151 16 Jun27 ?        03:06:25 /usr/local/bin/zma -m 19
www-data 12177 12151  3 Jun26 ?        01:36:09 /usr/local/bin/zma -m 1
www-data 12181 12151  3 Jun26 ?        01:48:53 /usr/local/bin/zma -m 2
www-data 12185 12151  3 Jun26 ?        01:49:57 /usr/local/bin/zma -m 3
www-data 12191 12151  3 Jun26 ?        01:38:19 /usr/local/bin/zma -m 4
www-data 12221 12151  3 Jun26 ?        01:45:55 /usr/local/bin/zma -m 11
www-data 12227 12151  0 Jun26 ?        00:00:14 /usr/local/bin/zma -m 12
www-data 12233 12151  2 Jun26 ?        01:31:20 /usr/local/bin/zma -m 14
www-data 12266 12151  0 Jun26 ?        00:02:41 /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -c
www-data 12272 12151  2 Jun26 ?        01:34:06 /usr/local/bin/zma -m 5
www-data 12273 12151  2 Jun26 ?        01:26:38 /usr/local/bin/zma -m 8
www-data 12275 12151 15 Jun26 ?        08:23:28 /usr/local/bin/zma -m 16
www-data 12276 12151 19 Jun26 ?        10:20:32 /usr/local/bin/zma -m 18
www-data 20416 12151  0 Jun27 ?        00:12:06 /usr/local/bin/zma -m 10
www-data 27548 12151  1 10:51 ?        00:04:46 /usr/local/bin/zma -m 7
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

zmc just captures the images and writes them to memory, zma is what writes them to disk from memory so even if you are just doing record then zma will be needed. It will not be doing analysis, but what might be taking some of your cpu is encoding the saved jpegs.

You could try some of the tips in this FAQ, particularly the libjpeg MMX one as people have reported very good results with that.
Phil
Locked