zoneminder

Forum for questions and support relating to the 1.24.x releases only.
Locked
382527398571
Posts: 10
Joined: Thu Aug 26, 2010 9:41 pm

zoneminder

Post by 382527398571 »

zoneminder
Last edited by 382527398571 on Wed Sep 01, 2010 9:57 pm, edited 5 times in total.
382527398571
Posts: 10
Joined: Thu Aug 26, 2010 9:41 pm

Post by 382527398571 »

zoneminder
Last edited by 382527398571 on Wed Sep 01, 2010 9:15 pm, edited 1 time in total.
382527398571
Posts: 10
Joined: Thu Aug 26, 2010 9:41 pm

Post by 382527398571 »

zoneminder
Last edited by 382527398571 on Wed Sep 01, 2010 9:16 pm, edited 4 times in total.
382527398571
Posts: 10
Joined: Thu Aug 26, 2010 9:41 pm

Post by 382527398571 »

zoneminder
Last edited by 382527398571 on Wed Sep 01, 2010 9:16 pm, edited 1 time in total.
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

There could be a number of causes, two I can think of are:

Possible cause:
Motion Detection Analysis taking too long.
Ways to detect:
Check how busy your CPU is.
Solutions:
-Reducing load on the ZM box in general.
-Increase the ZM audit time interval (AUDIT_CHECK_INTERVAL).
-Reducing the motion detection complexity (Using zones with AlarmedPixels or FilteredPixels instead of blobs).
- Increasing Image buffer size


Possible cause:
MySQL is too busy
Ways to detect:
-Enable the MySQL "Long queries" log. See if there are ZoneMinder queries taking 10+ seconds to minutes long.
Solutions:
-Increase the ZM audit time interval (AUDIT_CHECK_INTERVAL).
-Optimize your MySQL configuration (see the forums for optimization tips, basically allocation alot memory to the various caches).
-Switch the ZM database tables to InnoDB (seems to help make MySQL more responsive and not hang so easily on queries).


If you are not seeing heavy load nor heavy CPU utilization and increasing image buffer size isn't helping, then it might be the MySQL issue.
Locked