Ghost user not really online

One of our users is showing up as "online" to other users but isn't really online.

1) Is there anything I should be doing as the admin to ensure this doesn't happen?
2) How can one manually change a user's status to be "offline" in the event something like this occurs?

PS: Another strange thing is that when I go to administrate the server via:
http://...:5280/admin/server/marathon/online-users/
Clicking on the users brings me to a blank page.

PPS: Manually deleting the Mnesia database and restarting the server didn't fix it.

PPPS: Manually deleting all rows out of the tables in the pgsql database which referred to the users seems to have fixed it.

PPPPS: But the problem recurred. It does appear to be associated with a particular user's client/computer since more than one JID experiences this problem from that computer but not from others. Nevertheless one would think ejabberd would detect the absence of a live client and change the status to offline.

do you use http polling or

do you use http polling or binding or do those clients connect the usual way?

port 5222

The connection from the ghosting client is port 5222.

Other clients have been using http without a problem and 5222 without a problem.

The client in question just had a disk crash so all software has been reloaded. We'll see if this "fixes" the problem.

Syndicate content