How many users can enter a room at a time?

My server profile :

Intel Xeon 4
cpu count : 2 core
memory : 8 G DDR4
IOPS amount : Maximum 2000
PPS: Maximum : 15000 - 20000

I have 10 rooms with 5 to 22 people in each room. (120 people in total)

Students enter the classroom in order, but when the total number is about 70, students are regularly kicked out of the room.

In this case, the server RAM is 3 GB empty and the processor is 20% busy.

Please guide me to solve this problem. TNX

how do you monitor your server resources, what is/ has been the cpu load?

1 Like

Monitor prosody process cpu usage, not only the machine CPU. You can use systemd to monitor it.
Check nginx logs for errors when this happens, what do you see?

1 Like

thanks for your reply

Check the information from my cloud server.

Attached images.

I will definitely check, but is there a limit to the number of users in a room at jitsi?

There is no limit, the resources are the limit.
The overall CPU usage is useless when you want to monitor just the prosody process and whether it spikes for few seconds to a hundred percent … especially if your cloud stats are every 5 minutes.

If students are entering at the same time (waiting for the teacher) we have seen problems with that.

1 Like

Unfortunately, I do not have enough knowledge to understand the logs.

I have two reports for this.
One is a error log and the other is an nginx logs.

I am attaching the error log, please guide me.

nginx logs is 61 MB for today at this link.
October 18 log was more
I sent it.

I know your time is important, but please check it out.
Thank You

As you can see the connection from nginx to prosody timeouts, which means prosody is struggling.
Is your use case with secure domain enabled and anonymous domain?
Where do all students wait for the teacher to join, and when the teacher joins all students join at once?

1 Like

yes domain ssl is active.

On our website, we first create the room token and then by entering the token at the end of the link above, first the teacher enters the class and then the students enter the class.

The number of classes and teachers at a time is about 10. But each class has 5 to 22 students.

Do you have control when a student enters a room? If so, space the students joining. Make it random or even better make them enter one by one in one second interval.
Another thing you can try is to enable this jicofo property:

You can do 0: 1000, so you will batch students joining, so if x number join in one second you will batch the signaling in jicofo. But if you do the spacing by 1 second, there is no point of this one. The spacing thing is better if you control it.

5 Likes

I changed the settings and also changed the RAM to 12 GB and the CPU to 4 cores, but I still have trouble getting students out of the classroom.

I changed the settings and also changed the RAM to 12 GB and the CPU to 4 cores, but I still have trouble getting students out of the classroom.

This problem occurs when there are more than 15 students in a room.

Please guide me further.

Have you monitored prosody process cpu usage?

1 Like

How can I do that?

Please send me the instructions.

Thank You

Choose a tool suitable for you.
You can get log it every second and plot it in a spreadsheet

There are a lot of stats related solutions you can choose from … just make sure you meter the process CPU usage, not the machine.

1 Like

Thank you for your help.

I will take a test and share the answer here.

hi damencho

I did all the steps according to your instructions.

I found that using the JVB file of RAM always grows upwards and does not release the RAM, and even when there is no class, it still engages the RAM.
I am attaching pictures of it.

1

2

3

4

Where does this problem come from?

Since it’s allowed to use 5120 MB RAM, this is normal

da343d0c9a3793e08b4ae2cb7c6b144b3b86e788

1 Like

Thanks for your reply

I know that the default number is 3 GB.

I have 12 GB of RAM.

What happens if I change 5 gigs for JVB to 8 gigs?
What happens if I change 5 gigs for JVB to 1 gig?

Is it normal that now that there is no class, the JVB proccess takes up more than 50% of the RAM?

TNX

The garbage collector is triggered when the usage reaches this limit

1 Like

Thanks for your reply
I understand.

Three questions:

1- What happens if I change 5 gigs for JVB to 8 gigs?
2- What happens if I change 5 gigs for JVB to 1 gig?
3- Is it normal that now that there is no class, the JVB file occupies more than 50% of the RAM?why?