NCS service stops 1-2 times a week


#1

Hi,

I have an issue with an NCS install at a customer site. About 2 times a week NCS service just stops out of itself. The server has been running stable since August. The issue started since early February. There haven’t been any changes in hardware or software since december. The log (see below) shows an abrupt end of the service.

The latest lines of the log:
(Information @ 14:54:13.563 Source(4).StartRecording Started File Recording [MotionDetector]. Took 78 ms
(Information @ 14:54:33.266 Source(2).StartRecording Started File Recording [MotionDetector]. Took 156 ms
(Error @ 14:54:40.969 WebServer.RootVideo Exception in MoonwareServer
Exception Detail:De objectverwijzing is niet op een exemplaar van een object ingesteld.
(Information @ 14:54:44.907 Source(0).StartRecording Started File Recording [MotionDetector]. Took 344 ms
(Information @ 14:54:48.657 Source(2).StopRecording File recording completed for Recording_2_20170301_145433_115.mp4 (00:00:15.4499944). Took 359 ms
(Information @ 14:54:49.407 Source(4).StopRecording File recording completed for Recording_4_20170301_145413_485.mp4 (00:00:35.7654934). Took 907 ms
(Information @ 14:54:49.969 Source(4).StartRecording Started File Recording [MotionDetector]. Took 62 ms
(Information @ 14:54:58.157 Source(0).StopRecording File recording completed for Recording_0_20170301_145444_563.mp4 (00:00:13.2967026). Took 172 ms
(Information @ 14:55:16.016 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 14:55:16.047 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 14:55:32.672 Source(3).StartRecording Started File Recording [MotionDetector]. Took 47 ms
(Information @ 14:55:38.641 Source(4).StopRecording File recording completed for Recording_4_20170301_145449_908.mp4 (00:00:48.7029198). Took 344 ms
(Information @ 14:55:39.079 Source(4).StartRecording Started File Recording [MotionDetector]. Took 94 ms
(Information @ 14:55:51.204 Source(3).StopRecording File recording completed for Recording_3_20170301_145532_625.mp4 (00:00:18.5116273). Took 125 ms
(Information @ 14:55:51.953 Source(4).StopRecording File recording completed for Recording_4_20170301_145538_985.mp4 (00:00:12.8119924). Took 329 ms
(Information @ 14:56:03.344 Source(4).StartRecording Started File Recording [MotionDetector]. Took 62 ms
(Information @ 14:56:08.812 Source(2).StartRecording Started File Recording [MotionDetector]. Took 156 ms
(Information @ 14:56:12.516 Source(0).StartRecording Started File Recording [MotionDetector]. Took 140 ms
(Information @ 14:56:13.578 Source(4).StopRecording File recording completed for Recording_4_20170301_145603_282.mp4 (00:00:10.2957738). Took 297 ms
(Information @ 14:56:14.281 Source(4).StartRecording Started File Recording [MotionDetector]. Took 437 ms
(Information @ 14:56:25.109 Source(4).StopRecording File recording completed for Recording_4_20170301_145613_820.mp4 (00:00:10.9673861). Took 297 ms
(Information @ 14:56:31.490 Source(2).StopRecording File recording completed for Recording_2_20170301_145608_656.mp4 (00:00:22.7036185). Took 969 ms
(Information @ 14:56:35.672 Source(0).StopRecording File recording completed for Recording_0_20170301_145612_281.mp4 (00:00:23.3429488). Took 156 ms
(Information @ 14:56:48.844 NetcamVideoSource(4) Stream Event received [DeviceLost]
(Warning @ 14:56:48.906 NetcamVideoSource(4) Connection with rtsp://admin:xxx@10.102.4.16:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 14:56:56.109 NetcamVideoSource(0) Stream Event received [DeviceLost]
(Warning @ 14:56:56.187 NetcamVideoSource(0) Connection with rtsp://admin:xxx@10.102.4.13:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 14:57:02.156 Source(4).StartRecording Started File Recording [MotionDetector]. Took 109 ms
(Information @ 14:57:12.078 Source(4).StopRecording File recording completed for Recording_4_20170301_145701_891.mp4 (00:00:10.0472230). Took 157 ms
(Information @ 14:57:18.844 Source(4).StartRecording Started File Recording [MotionDetector]. Took 79 ms
(Information @ 14:57:30.890 Source(4).StopRecording File recording completed for Recording_4_20170301_145718_750.mp4 (00:00:12.0713180). Took 203 ms
(Information @ 14:57:31.500 Source(4).StartRecording Started File Recording [MotionDetector]. Took 234 ms
(Information @ 14:57:49.048 Source(4).StopRecording File recording completed for Recording_4_20170301_145731_265.mp4 (00:00:17.5780333). Took 312 ms
(Information @ 14:57:49.984 Source(4).StartRecording Started File Recording [MotionDetector]. Took 31 ms
(Information @ 14:57:53.671 Source(3).StartRecording Started File Recording [MotionDetector]. Took 31 ms
(Information @ 14:58:18.688 Source(4).StopRecording File recording completed for Recording_4_20170301_145749_953.mp4 (00:00:28.6088060). Took 281 ms
(Information @ 14:58:19.437 Source(1).StartRecording Started File Recording [MotionDetector]. Took 125 ms
(Information @ 14:58:19.546 Source(3).StopRecording File recording completed for Recording_3_20170301_145753_468.mp4 (00:00:26.0312943). Took 187 ms
(Information @ 14:58:20.359 Source(3).StartRecording Started File Recording [MotionDetector]. Took 157 ms
(Information @ 14:58:23.953 Source(2).StartRecording Started File Recording [MotionDetector]. Took 63 ms
(Information @ 14:58:24.406 Source(4).StartRecording Started File Recording [MotionDetector]. Took 78 ms
(Information @ 14:58:26.656 Source(0).StartRecording Started File Recording [MotionDetector]. Took 891 ms
(Information @ 14:58:31.437 Source(3).StopRecording File recording completed for Recording_3_20170301_145820_171.mp4 (00:00:10.8750998). Took 766 ms
(Information @ 14:58:37.953 Source(0).StopRecording File recording completed for Recording_0_20170301_145825_687.mp4 (00:00:11.2080851). Took 297 ms
(Information @ 14:58:38.562 Source(1).StopRecording File recording completed for Recording_1_20170301_145819_312.mp4 (00:00:18.8595649). Took 906 ms
(Information @ 14:58:40.187 Source(2).StopRecording File recording completed for Recording_2_20170301_145823_891.mp4 (00:00:16.2503833). Took 250 ms
(Information @ 14:58:43.750 Source(1).StartRecording Started File Recording [MotionDetector]. Took 16 ms
(Information @ 14:58:44.734 Source(4).StopRecording File recording completed for Recording_4_20170301_145824_328.mp4 (00:00:20.3592902). Took 203 ms
(Information @ 14:58:47.499 NetcamVideoSource(4) Stream Event received [DeviceLost]
(Warning @ 14:58:47.562 NetcamVideoSource(4) Connection with rtsp://admin:xxx@10.102.4.16:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 14:58:53.921 Source(4).StartRecording Started File Recording [MotionDetector]. Took 94 ms
(Information @ 14:58:53.937 Source(1).StopRecording File recording completed for Recording_1_20170301_145843_718.mp4 (00:00:10.0777165). Took 110 ms
(Information @ 14:59:00.656 NetcamVideoSource(1) Stream Event received [DeviceLost]
(Warning @ 14:59:00.672 NetcamVideoSource(1) Connection with rtsp://admin:xxx@10.102.4.14:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 14:59:06.531 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 14:59:06.577 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Error @ 14:59:51.895 WebServer.RootVideo Exception in MoonwareServer
Exception Detail:De objectverwijzing is niet op een exemplaar van een object ingesteld.
(Information @ 15:00:28.661 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:00:28.723 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:00:48.863 Source(3).StartRecording Started File Recording [MotionDetector]. Took 78 ms
(Information @ 15:00:55.613 Source(2).StartRecording Started File Recording [MotionDetector]. Took 156 ms
(Information @ 15:01:05.910 Source(2).StopRecording File recording completed for Recording_2_20170301_150055_457.mp4 (00:00:10.3284572). Took 406 ms
(Information @ 15:01:05.989 Source(3).StopRecording File recording completed for Recording_3_20170301_150048_785.mp4 (00:00:17.0939008). Took 140 ms
(Information @ 15:01:39.910 Source(1).StartRecording Started File Recording [MotionDetector]. Took 78 ms
(Information @ 15:01:39.994 Source(0).StartRecording Started File Recording [MotionDetector]. Took 46 ms
(Information @ 15:01:40.488 Source(4).StopRecording File recording completed for Recording_4_20170301_145853_734.mp4 (00:02:46.6761136). Took 93 ms
(Information @ 15:01:46.988 Source(4).StartRecording Started File Recording [MotionDetector]. Took 31 ms
(Information @ 15:01:49.247 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:01:49.801 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:01:52.378 Source(1).StopRecording File recording completed for Recording_1_20170301_150139_801.mp4 (00:00:12.3038207). Took 500 ms
(Information @ 15:01:53.020 Source(0).StopRecording File recording completed for Recording_0_20170301_150139_941.mp4 (00:00:13.0334620). Took 547 ms
(Information @ 15:01:57.207 Source(4).StopRecording File recording completed for Recording_4_20170301_150146_941.mp4 (00:00:10.2497279). Took 219 ms
(Information @ 15:02:03.347 Source(4).StartRecording Started File Recording [MotionDetector]. Took 16 ms
(Information @ 15:02:20.785 Source(2).StartRecording Started File Recording [MotionDetector]. Took 156 ms
(Information @ 15:02:31.238 Source(2).StopRecording File recording completed for Recording_2_20170301_150220_628.mp4 (00:00:10.5315391). Took 468 ms
(Information @ 15:02:54.285 Source(4).StopRecording File recording completed for Recording_4_20170301_150203_332.mp4 (00:00:50.9523921). Took 78 ms
(Information @ 15:02:57.206 Source(4).StartRecording Started File Recording [MotionDetector]. Took 32 ms
(Information @ 15:03:07.206 Source(4).StopRecording File recording completed for Recording_4_20170301_150257_113.mp4 (00:00:10.0314682). Took 110 ms
(Information @ 15:03:08.472 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:03:08.566 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:03:11.878 Source(4).StartRecording Started File Recording [MotionDetector]. Took 31 ms
(Information @ 15:03:57.925 Source(4).StopRecording File recording completed for Recording_4_20170301_150311_847.mp4 (00:00:46.0313652). Took 63 ms
(Information @ 15:04:04.472 Source(4).StartRecording Started File Recording [MotionDetector]. Took 47 ms
(Information @ 15:04:28.909 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:04:28.987 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:04:59.160 Source(4).StopRecording File recording completed for Recording_4_20170301_150404_425.mp4 (00:00:54.7028484). Took 360 ms
(Information @ 15:04:59.956 Source(4).StartRecording Started File Recording [MotionDetector]. Took 109 ms
(Information @ 15:05:48.615 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:05:48.627 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:06:39.315 Source(4).StopRecording File recording completed for Recording_4_20170301_150459_850.mp4 (00:01:39.3905776). Took 266 ms
(Information @ 15:06:42.426 Source(0).StartRecording Started File Recording [MotionDetector]. Took 63 ms
(Information @ 15:06:43.566 Source(1).StartRecording Started File Recording [MotionDetector]. Took 47 ms
(Information @ 15:06:45.911 Source(2).StartRecording Started File Recording [MotionDetector]. Took 422 ms
(Information @ 15:06:51.815 Source(4).StartRecording Started File Recording [MotionDetector]. Took 125 ms
(Information @ 15:07:04.924 Source(0).StopRecording File recording completed for Recording_0_20170301_150642_362.mp4 (00:00:22.4904555). Took 656 ms
(Information @ 15:07:04.940 Source(2).StopRecording File recording completed for Recording_2_20170301_150645_487.mp4 (00:00:19.3280410). Took 547 ms
(Information @ 15:07:08.190 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Information @ 15:07:08.212 Source(0).StartRecording Started File Recording [MotionDetector]. Took 94 ms
(Warning @ 15:07:08.252 NetcamVideoSource(2) Connection with rtsp://admin:xxx@10.102.4.17:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 15:07:08.552 Source(1).StopRecording File recording completed for Recording_1_20170301_150643_502.mp4 (00:00:24.9686771). Took 297 ms
(Information @ 15:07:18.940 Source(0).StopRecording File recording completed for Recording_0_20170301_150708_113.mp4 (00:00:10.7184421). Took 282 ms
(Information @ 15:07:25.486 Source(0).StartRecording Started File Recording [MotionDetector]. Took 94 ms
(Information @ 15:07:35.476 Source(0).StopRecording File recording completed for Recording_0_20170301_150725_330.mp4 (00:00:10.0313531). Took 188 ms
(Information @ 15:07:38.174 Source(1).StartRecording Started File Recording [MotionDetector]. Took 109 ms
(Information @ 15:07:38.190 Source(2).StartRecording Started File Recording [MotionDetector]. Took 63 ms
(Information @ 15:07:38.377 Source(0).StartRecording Started File Recording [MotionDetector]. Took 78 ms
(Information @ 15:07:54.174 Source(1).StopRecording File recording completed for Recording_1_20170301_150738_049.mp4 (00:00:15.5932601). Took 844 ms
(Information @ 15:07:57.096 Source(2).StopRecording File recording completed for Recording_2_20170301_150738_127.mp4 (00:00:18.8903435). Took 141 ms
(Information @ 15:07:58.486 Source(0).StopRecording File recording completed for Recording_0_20170301_150738_299.mp4 (00:00:19.7555741). Took 609 ms
(Information @ 15:08:00.549 Source(2).StartRecording Started File Recording [MotionDetector]. Took 125 ms
(Information @ 15:08:14.768 Source(2).StopRecording File recording completed for Recording_2_20170301_150800_393.mp4 (00:00:14.2145395). Took 562 ms
(Information @ 15:08:26.362 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 15:08:26.455 NetcamVideoSource(2) Connection with rtsp://admin:xx

Thanks for any help


#2

Hi Mitch,
I assume you have had your deep thoughts what this might be ;). Just to be clear, the service just stop and when you click on Start it starts again. This is the last info in the log before it stops? (Warning @ 15:08:26.455 NetcamVideoSource(2) Connection with rtsp://admin:xx

The log do not give me any specific information what might cause this so here are just some things for you to check.

  1. running a 32-bit version of NCS will have problems when the need for memory grow.
  2. is NCS running under another account than originally?
  3. if you check the EventLog in windows it might give you an error code/information about why the service is closed down.
  4. is it always the same camera that cause problems?
  5. if you run NCS X is the problem still there?
  6. Windows updates automatically and after that are your system tight on RAM?

-Henrik