Memory leak in zmc on rtsp restart

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
jrtaylor71
Posts: 16
Joined: Mon Oct 10, 2022 3:15 pm

Memory leak in zmc on rtsp restart

Post by jrtaylor71 »

There seems to be problem when an IP camera is offline but still enabled. Not sure how to describe this beyond the description.

Code: Select all

Aug 31 09:26:40 nvr zmc_m15[2309566]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: Immediate exit requested]
Aug 31 09:26:40 nvr zmc_m15[2309566]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:26:43 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:26:46 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:26:46 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:26:49 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:26:49 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:26:52 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:26:52 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:26:59 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:26:59 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:07 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:07 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:16 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:16 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:26 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:26 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:27 nvr zms_m15[2310978]: ERR [zms_m15] [Monitor shm is not connected]
Aug 31 09:27:29 nvr zms_m15[2311006]: ERR [zms_m15] [Monitor shm is not connected]
Aug 31 09:27:30 nvr zmc_m15[2310302]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: Immediate exit requested]
Aug 31 09:27:30 nvr zmc_m15[2310302]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:31 nvr zms_m15[2311035]: ERR [zms_m15] [Can't open memory map file /dev/shm/zm.mmap.15: No such file or directory]
Aug 31 09:27:31 nvr zms_m15[2311035]: ERR [zms_m15] [Unable to connect to monitor id 15 for streaming]
Aug 31 09:27:31 nvr zms_m15[2311035]: ERR [zms_m15] [Monitor shm is not connected]
Aug 31 09:27:33 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:36 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:36 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:39 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:39 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:42 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:42 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:50 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:50 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:27:58 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:27:58 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:07 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:07 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:17 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:17 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:21 nvr zmc_m15[2311040]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: Immediate exit requested]
Aug 31 09:28:21 nvr zmc_m15[2311040]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:24 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:27 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:27 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:30 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:30 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:33 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:33 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:40 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:40 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:48 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:48 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:28:57 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:28:57 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:29:07 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: No route to host]
Aug 31 09:29:07 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
Aug 31 09:29:11 nvr zmc_m15[2311153]: ERR [zmc_m15] [Unable to open input rtsp://192.168.55.75:554/11 due to: Immediate exit requested]
Aug 31 09:29:11 nvr zmc_m15[2311153]: ERR [zmc_m15] [Failed to prime capture of initial monitor]
I am clearing swap at night to prevent sever lockup.

Image
Post Reply