Page 1 of 1

zmdc.pl status constantly crashing

Posted: Thu Oct 14, 2004 10:20 am
by ma77hias
Hi I am running 4 Axis cams (320x240) with an Athlon 2200 and 1GB RAM in modect mode overnight (23:00 - 9:00)

Zoneminder is great for this task, but recently almost every morning when i try to acces the interface I can't get to main ZM page.

When I do a
ps waux | grep zm

I see a process
/usr/bin/perl -wT /usr/local/bin/zmdc.pl status
which has stalled
once I kill it I get the ZM mainpage and everything is working again.

ZM_WATCH_CHECK_INTERVAL is set to 100

What does this command do?
Can I stop it some how?
Any other hints ?

Posted: Thu Oct 14, 2004 10:55 am
by zoneminder
zmdc.pl is the daemon controller. It has it's own log zmdc.log which might have further information in it.

Phil,

Posted: Thu Oct 14, 2004 3:08 pm
by curtishall
Just wondering, how are you setting up 'recording' time(s)? Are you doing it manually, or are you using a cron script of some sort? If you are using a cron script could you show me the command?

Thanks

Posted: Thu Oct 14, 2004 3:19 pm
by ma77hias
via cron deamon this my crontab -l

30 23 * * 0-4 / usr/local/bin/zmpkg.pl modectall
0 0 * * 5-6 /usr/local/bin/zmpkg.pl modectall
0 9 * * * /usr/local/bin/zmpkg.pl neutral
00 12 * * * /root/delete_old_events

modectall and neutral are predifined in ZM

update problem solved

Posted: Fri Nov 05, 2004 1:26 pm
by ma77hias
Just as an update

I think I have managed to fix my problem:
It seem I was running the switching commands at times which were coliding with zmdc.pl status
this produced so called "race conditions".
I rejusted my intervals and changed my switching times, so they can't colide anymore.
No more problems since then.