Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006726opensim[GRID] Hypergridpublic2013-08-06 04:212013-08-07 08:36
Reporteraiaustin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version8
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006726: Numbers in world wrong possibly due to griduser table issues
DescriptionI 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?
TagsNo tags attached.
Git Revision or version numberr/23436
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0024249)
harmonbc (reporter)
2013-08-06 09:20

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.
(0024250)
harmonbc (reporter)
2013-08-06 09:26

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.
(0024257)
aiaustin (developer)
2013-08-07 08:11

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.
(0024258)
abitar (reporter)
2013-08-07 08:36

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.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker