|Anonymous | Login | Signup for a new account||2020-08-12 00:11 PDT|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006726||opensim||[GRID] Hypergrid||public||2013-08-06 04:21||2013-08-07 08:36|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006726: Numbers in world wrong possibly due to griduser table issues|
|Description||I am using the Wifi numbers of users in world feature and I note that after an update I still show 16 users in world who are not actually present. I can see no persistent NPCs to account for this.|
On investigation it seems the exact number of users "left" in world may be accounted for by the table entries for "griduser" where the "Logout" time stamp is "0" and their "Online" status is "True".
To test this I manually changed the "Online" status to "False" and the zero "Logout" time stamps for those users to an apparently valid time stamp that had been in place for other gridusers. Then the number in world correctly shows as zero again.
There may be an issue with tidying up after grid users fail to log out or crash, or perhaps a tidy up action is needed on region restart to avoid this wrong number of users in world occurring?
|Tags||No tags attached.|
|Git Revision or version number||r/23436|
|Run Mode||Grid (Multiple Regions per Sim)|
|Environment||.NET / Windows64|
I am running OpenSim 0.7.3.1 Release and I notice the same issues pertaining to the GridUsers.Online status.
I would also question why that element is a char(5) and not a boolean of some sort.
|I would also agree that this seems to be some small (almost) rare edge case that occurs a few times a day on our grid. We have about 100 users logging in and out per day and this may result in approximately 3 - 4 of these failed status changes that I notice.|
|I also see that the griduser.Online is a Char(5) which seems odd, and I think some code implies that is a "bool". is this set up wrongly? My MySQL data base was freshly created just back in May 2013 from a 0.7.6 dev master so I should not have old legacy field sin there.|
THe logedin flag in gridusers has never had a clean up routine remove the stale flags. Since We don't have hypergrid enabled I wrote a cron to set the flag to false if they don't show up in the presence table.
Some interesting things happen if you toggle this flag while an avatar is online, basicly he set offline and will crash the next time he teleports. But he will stay invisible in the sim he is at tell then.
|2013-08-06 04:21||aiaustin||New Issue|
|2013-08-06 04:21||aiaustin||Description Updated||View Revisions|
|2013-08-06 09:20||harmonbc||Note Added: 0024249|
|2013-08-06 09:26||harmonbc||Note Added: 0024250|
|2013-08-07 08:11||aiaustin||Note Added: 0024257|
|2013-08-07 08:36||abitar||Note Added: 0024258|
|Copyright © 2000 - 2012 MantisBT Group|