Prosody CPU 100%

Hi All,

We found that prosody is a single thread process and were maxing out the cpu because of this. We are using c5n.metal ec2 server but only one core is being maxed out. Is there any configuration to make it multi threaded?


You may try switching prosody to use epoll network backend it performs better.
Prosody is single threaded and you cannot change that.

Hi Damian, thank you for the reply. I have enabled libevent using this instructions and its performing slightly better now.

Do you have other recommended modules or tweaks to increase performance for prosody?

1 Like

Have you tried epoll

We tried epoll today and the performance was worse than libevent. We will be trying ejabberd and see if the performance will be much better.