aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-16In the pursuit of using less CPU: now trying to avoid blocking queues ↵Diva Canto2-15/+120
altogether. Instead, this uses a timer. No sure if it's better or worse, but worth the try.
2013-07-16Actually use DoubleQueue in UserManagement/UserManagementModuleDiva Canto1-1/+1
2013-07-16High CPU hunt: try a different blocking queue, DoubleQueueDiva Canto2-1/+3
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)1-19/+73
handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
2013-07-15Protect against null requestsDiva Canto2-12/+16
2013-07-14Cleanup old hg sessions (older than 2 days)Diva Canto1-2/+5
2013-07-14Change the auth token to be the user's sessionid.Diva Canto1-3/+3
2013-07-13Guard against unauthorized agent deletes.Diva Canto1-7/+7
2013-07-09Put guards on a bunch of exception-inducing code, as seen in logs from load ↵Diva Canto2-4/+4
test.
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-4/+230
to print various counts of capability invocation by user and by cap This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected. This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle() However, existing inheriting classes overriding Handle() will still work, albeit without stats recording. "show caps" becomes "show caps list" to disambiguate between show caps commands
2013-07-08Make dictionary read/write locking consistent in CapabilitiesModule, rename ↵Justin Clark-Casey (justincc)1-48/+82
two dictionary fields to standard m_ format
2013-07-08Placed a throttle on UserManagementModule for name lookups. Singularity ↵Diva Canto2-11/+57
apparently is flooding the sims with name requests.
2013-07-06Revert "WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMIT"Diva Canto1-3/+1
This reverts commit 9b75d757241e87408c50b1f92996bf667960c348.
2013-07-06Some more fixes on strange behaviors of Unknown User, esp. related to large ↵Diva Canto1-3/+2
messy inventories and esp. related to kokua
2013-07-06WARNING: BRUTE FORCE DEBUG AGAIN. AVOID USING THIS COMMITDiva Canto1-1/+3
2013-07-05Changed a few bits in Inventory/Archiver/InventoryArchiveReadRequest.cs to ↵Diva Canto1-2/+2
be less dependent on a Scene.
2013-07-06Update thread watchdog on GridServiceRequestThread periodically and turn off ↵Justin Clark-Casey (justincc)1-1/+3
alarming Unfortunately, alarm can spuriously go off if the thread blocks for a long time on an empty queue.
2013-07-04Delete some verbose debug messagesDiva Canto1-1/+1
2013-07-04Throttle the viewer's requests for region handles. Apparently Kokua is ↵Diva Canto1-0/+161
requesting this for all landmarks in inventory. Not sure why. But this seems to be the root cause of the login freeze mentioned before. This commit adds a blocking queue / process thread pattern.
2013-07-04Guard against completely unknown user UUIDs.Diva Canto1-3/+6
2013-07-04With diva's permission, temporarily reinsert Unknown UserUMMAU3 to make sure ↵Justin Clark-Casey (justincc)1-7/+18
that GUN7 failure has largely disappeared. Unknown UserUMMAU3 insertion should definitely be removed down the line. However, I would like a little more time to check the GUN* reduction first, since removing UMMAU3 will make these failures appear as GUN7 instead. Also bumps GUN6 -> GUN7 and UMMAU2 -> UMMAU3
2013-07-04More debug, same issueDiva Canto1-1/+1
2013-07-02Squoosh one last opportunity for Unknown Users to creep in.Diva Canto1-7/+5
2013-07-02Deleted debug messages. Fixed a null ref exception on the POST handler of ↵Diva Canto1-3/+2
GridUserServerPostHandler.cs
2013-07-02More debug messagesDiva Canto1-1/+6
2013-07-02This should have a strong effect on the Unknown User issue mantis #6625Diva Canto1-2/+18
2013-07-02HG: close a loophole by which if something was wrong with the ServiceURLs it ↵Diva Canto2-1/+10
resulted in never ending asset requests
2013-07-01Update debug unknown user name UserUMMTGUN3 to UserUMMTGUN4 and UserUMMAU -> ↵Justin Clark-Casey (justincc)1-2/+2
UserUMMAU2 to track any new occurences. This is to see the impact that Diva's fixes related to this issue (last one is currently commit c7383688) You will need to clear your viewer cache for this to have any effect Relates to http://opensimulator.org/mantis/view.php?id=6625
2013-06-27Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)2-10/+15
This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
2013-06-25Update temporary "Unknown UserUMMTGUN2" name to "Unknown UserUMMTGUN3" to ↵Justin Clark-Casey (justincc)1-1/+1
see if Diva's recent HG updates (post 6c7e33f) fix this issue. This string is returned if a UserManagementModule.TryGetUserNames() cannot find a server-side name binding or a user account for a given UUID. This is only called when the viewer requests a binding via the UDP UUIDNameRequest message
2013-06-22HG: avoid call on localhost between sim and UAS for standalone.Diva Canto1-1/+20
2013-06-21Finally moved HG agent transfers to use agent fatpacks.Diva Canto1-1/+1
2013-06-11Removed the lock entirelyDiva Canto1-56/+52
2013-06-11Really bad idea to lock m_UserCache for so long in UserManagementModule. ↵Diva Canto1-13/+17
Added a special lock object instead, if we really want to avoid concurrent executions of that code.
2013-06-11Put the "script saved" and "notecard saved" messages back into the bottomMelanie1-2/+2
right corner.
2013-06-06Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie2-0/+6
may yield unexpected results in some cases. No database persistence yet,
2013-05-29Try caching the user name for a new agent earlier on in the process of ↵Justin Clark-Casey (justincc)2-2/+2
establishing a connection, to see if this helps with "Unknown UserUMMTGUN" issues. The UMMTGUN form of Unknown User seems to appear because a viewer sometimes sends a UUIDNameRequest UDP request that fails to find a binding. However, in theory the incoming agent should have made that binding before any such request is triggered. So moving this binding to an earlier point in the process to see if this makes a difference. Unknown user name is also updated to UserUMMTGUN2 - if you see the old name then you need to clear your viewer cache. This relates to http://opensimulator.org/mantis/view.php?id=6625
2013-05-29Add HG regression TestCachedUserNameForNewAgent()Justin Clark-Casey (justincc)1-0/+76
2013-05-23Fix bug where both ordinary UserManagementModule and HGUserManagementModules ↵Justin Clark-Casey (justincc)1-1/+1
were being added to scenes if no UserManagementModule was specified. Without explicit config non-hg UMM is used - this is in common with other HG modules. This was causing a non-HG module to unpredictably use the UMM or HGUMM, though lack of bug reports suggest either UMM was always used or it didn't matter in this case.
2013-05-21To further help with tracking down the apperance of too much "Unknown User" ↵Justin Clark-Casey (justincc)1-2/+2
in chatlogs, etc. temporarily change each instance of this in OpenSimulator so we can identify where it's coming from For instance, the "Unknown User" in Util.ParseUniversalUserIdenitifer becaomes "Unknown UserUPUUI (class initials + method initials) This is to help with http://opensimulator.org/mantis/view.php?id=6625
2013-05-21Fix compile failure from recent git master 434c3cfJustin Clark-Casey (justincc)1-1/+1
2013-05-21Make "show name" command display HomeURL like "show names"Justin Clark-Casey (justincc)1-4/+11
2013-05-21minor: Change "show names" command to use consistent console display tableJustin Clark-Casey (justincc)1-15/+9
2013-05-21Add "show name" console command to make it possible to show a single binding ↵Justin Clark-Casey (justincc)1-0/+34
of a UUID to a name.
2013-05-21Log when "Unknown User" is sent to a user because the UMM had no binding for ↵Justin Clark-Casey (justincc)1-17/+32
that UUID and when a binding replaces a previous "Unknown User" entry. This is a temporary measure to hunt down issues where some but not all users see others as "Unknown user" in text chat, etc. http://opensimulator.org/mantis/view.php?id=6625
2013-05-21Lock m_UserCache whilst iterating over it in ↵Justin Clark-Casey (justincc)1-4/+9
UserManagementModule.GetUserData() to avoid concurrency exceptions
2013-05-16minor: remove long commented out scene cache clearing code in ↵Justin Clark-Casey (justincc)1-9/+0
EntityTransferModule.CrossAgentToNewRegionAsync()
2013-05-16minor: Remove completely unused IClientAPI.RequestClientInfo() call from ↵Justin Clark-Casey (justincc)1-3/+0
EntityTransferModule.CrossAgentToNewRegionAsync()
2013-05-16Where this is not already happening, trigger asychoronous calls to ↵Justin Clark-Casey (justincc)1-0/+1
CloseChildAgent() above the LocalSimulationConnector level. This is so that other callers (such as SceneCommunicationService.SendCloseChildAgentConnections() can perform all closes asynchronously without pointlessly firing another thread for local closes). No functional change apart from elimination of unnecessary chaining of new threads.
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto2-35/+39