If your server is behind NAT, you need to add below extra line to file /etc/jitsi/videobridge/sip-communicator.properties
nano /etc/jitsi/videobridge/sip-communicator.properties
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<Local.IP.Address>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<Public.IP.Address>
<Local.IP.Address>
is internal or private IP address like 10.xx.xx.xx
<Public.IP.Address>
is a public IP address
Then you need to comment below the line in the same file
org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES
Save the file, then reboot the server or restart services like below
systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2
If the used bridge will expect a higher number of participants, the default values need to be adjusted
To update the values edit file (/etc/systemd/system.conf
) and make sure you have the following values.
nano /etc/systemd/system.conf
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000
To check values, just run:
systemctl show --property DefaultLimitNPROC
systemctl show --property DefaultLimitNOFILE
systemctl show --property DefaultTasksMax
To reload the systemd
changes on a running system execute sudo systemctl daemon-reload
and sudo systemctl restart jitsi-videobridge2
To check the part of the task execute sudo systemctl status jitsi-videobridge2
and you should see Tasks: XX (limit: 65000)
. To check the files and process part execute the below command
cat /proc/`cat /var/run/jitsi-videobridge/jitsi-videobridge.pid`/limits
If you want to remove Jitsi Meet, enter the below command
sudo apt purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge2