ejabberd - Comments for "Max_inactivity for http-bind is longer than value in config"
https://www.ejabberd.im/node/4745
enmhoang wrote:
Hi,
I'm
https://www.ejabberd.im/node/4745#comment-57520
<div class="quote-msg">
<div class="quote-author"><em>mhoang</em> wrote:</div>
<p>Hi,<br />
I'm currently using ejabberd-2.1.6 and I have 30 seconds set as the max_inactivity so that ejabberd will close their session. This works for about 40% of users.</p>
<p>But for certain sessions, the timeout for inactivity is anywhere from 80 seconds to 90 seconds.</p>
<p>What could be causing the higher timeout for close session?
</p></div>
<p>Notice that inactivity is defined as "user receives and sends nothing". Maybe some users don't send, but receive stuff, so their session keeps alive more than 30 seconds?</p>
<div class="quote-msg">
<div class="quote-author"><em>mhoang</em> wrote:</div>
<p>Is there another module option or macro that has to be redefined?
</p></div>
<p>An additional way to close sessions when the client doesn't exist is mod_ping:<br />
<noindex><a href="http://www.process-one.net/docs/ejabberd/guide_en.html#modping" title="http://www.process-one.net/docs/ejabberd/guide_en.html#modping" rel="nofollow" >http://www.process-one.net/docs/ejabberd/guide_en.html#modping</a></noindex></p>
Wed, 22 Jun 2011 08:48:32 +0000mfosscomment 57520 at https://www.ejabberd.imCould someone please help
https://www.ejabberd.im/node/4745#comment-57514
<p>Could someone please help with this issue?</p>
<p>Thank you,<br />
Man</p>
Mon, 20 Jun 2011 18:11:36 +0000mhoangcomment 57514 at https://www.ejabberd.im