hi guys,<br><br>just another update on this issue -- it looks like doing 'ejabberdctl ban_account' doesn't work either on these "stuck" login sessions:<br><br>$ ejabberdctl connected_users | grep jkb<br>
<a href="http://jkb@s.example.net/xxx">jkb@s.example.net/xxx</a><br><br>$ ejabberdctl ban_account jkb <a href="http://s.example.net">s.example.net</a> testing<br><br>$ ejabberdctl connected_users | grep jkb<br><a href="http://jkb@s.example.net/xxx">jkb@s.example.net/xxx</a><br>
<br>oh, and happy new years!<br><br>-- yan<br><br><br><div class="gmail_quote">On Tue, Dec 29, 2009 at 1:19 AM, Jan Koum <span dir="ltr"><<a href="mailto:jan.koum@gmail.com">jan.koum@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi there,<br><br>in our ejabberd.cfg we have:<br><br><div style="margin-left: 40px;">{access, max_user_sessions, [{1, all}]}.<br>
</div><br>in the past max_user_sessions worked perfectly -- when xmpp user connects for the 2nd time, 1st connection gets booted right away.<br>
<br>however, today i discovered an interesting bug where "<a href="http://jkb@s.example.net/MBP" target="_blank">jkb@s.example.net/MBP</a>" got stuck and i was able to connect from two other devices.<br><br><div style="margin-left: 40px;">
$ ejabberd/sbin/ejabberdctl connected_users | grep jkb<br><a href="http://jkb@s.example.net/Adium" target="_blank">jkb@s.example.net/Adium</a><br><a href="http://jkb@s.example.net/MBP" target="_blank">jkb@s.example.net/MBP</a><br>
<a href="http://jkb@s.example.net/mini" target="_blank">jkb@s.example.net/mini</a><br>
</div><br>using "ejabberdctl kick_session" i was able to kick the 2nd and 3rd connection (/Adium and /mini ones), but 1st connection just wouldn't go away.<br><br>how could this be? aside from restarting the server -- any other solutions?<br>
<br>thanks,<br><br>-- yan<br><br>
</blockquote></div><br>