YunoHost-Apps / jitsi_ynh

Video conference for YunoHost
https://jitsi.org/
Apache License 2.0
21 stars 20 forks source link

working on small memory SBC #69

Closed rosbeef closed 2 years ago

rosbeef commented 2 years ago

Describe the bug

On small memory SingleBoardComputer the services "jvb" and "jicofo" don't want to start.

Context

Steps to reproduce

Expected behavior

ability to run jitsi on small memory platform as most yunohost users will not use it as public server. reduce the VM memory allocation.

as indicates in https://jitsi.org/jitsi-videobridge-performance-evaluation/ memory used at maximum were 1500mb with 1056 participant(1056 video streams+1056 audio streams) we could calculate a usage of 1,5 mb per user. maybe it should be possible to ask the admin for how many people he want to use for the service and allocate VM memory in relation. it exist 2 shell variable to set before starting the services. (for 70 mega set value to 70m) VIDEOBRIDGE_MAX_MEMORY (tested and set in /var/www/jitsi/jitsi-videobridge/jvb.sh) JICOFO_MAX_MEMORY (tested and set in /var/www/jitsi/jitsi-jicofo/jicofo.sh)

the reason why i don't do a PR is that i don't know how the variables should be set from the yunohost scripts

rosbeef commented 2 years ago

maybe this #70 should be a good start as i understand the config files