CPU Consumption went to 165% for 16 users

Hi,
OpenVidu CE is consuming lot of CPU. Please see the the screenshot attached. We have 24 cores server which is dedicated to OpenVidu. We are using 2.14.0 version. In current consumption most of the CPU is consumed by KMS. Can you please suggest the solution for this.

Thanks in advance.

Vineeth.

2 Likes

KMS has been updated in 2.15.0 to release 6.14.0, which brings a fix for a known issue that could cause CPU spikes like this: https://medium.com/@openvidu/openvidu-2-15-0-autoscaling-337bd46b0e08#49e4

Try upgrading to 2.15.0 and try getting the same behavior. Hopefully the problem will go away.

2 Likes

Hi,

Thanks for the quick reply.

We have deployed the 2.15.0 on our server as you suggested. CPU load was gradually by the number of participants increases. And application started misbehaving after 18 participants joined the session. KMS still taking most of the CPU. Please see the screenshots attached of server specs and the CPU load.

Please suggest the solution for this.

Thanks in advance.

Vineeth.

Hi @vineethakp,

If I understand correctly, you are using OpenVidu CE right?

As you know, in OpenVidu CE, openvidu-server and KMS are living together in the same machine. The consumption of CPU will be higher and limited due to OpenVidu CE doesn’t have scalability.

If you want to be able to manage and create sessions with a lot of users, you will need to choose between use OpenVidu PRO (with autoscaling included, see 2.15.0 medium post) or continue to use OpenVidu CE but launching a bigger machine with more CPU’s cores.

1 Like