random ending of events
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i have had a look but had no luck as yet. I cant leave it on a non smp kernel as its had no idle time yet since about 2pm ie 3 hours. If anyone knows how i can sync these cores i would be grateful
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
I have read about acpi slowing down the cores at different rates that might account for the clock doing this, the tes that you had to show the time how did you do this mate? so i can monitor
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
no tyhat didnt help lol. I have been reading about timing issues though and load of big fixes to this in 2.6.18 but i cannot find a 2006 rpm for a 2.6.18 kernel but i have found 2.6.17 smp rpm that i have used. so far so good will have to see, but i still have acpi and acpid disabled
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
The script I used to test is in /tmp and is call timecheck.sh. Just execute it and it will output times to the screen every half second and grumble if it finds time going backwards! Or redirect it into a find and background a la to leave it running for a while.
Code: Select all
sh /tmp/timecheck.sh > /tmp/timecheck.log &
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
well we may have a result here
I have updated to a 2.6.17 kernel and disabled all the acpi deamons
and so far not a single error, finger crossed its took me 9 months to nail this!!
and then once you had a look it was fixed in hours!!! lol well done Phil for this and for all your work in ZM
I have updated to a 2.6.17 kernel and disabled all the acpi deamons
and so far not a single error, finger crossed its took me 9 months to nail this!!
and then once you had a look it was fixed in hours!!! lol well done Phil for this and for all your work in ZM
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
woohoo christmas early!!!
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Hi Phil and James
I am having same trouble here with a ZM Livecd 1.21.4 using two cams.
I am yet to see those jumps in time you mention, but I do see the logs of starting new event one after the other and eventually the aproaching buffer overun problem.
I do see too that doing a top shows zma for that particular camera requesting a lot of processor and pushing the capture up to 10 frames per second when the settings are set to be to capture 1fps.
Doing a restart to zm sometimes fixes de problem, other times a full restart. Sometimes even last two do not seem to work. I put the cam on function "none" for a couple of minutes and then restart to modetect and things work ok for sometime before problem appearing again.
Has this problem been identified and resolved or was james having a hardware problem? My machine is a Pentium III 500mhz with 256 of ram.
Regards!
I am having same trouble here with a ZM Livecd 1.21.4 using two cams.
I am yet to see those jumps in time you mention, but I do see the logs of starting new event one after the other and eventually the aproaching buffer overun problem.
I do see too that doing a top shows zma for that particular camera requesting a lot of processor and pushing the capture up to 10 frames per second when the settings are set to be to capture 1fps.
Doing a restart to zm sometimes fixes de problem, other times a full restart. Sometimes even last two do not seem to work. I put the cam on function "none" for a couple of minutes and then restart to modetect and things work ok for sometime before problem appearing again.
Has this problem been identified and resolved or was james having a hardware problem? My machine is a Pentium III 500mhz with 256 of ram.
Regards!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
upgrade it to 1.22.2 mate
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
James
Just before doing so, I know there are no guarantees and that one should always backup, but then again, have u done an RPM upgrade using Ross update to a Livecd installation?
I think it tinkers with the database and I think it should update it even though being full.
I know there are no guarantees here lol, just wondering if it has been done before.
Regards!
Just before doing so, I know there are no guarantees and that one should always backup, but then again, have u done an RPM upgrade using Ross update to a Livecd installation?
I think it tinkers with the database and I think it should update it even though being full.
I know there are no guarantees here lol, just wondering if it has been done before.
Regards!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
yeah just avoid the 1.22.0 rpm as it doesnt like upgrade but 1.21.4 to 1.22.2 should be fine, but id stop zm first, i just always do
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Well I just did Ross's RPM to 1.22.8 from the Livecd 1.21.4 and it went quite smooth.
Unfortunately this is what comes new with the upgrade.
These are two wireless cameras, the signal y very good so I do know its not a failure of communication between zm and cameras. If I open a Montage, I see that every time the process restarts the image goes black and kicks in again. I am certain signal strength is good.
Another thing I saw is that in the control panel, sometimes the sources show up both red, another just one and clicking for live view does show a live picture, when the console refreshes it alternates between two red, one red one green or both green :-S
Any thoughts on this?
Regards!
Unfortunately this is what comes new with the upgrade.
Code: Select all
Oct 20 23:21:21 localhost rc: Starting zm: succeeded
Oct 20 23:21:26 localhost ntpd[2537]: frequency initialized 97.916 PPM from /etc/ntp/drift
Oct 20 23:21:28 localhost zmwatch[3198]: INF [Watchdog starting]
Oct 20 23:21:28 localhost zmwatch[3198]: INF [Watchdog pausing for 30 seconds]
Oct 20 23:24:42 localhost ntpd[2537]: synchronized to LOCAL(0), stratum=10
Oct 20 23:24:42 localhost ntpd[2537]: kernel time sync disabled 0041
Oct 20 23:25:00 localhost zmc_m1[3166]: ERR [Select timed out]
Oct 20 23:25:00 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:25:00 localhost zmdc[3143]: INF [Starting pending process, zmc -m 1]
Oct 20 23:25:00 localhost zmdc[3601]: INF ['zmc -m 1' started at 06/10/20 23:25:00]
Oct 20 23:25:00 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:25:00, pid = 3601]
Oct 20 23:25:00 localhost zmc_m1[3601]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:01 localhost zmc_m1[3601]: INF [Starting Capture]
Oct 20 23:25:03 localhost zmc_m1[3601]: ERR [Select timed out]
Oct 20 23:25:03 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:25:08 localhost zmdc[3143]: INF [Starting pending process, zmc -m 1]
Oct 20 23:25:08 localhost zmdc[3603]: INF ['zmc -m 1' started at 06/10/20 23:25:08]
Oct 20 23:25:08 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:25:08, pid = 3603]
Oct 20 23:25:08 localhost zmc_m1[3603]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:08 localhost zmc_m1[3603]: INF [Starting Capture]
Oct 20 23:25:11 localhost zmc_m2[3179]: ERR [Select timed out]
Oct 20 23:25:11 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:25:11 localhost zmdc[3143]: INF [Starting pending process, zmc -m 2]
Oct 20 23:25:11 localhost zmdc[3605]: INF ['zmc -m 2' started at 06/10/20 23:25:11]
Oct 20 23:25:11 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:25:11, pid = 3605]
Oct 20 23:25:11 localhost zmc_m2[3605]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:12 localhost zmc_m2[3605]: INF [Starting Capture]
Oct 20 23:25:19 localhost zmc_m1[3603]: ERR [Select timed out]
Oct 20 23:25:19 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:25:28 localhost zmc_m2[3605]: ERR [Select timed out]
Oct 20 23:25:28 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:25:29 localhost zmdc[3143]: INF [Starting pending process, zmc -m 1]
Oct 20 23:25:29 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:25:29, pid = 3608]
Oct 20 23:25:29 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, time since last capture 12 seconds (1161404729-1161404717)]
Oct 20 23:25:29 localhost zmdc[3608]: INF ['zmc -m 1' started at 06/10/20 23:25:29]
Oct 20 23:25:29 localhost zmc_m1[3608]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:29 localhost zmc_m1[3608]: INF [Starting Capture]
Oct 20 23:25:30 localhost zmdc[3143]: INF ['zmc -m 1' stopping at 06/10/20 23:25:30]
Oct 20 23:25:30 localhost zmc_m1[3608]: INF [Got signal (Terminated), exiting]
Oct 20 23:25:30 localhost zmdc[3143]: INF ['zmc -m 1' exited normally]
Oct 20 23:25:30 localhost zmwatch[3198]: INF ['zmc -m 1' stopping at 06/10/20 23:25:30]
Oct 20 23:25:33 localhost zmdc[3143]: INF [Starting pending process, zmc -m 2]
Oct 20 23:25:33 localhost zmdc[3612]: INF ['zmc -m 2' started at 06/10/20 23:25:33]
Oct 20 23:25:33 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:25:33, pid = 3612]
Oct 20 23:25:33 localhost zmc_m2[3612]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:33 localhost zmc_m2[3612]: INF [Starting Capture]
Oct 20 23:25:36 localhost zmc_m2[3612]: ERR [Select timed out]
Oct 20 23:25:36 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:25:40 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, shared memory not valid]
Oct 20 23:25:41 localhost zmdc[3616]: INF ['zmc -m 1' started at 06/10/20 23:25:41]
Oct 20 23:25:41 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:25:41, pid = 3616]
Oct 20 23:25:41 localhost zmc_m1[3616]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:41 localhost zmc_m1[3616]: INF [Starting Capture]
Oct 20 23:25:41 localhost zmwatch[3198]: INF ['zmc -m 1' started at 06/10/20 23:25:41]
Oct 20 23:25:41 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v33, time since last capture 6 seconds (1161404740-1161404734)]
Oct 20 23:25:42 localhost zmdc[3620]: INF ['zmc -m 2' started at 06/10/20 23:25:42]
Oct 20 23:25:42 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:25:42, pid = 3620]
Oct 20 23:25:42 localhost zmc_m2[3620]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:42 localhost zmc_m2[3620]: INF [Starting Capture]
Oct 20 23:25:42 localhost zmwatch[3198]: INF ['zmc -m 2' started at 06/10/20 23:25:42]
Oct 20 23:25:44 localhost zmc_m2[3620]: ERR [Select timed out]
Oct 20 23:25:44 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:25:46 localhost ntpd[2537]: kernel time sync enabled 0001
Oct 20 23:25:52 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v33, time since last capture 10 seconds (1161404752-1161404742)]
Oct 20 23:25:52 localhost zmc_m1[3616]: ERR [Select timed out]
Oct 20 23:25:52 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:25:53 localhost zmdc[3624]: INF ['zmc -m 2' started at 06/10/20 23:25:53]
Oct 20 23:25:53 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:25:53, pid = 3624]
Oct 20 23:25:53 localhost zmc_m2[3624]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:25:53 localhost zmc_m2[3624]: INF [Starting Capture]
Oct 20 23:25:53 localhost zmwatch[3198]: INF ['zmc -m 2' started at 06/10/20 23:25:53]
Oct 20 23:25:59 localhost zmc_m2[3624]: ERR [Select timed out]
Oct 20 23:25:59 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:26:03 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, time since last capture 14 seconds (1161404763-1161404749)]
Oct 20 23:26:04 localhost zmdc[3628]: INF ['zmc -m 1' started at 06/10/20 23:26:04]
Oct 20 23:26:04 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:26:04, pid = 3628]
Oct 20 23:26:04 localhost zmc_m1[3628]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:04 localhost zmc_m1[3628]: INF [Starting Capture]
Oct 20 23:26:04 localhost zmwatch[3198]: INF ['zmc -m 1' started at 06/10/20 23:26:04]
Oct 20 23:26:04 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v33, time since last capture 6 seconds (1161404763-1161404757)]
Oct 20 23:26:05 localhost zmdc[3632]: INF ['zmc -m 2' started at 06/10/20 23:26:05]
Oct 20 23:26:05 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:26:05, pid = 3632]
Oct 20 23:26:05 localhost zmc_m2[3632]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:05 localhost zmc_m2[3632]: INF [Starting Capture]
Oct 20 23:26:05 localhost zmwatch[3198]: INF ['zmc -m 2' started at 06/10/20 23:26:05]
Oct 20 23:26:13 localhost zmc_m2[3632]: ERR [Select timed out]
Oct 20 23:26:13 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:26:14 localhost zmc_m1[3628]: ERR [Select timed out]
Oct 20 23:26:14 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:26:25 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, time since last capture 13 seconds (1161404785-1161404772)]
Oct 20 23:26:26 localhost zmdc[3636]: INF ['zmc -m 1' started at 06/10/20 23:26:26]
Oct 20 23:26:26 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:26:26, pid = 3636]
Oct 20 23:26:26 localhost zmc_m1[3636]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:26 localhost zmc_m1[3636]: INF [Starting Capture]
Oct 20 23:26:26 localhost zmwatch[3198]: INF ['zmc -m 1' started at 06/10/20 23:26:26]
Oct 20 23:26:26 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v33, time since last capture 15 seconds (1161404785-1161404770)]
Oct 20 23:26:27 localhost zmdc[3641]: INF ['zmc -m 2' started at 06/10/20 23:26:27]
Oct 20 23:26:27 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:26:27, pid = 3641]
Oct 20 23:26:27 localhost zmc_m2[3641]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:27 localhost zmc_m2[3641]: INF [Starting Capture]
Oct 20 23:26:27 localhost zmwatch[3198]: INF ['zmc -m 2' started at 06/10/20 23:26:27]
Oct 20 23:26:30 localhost zmc_m1[3636]: ERR [Select timed out]
Oct 20 23:26:30 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:26:35 localhost zmc_m2[3641]: ERR [Select timed out]
Oct 20 23:26:35 localhost zmdc[3143]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Oct 20 23:26:37 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, time since last capture 9 seconds (1161404797-1161404788)]
Oct 20 23:26:38 localhost zmdc[3645]: INF ['zmc -m 1' started at 06/10/20 23:26:38]
Oct 20 23:26:38 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:26:38, pid = 3645]
Oct 20 23:26:38 localhost zmc_m1[3645]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:38 localhost zmc_m1[3645]: INF [Starting Capture]
Oct 20 23:26:38 localhost zmwatch[3198]: INF ['zmc -m 1' started at 06/10/20 23:26:38]
Oct 20 23:26:41 localhost zmc_m1[3645]: ERR [Select timed out]
Oct 20 23:26:41 localhost zmdc[3143]: ERR ['zmc -m 1' exited abnormally, exit status 255]
Oct 20 23:26:48 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v31, time since last capture 9 seconds (1161404808-1161404799)]
Oct 20 23:26:49 localhost zmdc[3649]: INF ['zmc -m 1' started at 06/10/20 23:26:49]
Oct 20 23:26:49 localhost zmdc[3143]: INF ['zmc -m 1' starting at 06/10/20 23:26:49, pid = 3649]
Oct 20 23:26:49 localhost zmc_m1[3649]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:49 localhost zmc_m1[3649]: INF [Starting Capture]
Oct 20 23:26:49 localhost zmwatch[3198]: INF ['zmc -m 1' started at 06/10/20 23:26:49]
Oct 20 23:26:49 localhost zmwatch[3198]: INF [Restarting capture daemon for pgnl4v33, time since last capture 16 seconds (1161404808-1161404792)]
Oct 20 23:26:50 localhost zmdc[3653]: INF ['zmc -m 2' started at 06/10/20 23:26:50]
Oct 20 23:26:50 localhost zmdc[3143]: INF ['zmc -m 2' starting at 06/10/20 23:26:50, pid = 3653]
Oct 20 23:26:50 localhost zmc_m2[3653]: INF [Debug Level = 0, Debug Log = <none>]
Oct 20 23:26:50 localhost zmc_m2[3653]: INF [Starting Capture]
Oct 20 23:26:50 localhost zmwatch[3198]: INF ['zmc -m 2' started at 06/10/20 23:26:50]
Another thing I saw is that in the control panel, sometimes the sources show up both red, another just one and clicking for live view does show a live picture, when the console refreshes it alternates between two red, one red one green or both green :-S
Any thoughts on this?
Regards!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
have you tried reg exp on and off and http 1.0 and 1.1
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
James
Yes, I have done that, the output is the same as above, its been runnin now for about ten hours and allthough a couple of restarts things are going the same. The console shows both cams on red sources and clicking a live view shows either no image or an image that goes black, kicks in and goes black again. Sometimes while image does kick in, frame rate goes up to 3 and back to 0.89 and 1. Frame rate are set to 1 and Max frame rate too is set to 1.
Up to now unfortunately the upgrade did worse. I used this to do the upgrade:
rpm -Uvh zm-1.22.2-8_101mdk.i586.rpm
Is there a way to uninstall the upgrade and go back to 1.21.4 and would you mind posting the command? or am I out of luck and have to stick with this and sort it out?
Thing is the ZM box is no good as it is right now.
Regards!
Yes, I have done that, the output is the same as above, its been runnin now for about ten hours and allthough a couple of restarts things are going the same. The console shows both cams on red sources and clicking a live view shows either no image or an image that goes black, kicks in and goes black again. Sometimes while image does kick in, frame rate goes up to 3 and back to 0.89 and 1. Frame rate are set to 1 and Max frame rate too is set to 1.
Up to now unfortunately the upgrade did worse. I used this to do the upgrade:
rpm -Uvh zm-1.22.2-8_101mdk.i586.rpm
Is there a way to uninstall the upgrade and go back to 1.21.4 and would you mind posting the command? or am I out of luck and have to stick with this and sort it out?
Thing is the ZM box is no good as it is right now.
Regards!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i remember an issue i had, can you disbale your current inputs and create a new one, if i remember there was something wrong in one of my zones
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk