1.24.2 Alarm events not ending

Forum for questions and support relating to the 1.24.x releases only.
trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

1.24.2 Alarm events not ending

Post by trasherdk » Sat Feb 20, 2010 10:07 am

Hi guys

I'm using a TV-IP422 camera on a local network, no problems there.

I got one zone, and events are triggered ok. The problem is that
recording dosn't stop when there is no more alarm frames.

Even when the event is only a few minutes, i get durations more
than one hour.

Any clues to why this occur?
Enjoy

TrasherDK

Flav
Posts: 38
Joined: Tue Jan 12, 2010 2:26 pm
Contact:

Post by Flav » Sat Feb 20, 2010 10:36 am

I have this problem one time i've delete the monitor and recreat it

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Sat Feb 27, 2010 3:15 am

Hmm, no one has a solution, other than delete the monitor, and loose
3 months of events :?:

I would think that the development team would be interested in solving
an issue of this kind.
Enjoy

TrasherDK

whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy » Sat Feb 27, 2010 3:22 am

Sure the mode of the monitor is MODECT and not MOCORD???

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Sat Feb 27, 2010 5:59 am

Yes, mode is modetect.

Alarm start fires OK, but then it just keep capturing for hours,
until i SIGHUP'er the zma process.

It's filling up the server disk fast.
Enjoy

TrasherDK

whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy » Sat Feb 27, 2010 6:07 am

What about post-buffers??? what's the number???

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Sat Feb 27, 2010 6:09 am

Can you dump the sql for the zone config and post it?

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Sat Feb 27, 2010 5:34 pm

@cordel

I'm assuming it's the Zones table you want:

Code: Select all

-- MySQL dump 10.13
--
-- Host: localhost    Database: zoneminder
-- ------------------------------------------------------
-- Server version       5.1.22-rc-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `Zones`
--

DROP TABLE IF EXISTS `Zones`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `Zones` (
  `Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `MonitorId` int(10) unsigned NOT NULL DEFAULT '0',
  `Name` varchar(64) NOT NULL DEFAULT '',
  `Type` enum('Active','Inclusive','Exclusive','Preclusive','Inactive') NOT NULL DEFAULT 'Active',
  `Units` enum('Pixels','Percent') NOT NULL DEFAULT 'Pixels',
  `NumCoords` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `Coords` tinytext NOT NULL,
  `Area` int(10) unsigned NOT NULL DEFAULT '0',
  `AlarmRGB` int(10) unsigned DEFAULT '0',
  `CheckMethod` enum('AlarmedPixels','FilteredPixels','Blobs') NOT NULL DEFAULT 'Blobs',
  `MinPixelThreshold` smallint(5) unsigned DEFAULT NULL,
  `MaxPixelThreshold` smallint(5) unsigned DEFAULT NULL,
  `MinAlarmPixels` int(10) unsigned DEFAULT NULL,
  `MaxAlarmPixels` int(10) unsigned DEFAULT NULL,
  `FilterX` tinyint(3) unsigned DEFAULT NULL,
  `FilterY` tinyint(3) unsigned DEFAULT NULL,
  `MinFilterPixels` int(10) unsigned DEFAULT NULL,
  `MaxFilterPixels` int(10) unsigned DEFAULT NULL,
  `MinBlobPixels` int(10) unsigned DEFAULT NULL,
  `MaxBlobPixels` int(10) unsigned DEFAULT NULL,
  `MinBlobs` smallint(5) unsigned DEFAULT NULL,
  `MaxBlobs` smallint(5) unsigned DEFAULT NULL,
  `OverloadFrames` smallint(5) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  KEY `MonitorId` (`MonitorId`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `Zones`
--

LOCK TABLES `Zones` WRITE;
/*!40000 ALTER TABLE `Zones` DISABLE KEYS */;
INSERT INTO `Zones` VALUES (3,2,'office','Active','Percent',4,'27,153 623,157 623,376 29,374',130527
,16711680,'AlarmedPixels',20,0,6526,0,5,5,29669,0,24724,0,1,0,0);
/*!40000 ALTER TABLE `Zones` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2010-02-27 17:29:24
Thanks.
Enjoy

TrasherDK

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Sat Feb 27, 2010 5:39 pm

@whatboy

Buffers are as follow:

Code: Select all

Image Buffer Size (frames)		20
Warmup Frames				5
Pre Event Image Count		10
Post Event Image Count		10
Stream Replay Image Buffer	10
Alarm Frame Count			5
Thanks.
Enjoy

TrasherDK

whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy » Sat Feb 27, 2010 9:18 pm

Warmup Frames 5


There's a Document... I think is called MANUAL... I don't know... and clearly state... DO NOT FSK WITH "Warmup Frames" or ELSE... or sumtin like that, can't remember... better look it up!!! Default value should be 25 and 25 should be...

whatboy
Posts: 304
Joined: Mon Aug 31, 2009 10:31 pm

Post by whatboy » Sat Feb 27, 2010 9:21 pm

Got it... http://www.zoneminder.com/wiki/index.ph ... uffers_Tab


Warm-up Frames
This specifies how many frames the analysis daemon should process but not examine when it starts. This allows it to generate an accurate reference image from a series of images before looking too carefully for any changes. I use a value of 25 here, too high and it will take a long time to start, too low and you will get false alarms when the analysis daemon starts up.

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Sun Feb 28, 2010 5:15 am

Thanks for your reply.

I have changed warm-up frames to 20 and Alarm Frames to 10.

It's capturing at 2.2 FPS. Now i can sit back and wait for the
next event to fire. The server/camera is in Copenhagen, Denmark
and i'm sitting in Pattaya, Thailand so it's not like i can provoke
an event myself 8)

The server is an old Pentium III 800MHz 512MB RAM, and it's
running MySQL, Apache, Sendmail, Cyrus IMAP in addition
to ZoneMinder, so it's kinda busy :lol:
Enjoy

TrasherDK

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Mon Mar 01, 2010 7:34 am

:( I guess my problem isn't related to number of warm up frames
or Alarm frames. It still don't end end alarm/events by itself.

Anything else i can try, other than deleting the monitor?
Enjoy

TrasherDK

jameswilson
Posts: 5109
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK
Contact:

Post by jameswilson » Mon Mar 01, 2010 10:04 am

is your monitor too sensitive and never leaves event states
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk

trasherdk
Posts: 12
Joined: Sat Feb 20, 2010 6:20 am

Post by trasherdk » Mon Mar 01, 2010 11:14 am

For the monitor/zone i have chosen preset "Best - Medium sensitivity".

I think it was on "High sensitivity" before. Let's see what happens.
Enjoy

TrasherDK

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests