ejabberd - Comments for "load test" https://www.ejabberd.im/forum/25338/load-test en thanks. if I disable always https://www.ejabberd.im/forum/25338/load-test#comment-66550 <p>thanks. if I disable always and enable roster, will it help me(performance)?<br /> roster's option need query (select) before insert to archive table, which one is better roster or always(performance)?</p> <div class="codeblock"><code>mod_mam:<br />&nbsp;&nbsp;&nbsp; default: always<br />&nbsp;&nbsp;&nbsp; cache_size: 1000<br />&nbsp;&nbsp;&nbsp; cache_life_time: 3600</code></div> <p>or </p> <div class="codeblock"><code>mod_mam:<br />&nbsp;&nbsp;&nbsp; default: roster<br />&nbsp;&nbsp;&nbsp; cache_size: 1000<br />&nbsp;&nbsp;&nbsp; cache_life_time: 3600</code></div> Sun, 07 Feb 2016 12:37:19 +0000 sepasti comment 66550 at https://www.ejabberd.im Apparently they are timeouts https://www.ejabberd.im/forum/25338/load-test#comment-66534 <p>Apparently they are timeouts when looking information in the MAM table, when different users login. It seems the MAM service cannot handle the amount of requests you send.</p> <p>How to fix it?</p> <p>I guess disable mod_mam, or improve its source code efficiency, or restrict your clients to be less aggresive regarding MAM, or improve the machine capabilities (I don't know if the bottleneck is the CPU, RAM or disk).</p> Wed, 27 Jan 2016 20:27:57 +0000 badlop comment 66534 at https://www.ejabberd.im