Closed gylraj closed 5 years ago
Please use https://gist.github.com to paste these infos and edit your post to have only the links to those gists.
Explain what you want to do, what did you do, how did you do it...
Hello,
Could you please see if removing "store_empty_body: unless_chat_state" from mod_offline config helps with that crash (this is default value for that option, so it shouldn't change anything)?
It looks like for some reason when offline codes tries to get that value from config, it gets undefined instead of unless_chat_state, but on newer version with your config i am getting correct value, so not sure how that happens.
@licaon-kter https://gist.github.com/gylraj/abd99b789c9254c4e4092a45764432f2 I want to build a stable server I just follow the documentation
first It works fine then suddenly it stopped working I saw the cpu usage 100%
don't know what had happened, please enlighten me
@prefiks its still the same
How many concurrent users is there on your server ? I see values that are strangely high, like a user can join 300k room and a single room can host 10k users. You can make ejabberd work on large scale with experience, but this is suspiciously high value for a first experience with ejabberd. Can you please share some details on your use case to help us understand how you are using it ?
Thanks !
What the log suggest is that you have a sizing issue, so I expect that you have quite some users and your architecture design is not adequate for your usage.
Only around 500 concurrent users. will this "user can join 300k room and a single room can host 10k users" affect ejabberd? will it cause crashes?
will this "user can join 300k room and a single room can host 10k users" affect ejabberd?
When you go thousands you can crash ejabberd, yes, especially with bad configuration or hardware.
Also, here again, all your errors were generated at the same time. For me it looks like an artifact of the server shutdown.
I propose to close it for now, as @zinid suggest it may not be a production related issue but only appear during shutdown.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Environment
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 9.2
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
Plz Help 👍
If there's error in my config, please tell me. thanks in advance
Problem: