Ejabberd is the massively scalable server, here's article which show Ejabber can supporting 2M+ concurrent user.

But for Multi-User Chat(MUC), Ejabber supports only 5K users(as per ejabberd module code: here). Ejabbered should be able to handle more user than that, so my questions to Ejabberd Gurus out there:

  1. Why Ejabberd impose the limitation to only support 5k Users in MUC?
  2. How to support more than 5K users in the MUC?
  3. Will clustering be able to mitigate this limitation?

Thanks in advance.

1 Answer 1


You're using the term "user", but obviously you are not thinking in persons, in human beings, right?

I hope you don't plan to have 5.000 human beings joining and leaving a single chatroom, sharing their presence everytime they join and leave the chatroom with the other 4.999 people. I hope you don't expect those 5.000 people sending public messages to all the other 4.999 people.

That would be a cricket cage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.