Hi,
today I switched both servers that I am managing from the normal exe to the service. Steps I’ve took:
- Shutdown the exe
- Changed startup of the service to automatic
- Started the service
On both servers I saw the following behaviour:
- The service didn’t respect the max library size
- The library filled the disk completely
- The service crashed
What I did to resolve:
- Manually deleted some files
- Restarted the service
- Changed library from E:\netcamstudio to C:\netcamstudio and back, to trigger reindex.
This can be found in the log file:
(Information @ 02:42:18.536 Source(1).StopRecording File recording completed for Recording_1_20161031_024206_267.mp4 (00:00:12.2687945). Took 31 ms
(Warning @ 02:42:51.361 Source(1).StartRecording Disk Space low on E [215 MB]. Recording cancelled.
(Information @ 02:42:54.095 NetcamVideoSource(2) Stream Event received [DeviceLost]
(Warning @ 02:42:54.189 NetcamVideoSource(2) Connection with rtsp://admin:xxxx@10.102.4.15:88/videoMain has been lost. Will try to reconnect in 500ms…
(Warning @ 02:43:14.798 Source(1).StopRecording Stop recording received [MotionDetector] while recording is already Stopped
(Information @ 02:43:15.956 NetcamVideoSource(1) Stream Event received [DeviceLost]
(Warning @ 02:43:16.033 NetcamVideoSource(1) Connection with rtsp://admin:xxxx@10.102.4.14:88/videoMain has been lost. Will try to reconnect in 500ms…
(Information @ 02:43:26.239 NetcamVideoSource(0) Stream Event received [DeviceLost]
(Warning @ 02:43:26.380 NetcamVideoSource(0) Connection with rtsp://admin:xxxx@10.102.4.13:88/videoMain has been lost. Will try to reconnect in 500ms…
(Warning @ 02:43:27.788 Source(1).StartRecording Disk Space low on E [173 MB]. Recording cancelled.
(Warning @ 02:43:54.627 Source(1).StopRecording Stop recording received [MotionDetector] while recording is already Stopped
(Warning @ 02:43:58.505 Source(1).StartReco(Information @ 04:28:10.609 ServiceHost Initializing Netcam Studio Service
(Information @ 04:28:10.625 Common:SetNoSleep SetThreadExecutionState succeeded. PC will not enter sleep mode during execution.
(Information @ 04:28:11.750 MoonwareServerWCF.Constructor Initializing MoonwareServerWCF
(Information @ 04:28:13.313 MoonwareCore.Constructor Initializing MoonwareServer
As you can seen on the bold line, it abruptly stops.
Some questions pop up:
- Any reason why the service doesn’t respect the limit?
- Why does the service crash? It should not be killing itself when it runs out of space
Also, a scheduled reindex of the library (or at startup) would be nice!
If desired, I can mail you the log files.
Thanks
Mitch