ejabberd - Comments for "memory" https://www.ejabberd.im/forum/25265/memory en js wrote: thanks. why room https://www.ejabberd.im/forum/25265/memory#comment-66448 <div class="quote-msg"> <div class="quote-author"><em>js</em> wrote:</div> <p>thanks.<br /> why room recent history removed when restart ejabberd server? does erlang process for room recent history message that read from disk or in ODBC database is removed? does erlang process read from from disk or in ODBC database and when restart ejabberd serverd, erlang process is removed and then no process exist that read before history message ?</p></div> <p>Room recent history is only stored in the room process memory: it is stored only in RAM.</p> <p>When ejabberd is stopped, then the room processes are stopped, their memory is destroyed, the recent history is lost.</p> Wed, 09 Dec 2015 11:25:50 +0000 badlop comment 66448 at https://www.ejabberd.im thanks. why room recent https://www.ejabberd.im/forum/25265/memory#comment-66434 <p>thanks.<br /> why room recent history removed when restart ejabberd server? does erlang process for room recent history message that read from disk or in ODBC database is removed? does erlang process read from from disk or in ODBC database and when restart ejabberd serverd, erlang process is removed and then no process exist that read before history message ?</p> Thu, 03 Dec 2015 12:34:23 +0000 js comment 66434 at https://www.ejabberd.im js wrote: what things of https://www.ejabberd.im/forum/25265/memory#comment-66429 <div class="quote-msg"> <div class="quote-author"><em>js</em> wrote:</div> <p>what things of ejabberd consume ram?<br /> for example session, history message, offline message</p></div> <p>User sessions and rooms: yes, because they are keep in erlang processes.</p> <p>Offline messages, user roster, user vcard, room recent history, ...: no, because they are stored in Mnesia database tables that you can configure to be stored only in disk (using WebAdmin), or in ODBC database that you can install in another machine.</p> <div class="quote-msg"> <div class="quote-author"><em>js</em> wrote:</div> <p>how much ram is enough for 1000k users?<br /> how much RAM per connection?</p></div> <p>This depends if the connected users have a big roster, etc. The best is that you test the server with the requirements you have.</p> <div class="quote-msg"> <div class="quote-author"><em>js</em> wrote:</div> <p>when restart what information are removed? for example history message?</p></div> <p>From what I remember now, only room recent history.</p> Mon, 30 Nov 2015 18:53:19 +0000 badlop comment 66429 at https://www.ejabberd.im