I'm running the latest zm build, and over the past two days zm has been acting _very_ slow. Tonight I logged in to view the events for the day and I can't even connect. I thought maybe apache freaked out, or mysql and i restarted both. I noticed that apache was responsive, so I figured something broke inside zm. I ran zmaudit -y, and nothing was found. I poked around and mysql is running fine.
I have two monitors, both using motion dection. The first monitor had around 300 events, the second had around 400 events. This shouldn't cause zm to totally bog down...should it?
www-data@lizard:~/zm$ php index.php
just sits and sits...nothing going on...
I tried manually deleted the Events using mysql, and then ran zmaudit -y. I still have the problem.
Very slow console
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
The main query in the console window isn't the quickest in the world (it is faster in the next version) but should inly take a second or so. Have you tried using mysqlcheck to see if your db may be a bit broken. Alternatively do a pz and see if there are any bogus zm processes stuck lying around.
Phil,
Phil,
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Phil (or anyone),
zm.Config OK
zm.Events OK
zm.Filters OK
zm.Frames OK
zm.Monitors OK
zm.States OK
zm.Stats OK
zm.TriggersX10 OK
zm.Users OK
zm.Zones OK
something is _totally_ screwed up. I went to bed and did a 'time php index.php', and 8 hours laters it's still doing nothing...
zmpkg.pl status (09:30am/41/pts/11)
running
Can't find process with command of 'zmc -d 0'
'zmaudit.pl -d 900 -y' stopping at 04/10/14 10:30:09
'zmaudit.pl -d 900 -y' died at 04/10/14 10:30:09, signal 14
'zmc -d 0' died at 04/10/14 10:30:15
'zmc -d 0' started at 04/10/14 10:30:15
'zmc -d 0' starting at 04/10/14 10:30:15, pid = 6759
'zmc -d 0' died at 04/10/14 10:30:15
'zmc -d 0' already running at 04/10/14 10:30:15, pid = 6759
'zmc -d 0' stopping at 04/10/15 00:45:09
I'm out of of ideas, anymore let me know... thanks
zm.Config OK
zm.Events OK
zm.Filters OK
zm.Frames OK
zm.Monitors OK
zm.States OK
zm.Stats OK
zm.TriggersX10 OK
zm.Users OK
zm.Zones OK
something is _totally_ screwed up. I went to bed and did a 'time php index.php', and 8 hours laters it's still doing nothing...
zmpkg.pl status (09:30am/41/pts/11)
running
Can't find process with command of 'zmc -d 0'
'zmaudit.pl -d 900 -y' stopping at 04/10/14 10:30:09
'zmaudit.pl -d 900 -y' died at 04/10/14 10:30:09, signal 14
'zmc -d 0' died at 04/10/14 10:30:15
'zmc -d 0' started at 04/10/14 10:30:15
'zmc -d 0' starting at 04/10/14 10:30:15, pid = 6759
'zmc -d 0' died at 04/10/14 10:30:15
'zmc -d 0' already running at 04/10/14 10:30:15, pid = 6759
'zmc -d 0' stopping at 04/10/15 00:45:09
I'm out of of ideas, anymore let me know... thanks
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO