Closed lokesh411 closed 1 year ago
How big is your Mnesia?
You are not using SQL for messages?
iirc, Mnesia should not be used if your message DB exceeds 2Gb
@licaon-kter We have disabled message archive management in our Ejabberd servers, so it won't store any messages. Did i answer your question?
So what's using it? How big is it?
Only sessions are using mnesia mostly as far as i can see
@licaon-kter We have disabled message archive management in our Ejabberd servers, so it won't store any messages. Did i answer your question?
Can you please tell us how did you disabled message archive management? We are trying to do disable this, to leave it only for mod_muc, but the following configuration is not enough:
mod_mam:
access_preferences: none
assume_mam_usage: false
default: never
The messages are still written in archive_msg table. Did you check the size of the archive_msg table in your deployment?
Thanks!
I have removed mod_mam
from the table itself, so it shouldn't store any messages ideally. And archive_msg
doesn't exists in my prod ejabberd servers
Closing for now, as this is something highly dependant on the setup and use case.
Before creating a ticket, please consider if this should fit the discussion forum better.
Environment
24
Errors from error.log/crash.log
Bug description
Would want to understand the root cause of mnesia getting overloaded. Whenever this happens in our production servers, we see these logs in ejabberd, we see connections getting dropped and systems are slowing down a bit. Can you please help me in understanding this Thanks in advance