[jadmin] Shadow sessions after client crash.
Kent Mentolado
kentmentolado at gmail.com
Fri Jun 2 04:43:31 CDT 2006
Hello to all,
I'm using jabberd2 2.0.9 with PostgreSQL database. To check if a user is
online, I compare authreg's time and logout's time columns. But sometimes,
when user software crashes (or network connection goes down), logout table
isn't updated, so my system think user is still online. ¿Is there another
way to check if some user is connected?
I activated checks in c2s.xml, config is:
<check>
<interval>10</interval>
<idle>30</idle>
<keepalive>0</keepalive>
</check>
The client software sends KeepAlive request every 15 seconds. But this
configuration doesn't prevent dead sessions on user crash. I try to play
with keepalive values, but I cannot find any good documentation to check how
it works. What if keepalive (or idle) is bigger that 'interval'? Times here
are cumulative?
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20060602/46c71a0b/attachment-0003.html
More information about the JAdmin
mailing list