Page 1 of 1

1.36.11 could not start 13 cameras at once

Posted: Wed Dec 01, 2021 6:49 pm
by Cramac1
Hello.
updated from branch 1.35 to 1.36.11, after reboot the server hung tightly. When we managed to break through, stopping the ZM processes, the PC came to life. At startup, the PC hangs. He immediately eats up all the memory and swap. Turning off the cameras and turning on one by one, all the rules

Re: 1.36.11 could not start 13 cameras at once

Posted: Wed Dec 01, 2021 8:35 pm
by Cramac1
worked for an hour and hung again

Re: 1.36.11 could not start 13 cameras at once

Posted: Thu Dec 02, 2021 4:49 am
by Cramac1

Re: 1.36.11 could not start 13 cameras at once

Posted: Fri Dec 03, 2021 12:14 am
by iconnor
Your cameras have a huge keyframe interval. Either set it lower in camera, or set a reasonable MaxImageBufferCount.

Or post some logs FFS.

Re: 1.36.11 could not start 13 cameras at once

Posted: Sat Dec 04, 2021 7:35 am
by Cramac1
I have a multiserver.
Now I transferred the web and the base to a new one, I left only recording and viewing on this. Until no longer freeze.

the logs were disabled, I thought there are a lot of them and load fs, what settings should I put on the log in files?

And also, I have been observing the problem for a long time, sometimes, on a rented camera, the recording lasts longer than a given hour. Maybe 2-4-6 hours. Maybe for a minute.

Re: 1.36.11 could not start 13 cameras at once

Posted: Sat Dec 04, 2021 7:22 pm
by iconnor
https://zmeventnotification.readthedocs ... ks-logging

Applies for general ZM debugging as well. Except for LOG_DEBUG_TARGET. We are interested in _zmc

Re: 1.36.11 could not start 13 cameras at once

Posted: Thu Dec 09, 2021 1:30 pm
by Cramac1
example log

Re: 1.36.11 could not start 13 cameras at once

Posted: Thu Dec 09, 2021 2:33 pm
by iconnor
Okay so that log shows one monitor, number 11 successfully capturing a 1080p stream.

So not much use.

Re: 1.36.11 could not start 13 cameras at once

Posted: Thu Dec 09, 2021 2:34 pm
by iconnor
You need more ram, and probably more cpu. Decoding 1080p streams takes a lot.

Re: 1.36.11 could not start 13 cameras at once

Posted: Fri Dec 10, 2021 12:22 pm
by alabamatoy
Also, reduce frame rate in the cameras. Most people dont need NFL broadcast-grade high frame rate. Mine run at 10FPS (set in cameras) and seems to work pretty well in live view. This is 10 FPS: https://rumble.com/vqbg4j-turkeys-being ... of&mrefc=2

Re: 1.36.11 could not start 13 cameras at once

Posted: Sat Dec 11, 2021 6:41 am
by Cramac1
iconnor wrote: Thu Dec 09, 2021 2:34 pm You need more ram, and probably more cpu. Decoding 1080p streams takes a lot.
after transferring the database to another server, the problem went away.

Re: 1.36.11 could not start 13 cameras at once

Posted: Sat Dec 11, 2021 3:52 pm
by alabamatoy
Cramac1 wrote: Sat Dec 11, 2021 6:41 am
iconnor wrote: Thu Dec 09, 2021 2:34 pm You need more ram, and probably more cpu. Decoding 1080p streams takes a lot.
after transferring the database to another server, the problem went away.
You effectively increased the available RAM by removing the DB from the server.