Jibri recording stopped randomly after few minutes

Hi there,

I’m running Jitsi and Jibri on the same server (4 vcpu, 8g of memory).

Jibri recording seems to be ok

$ find /opt/recordings/tmp/
$ ls -hl /opt/recordings/tmp/vnomixwyunfuhoas/cognitivenamesseparateas_2021-05-18-14-07-42.mp4 
-rw-r--r-- 1 jibri jibri 27M May 18 14:32 /opt/recordings/tmp/vnomixwyunfuhoas/cognitivenamesseparateas_2021-05-18-14-07-42.mp4

My problem is that the recording stopped randomly after few minutes, 10 minutes and 20 minutes for the last tests.

Videos are not always readable.


jitsi-meet 2.0.5870-1
jitsi-meet-prosody 1.0.4985-1
jitsi-meet-turnserver 1.0.4985-1
jitsi-meet-web 1.0.4985-1
jitsi-meet-web-config 1.0.4985-1
jitsi-videobridge2 2.1-492-g5edaf7dd-1

Thanks for your help

It seems a crash… Check the RAM status while recording

You’re right

I found some related topics, I’ll try to find a way to reduce memory usage.

I observed this issue when CPU is poor (especially on shared hosts) and ffmpeg starts to use RAM more aggressively when it cannot process the frames quickly

You can scale down the recording to 720p resolution. The latest Jibri defaults to 1080p, which is more resource-intensive.

Thanks your replies, I’ll check that.