(SOLVED) weird continuous recording

Forum for questions and support relating to the 1.24.x releases only.
Locked
d4ny
Posts: 2
Joined: Wed Nov 11, 2009 1:13 am
Location: Trois-Rivières, Québec, Canada

(SOLVED) weird continuous recording

Post by d4ny »

I use zoneminder 1.24.2 with ubuntu 9.04 64 bits and I'm having problems when recording continuously. Every hour or two, continuous recording stops for exactly 40 minutes and restart recording normally in blocks of 600 sec (10 min by default). I have done a print screen, take a look:
Image

I have tried changing form record to mocord with same results. I have also tried gray color, changing resolution, length of the recording block (900 sec), with the same results.

Any one have any idea why ZM is behaving like this?

I see errors in the logs:

zmdc.log

Code: Select all

1/10/09 07:15:14.196523 zmdc[27842].INF ['zmwatch.pl' starting at 09/11/10 07:15:14, pid = 11963]
11/10/09 10:05:30.773947 zmdc[27842].ERR ['zma -m 4' exited abnormally, exit status 214]
11/10/09 10:05:30.774459 zmdc[27842].INF [Starting pending process, zma -m 4]
11/10/09 10:05:30.776074 zmdc[27842].INF ['zma -m 4' starting at 09/11/10 10:05:30, pid = 8568]
11/10/09 10:05:32.735239 zmdc[27842].ERR ['zma -m 5' exited abnormally, exit status 214]
11/10/09 10:05:32.735733 zmdc[27842].INF [Starting pending process, zma -m 5]
11/10/09 10:05:32.737279 zmdc[27842].INF ['zma -m 5' starting at 09/11/10 10:05:32, pid = 8569]
11/10/09 10:09:05.471244 zmdc[27842].ERR ['zma -m 6' exited abnormally, exit status 214]
11/10/09 10:09:05.471749 zmdc[27842].INF [Starting pending process, zma -m 6]
11/10/09 10:09:05.473354 zmdc[27842].INF ['zma -m 6' starting at 09/11/10 10:09:05, pid = 9067]
zmfilter.log

Code: Select all

zmfilter[27905].ERR [Can't execute filter 'select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime) and (   E.StartTime >= '2009-11-10 20:31:43'   and   M.Id = '1'   and  ( weekday( E.StartTime ) = 4   and   extract( hour_second from E.StartTime ) >= extract( hour_second from '2009-11-10 01:15:00' )   and   extract( hour_second from E.StartTime ) <extract>= 4   and   E.AlarmFrames >= 5   ) and ( E.Archived = 0 or E.Emailed = 0 or E.Messaged = 0 ) order by E.StartTime asc', ignoring: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by E.StartTime asc' at line 1]
d4ny
Posts: 2
Joined: Wed Nov 11, 2009 1:13 am
Location: Trois-Rivières, Québec, Canada

how I solved the problem

Post by d4ny »

Well, i modified my /etc/sysctl.conf and now recording does not stop and eveything is good as expected.

see this thread for more information:

http://www.zoneminder.com/forums/viewtopic.php?t=9692
Locked