I have configuration
kernel.shmmax = 4194304000
kernel.shmall = 2048000
sometimes the recording works sometimes the recording doesn't work. The log file when it doesn't work are as follow:
12/22/09 14:53:32.059875 zmc_m1[-1].INF-zm_debug.c/292 [New Debug Level = 1, New Debug Log = /tmp/zm_debug.log.21232]
12/22/09 14:53:32.060829 zmc_m1[-1].DB1-zm_monitor.cpp/2262 [Got 1 monitors]
12/22/09 14:53:32.066264 zmc_m1[-1].DB1-zm_monitor.cpp/338 [monitor purpose=1]
12/22/09 14:53:32.066361 zmc_m1[-1].DB1-zm_monitor.cpp/345 [mem.size=27649364]
12/22/09 14:53:32.066501 zmc_m1[-1].DB1-zm_monitor.cpp/369 [Unable to map file /dev/shm/.zm.mmap.1 (27649364 bytes) to locked memory, trying unlocked]
12/22/09 14:53:32.102405 zmc_m1[-1].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF: 0]
12/22/09 14:53:32.125242 zmc_m1[-1].DB1-zm_monitor.cpp/458 [Monitor Cam2 has function 4]
12/22/09 14:53:32.125309 zmc_m1[-1].DB1-zm_monitor.cpp/459 [Monitor Cam2 LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
12/22/09 14:53:32.125358 zmc_m1[-1].DB1-zm_monitor.cpp/460 [Monitor Cam2 IBC = 30, WUC = 25, pEC = 30, PEC = 200, EAF = 1, FRI = 1000, RBP = 7, FM = 1]
12/22/09 14:53:32.126061 zmc_m1[-1].DB1-zm_zone.cpp/889 [Got 1 zones for monitor Cam2]
12/22/09 14:53:32.126133 zmc_m1[-1].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:40, MxAT:0, MnAP:49048, MxAP:0, FB:5x5, MnFP:36788, MxFP:0, MnBS:30656, MxBS:0, MnB:1, MxB:0, OF: 0]
12/22/09 14:53:32.149116 zmc_m1[-1].DB1-zm_monitor.cpp/2459 [Loaded monitor 1(Cam2), 1 zones]
12/22/09 14:53:32.149217 zmc_m1[-1].INF-zmc.cpp/188 [Starting Capture]
12/22/09 14:53:36.409144 zmc_m1[-1].ERR-zm_remote_camera_http.cpp/141 [Select timed out]
12/22/09 14:53:36.409314 zmc_m1[-1].ERR-zm_remote_camera_http.cpp/933 [Unable to read content]
12/22/09 14:53:36.409404 zmc_m1[-1].ERR-zm_remote_camera_http.cpp/1043 [Unable to get response]
12/22/09 14:53:36.409681 zmc_m1[-1].ERR-zmc.cpp/260 [Failed to capture image from monitor 1 (0/1)]
any idea how to resolve the Unable to map file /dev/shm/.zm.mmap.1 (27649364 bytes) to locked memory, trying unlocked issue? Any why it failed to capture image? TIA!