Losing events, zmaudit acting up
Posted: Thu Jan 14, 2010 3:11 pm
So, coming back after a day off, I find my server has 100% of disc space occupied, and the number of events is neglible. (had 700 or so per camera a couple of days ago.)
Ubuntu 9.10, compiled locally, 1.24.2, also getting strange errors manually running zmaudit.pl, specifically
any ideas what's going on? zmaudit's actually deleting them, but why are they disappearing from the database in the first place?
Purgewhenfull's saved, set to background, disk percent greater than or equal to 95, limit to 30, sort by date/time asc, delete all matches.
Perl 5.10.10
Ubuntu 9.10, compiled locally, 1.24.2, also getting strange errors manually running zmaudit.pl, specifically
Code: Select all
sudo zmaudit.pl
[sudo] password for cmadmin:
"my" variable $updateUnclosedEventsSql masks earlier declaration in same scope at /usr/local/bin/zmaudit.pl line 360.
Use of uninitialized value $event_path in multiplication (*) at /usr/local/bin/zmaudit.pl line 215.
Filesystem event '33/999252' does not exist in database, deleting
Purgewhenfull's saved, set to background, disk percent greater than or equal to 95, limit to 30, sort by date/time asc, delete all matches.
Perl 5.10.10