ZoneMinder runs and I have added three cameras, two Axis 207s and a Topica TP-6360WBC-DN on a PV-149 card.
It runs, but after a few minutes of watching live feeds Apache hangs. Even when I have just 1 feed open. The way I know it has stopped is the time no longer advances, then if I press [F-5] to refresh it just says "Waiting for localhost..." in the satus bar. Same thing when I go over to the tab where the ZM Console is open, press [F-5] and it says "Waiting for localhost...".
I have read and reread the Shared Memory in the FAQ and I am not getting any Shared Memory errors in the logs. Actually I get no errors in the logs after a hang. I can watch the Axis cameras directly from FireFox and it never hangs.
I am using Fedora 10 ZM-1.24.0 and ffmpeg SVN-r17117. That all seems OK as you all helped me get that working in a couple of other threads.
Two questions:
1) Does anybody have any suggestions why Appache would hang?
2) How can I turn on some more logging so I can track the problem down?
Thanks, Keith
Here is what is in the logs...
Code: Select all
[root@localhost zoneminder]# tail /tmp/zm*.log
==> /tmp/zmaudit.log <==
==> /tmp/zmdc.log <02> /tmp/zmfilter.log <02> /tmp/zmpkg.log <02> /tmp/zmupdate.log <==
==> /tmp/zmwatch.log <==
02/15/2009 10:29:56.636722 zmwatch[5044].INF [Watchdog starting]
02/15/2009 10:29:56.637000 zmwatch[5044].INF [Watchdog pausing for 30 seconds]
02/15/2009 10:41:46.112735 zmwatch[5546].INF [Watchdog starting]
02/15/2009 10:41:46.112990 zmwatch[5546].INF [Watchdog pausing for 30 seconds]
Code: Select all
[root@localhost zoneminder]# ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 139264 2
0x00000000 65537 root 777 4096 1 dest
0x00000000 98306 root 777 4096 1 dest
0x00000000 131075 zoneminder600 393216 2 dest
0x00000000 163844 zoneminder600 393216 2 dest
0x00000000 196613 zoneminder600 393216 2 dest
0x00000000 360454 zoneminder600 393216 2 dest
0x7a6d0001 4194311 apache 700 36865524 2
0x7a6d0002 4227080 apache 700 36865524 1
0x00000000 327689 zoneminder600 393216 2 dest
0x7a6d0004 4259850 apache 700 36865524 1
Code: Select all
[root@localhost zoneminder]# ps axo user,command | grep zm
500 /usr/bin/kwrite /home/zoneminder/Development/QT/zmviewer-0.1.6/README
apache /usr/bin/perl -wT /usr/local/bin/zmdc.pl startup
apache /usr/local/bin/zmc -m 1
apache /usr/local/bin/zmc -m 2
apache /usr/local/bin/zmc -d /dev/video0
apache /usr/bin/perl -wT /usr/local/bin/zmfilter.pl
apache /usr/bin/perl -wT /usr/local/bin/zmaudit.pl -c
apache /usr/bin/perl -wT /usr/local/bin/zmwatch.pl
apache /usr/bin/perl -w /usr/local/bin/zmupdate.pl -c
apache /var/www/cgi-bin/nph-zms
root grep zm