events cratering

Support and queries relating to all previous versions of ZoneMinder
Locked
subliminal_boy_9
Posts: 14
Joined: Wed Nov 10, 2004 6:32 pm

events cratering

Post by subliminal_boy_9 »

Code: Select all

From zmdc.log

Starting pending process, zma -m 2
'zma -m 2' started at 04/11/15 09:15:42
'zma -m 2' starting at 04/11/15 09:15:42, pid = 28645
'zma -m 4' crashed at 04/11/15 09:15:44, exit status 255
Starting pending process, zma -m 4
'zma -m 4' started at 04/11/15 09:30:44
'zma -m 4' starting at 04/11/15 09:30:44, pid = 28686
'zma -m 1' crashed at 04/11/15 09:30:44, exit status 255
Starting pending process, zma -m 1
'zma -m 1' started at 04/11/15 09:45:44
'zma -m 1' starting at 04/11/15 09:45:44, pid = 28715
'zma -m 3' crashed at 04/11/15 09:45:45, exit status 255
Starting pending process, zma -m 3
'zma -m 3' started at 04/11/15 10:00:45
'zma -m 3' starting at 04/11/15 10:00:45, pid = 28758
'zma -m 5' crashed at 04/11/15 10:00:45, exit status 255
'zma -m 6' stopping at 04/11/15 10:07:23
'zmfilter.pl ' died at 04/11/15 10:09:14, signal 8
'zmfilter.pl' started at 04/11/15 10:09:14
'zmfilter.pl' starting at 04/11/15 10:09:14, pid = 31693
'zmaudit.pl -d 900 -y' died at 04/11/15 10:09:14, signal 8
'zmaudit.pl -d 900 -y' started at 04/11/15 10:09:14
'zmaudit.pl -d 900 -y' starting at 04/11/15 10:09:14, pid = 31694
DBI connect('database=zm;host=localhost','zm_admin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/bin/zmaudit.pl line 50
Can't call method "prepare_cached" on an undefined value at /usr/bin/zmaudit.pl line 53.
BEGIN failed--compilation aborted at /usr/bin/zmaudit.pl line 61.
'zma -m 6' crashed at 04/11/15 10:09:15, exit status 255
'zmupdate.pl -c' stopping at 04/11/15 10:09:15
DBI connect('database=zm;host=localhost','zm_admin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/bin/zmfilter.pl line 48
Can't call method "prepare_cached" on an undefined value at /usr/bin/zmfilter.pl line 51.
BEGIN failed--compilation aborted at /usr/bin/zmfilter.pl line 59.
'zma -m 7' crashed at 04/11/15 10:09:15, exit status 255
'zmupdate.pl -c' died at 04/11/15 10:09:15, signal 14
Can't use string ("1100513354") as a HASH ref while "strict refs" in use at /usr/bin/zmdc.pl line 419, <CLIENT> line 1.

further down:

Starting pending process, zma -m 7
'zma -m 7' started at 04/11/15 10:28:55                 
'zma -m 7' starting at 04/11/15 10:28:55, pid = 6795    
'zma -m 3' crashed at 04/11/15 10:28:59, exit status 255
'zma -m 2' crashed at 04/11/15 10:28:59, exit status 255
'zma -m 8' crashed at 04/11/15 10:28:59, exit status 255
'zma -m 6' crashed at 04/11/15 10:29:00, exit status 255
'zma -m 7' crashed at 04/11/15 10:29:00, exit status 255
'zma -m 5' crashed at 04/11/15 10:29:00, exit status 255


zmupdate.log:

Update agent starting at 04/11/10 16:19:27
Update agent starting at 04/11/10 17:08:54
Update agent starting at 04/11/10 17:09:57
Checking for updates at 04/11/11 15:09:57
Got version: '1.19.5'
DBD::mysql::st execute failed: MySQL server has gone away at /usr/bin/zmupdate.pl line 180.
Can't execute: MySQL server has gone away at /usr/bin/zmupdate.pl line 180.
Update agent starting at 04/11/11 15:10:04
Checking for updates at 04/11/11 15:10:04


zmwatch.log:

Can't get shared memory id '2053971975': No such file or directory
Can't get shared memory id '2053971976': No such file or directory
Can't get shared memory id '2053971975': No such file or directory
Can't get shared memory id '2053971976': No such file or directory        
Watchdog starting at 04/11/10 12:54:45
Watchdog pausing for 30 seconds
Watchdog starting at 04/11/10 15:02:07
Watchdog pausing for 30 seconds
Watchdog starting at 04/11/10 16:19:27
Watchdog pausing for 30 seconds
Watchdog starting at 04/11/10 17:08:54
Watchdog pausing for 30 seconds
Watchdog starting at 04/11/10 17:09:57
Watchdog pausing for 30 seconds
DBD::mysql::st execute failed: MySQL server has gone away at /usr/bin/zmwatch.pl line 106.
Can't execute: MySQL server has gone away at /usr/bin/zmwatch.pl line 106.
Watchdog starting at 04/11/15 10:23:12
Watchdog pausing for 30 seconds

Behavior I'm getting is as follows:

System runs fine on startup, and for a given number of hours (no conclusive time frame). At some point, ZM will stop giving me access to events, though the frames appear to be written to disk. At this point, the system spawns several zombie process which cannot be cleaned up. This typcially occurs several hours into a run, but not usually more than 24.

The mysql log files show nothing amiss at all.

I'm running a generic x86_64 kernel (2.6.9) on a Gentoo install, ZM 1.19.5, dual opterons w/1GB RAM.

Any ideas?
Ruler
Posts: 235
Joined: Mon Nov 08, 2004 9:02 pm
Location: Bay City, MI

Post by Ruler »

I'm by no means an expert at ZoneMinder, but would look into why MySQL is dying first. Do a df - maybe your drive is filling up with events and mysql dies because it doesn't have space for the data files? I'd also look in /var/log/messages and see if there are any clues listed in there.
Locked