aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-16MSDN documentation is unclear about whether exiting a lock() block will ↵dahlia1-5/+8
trigger a Monitor.Wait() to exit, so avoid some locks that don't actually affect the state of the internal queues in the BlockingQueue class.
2013-07-16Simplify EventQueue cap setup so that it is also stat monitored.Justin Clark-Casey (justincc)1-45/+29
Curiously, the number of requests received is always one greater than that shown as handled - needs investigation
2013-07-15Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)11-126/+267
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-15Revert "Puts RequestImage (UDP) back to asyn -- CPU spike hunt"Diva Canto1-1/+1
This reverts commit b060ce96d93a33298b59392210af4d336e0d171b.
2013-07-15Guard against null refDiva Canto1-1/+2
2013-07-15Puts RequestImage (UDP) back to asyn -- CPU spike huntDiva Canto1-1/+1
2013-07-15Revert the revertDiva Canto1-0/+2
Revert "Trying to hunt the CPU spikes recently experienced." This reverts commit ac73e702935dd4607c13aaec3095940fba7932ca.
2013-07-15Protect against null requestsDiva Canto2-12/+16
2013-07-15Trying to hunt the CPU spikes recently experienced.Diva Canto1-2/+0
Revert "Comment out old inbound UDP throttling hack. This would cause the UDP" This reverts commit 38e6da5522a53c7f65eac64ae7b0af929afb1ae6.
2013-07-15This might address the following observed exception:Diva Canto1-1/+1
17:14:28 - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs Exception: System.InvalidOperationException: Operation is not valid due to the current state of the object at System.Collections.Generic.Queue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Peek () [0x00011] in /root/install/mono-3.1.0/mono/mcs/class/System/System.Collections.Generic/Queue.cs:158 at System.Collections.Generic.Queue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Dequeue () [0x00000] in /root/install/mono-3.1.0/mono/mcs/class/System/System.Collections.Generic/Queue.cs:140 at OpenSim.Framework.DoubleQueue`1[OpenSim.Region.ClientStack.Linden.WebFetchInvDescModule+aPollRequest].Dequeue (TimeSpan wait, OpenSim.Region.ClientStack.Linden.aPollRequest& res) [0x0004e] in /home/avacon/opensim_2013-07-14/OpenSim/Framework/Util.cs:2297
2013-07-14Added SQLite version of hg travel data store. UNTESTED. Hope it works!Diva Canto2-0/+100
2013-07-14Cleanup old hg sessions (older than 2 days)Diva Canto5-2/+20
2013-07-14HG UAS: Moved hg-session data from memory to DB storage. This makes it so ↵Diva Canto5-90/+344
that traveling info survives Robust resets. It should also eliminate the cause of empty IP addresses in agent circuit data that we saw in CC grid. MySQL only.
2013-07-14Minor typo in log messageDiva Canto1-1/+1
2013-07-14Let's go easy on authenticating ChildAgentUpdates, otherwise this will be ↵Diva Canto1-7/+5
chaotic while ppl are using different versions of opensim. Warning only, but no enforcement.
2013-07-14Fix broken tests -- the test setup was wrong... sigh.Diva Canto2-1/+2
2013-07-14Authenticate ChildAgentUpdate too.Diva Canto4-18/+32
2013-07-14Change the auth token to be the user's sessionid.Diva Canto4-7/+10
2013-07-13And this fixes the other failing tests. Justin, the thread pool is not being ↵Diva Canto1-2/+0
initialized in the tests!
2013-07-13This should fix the failing test.Diva Canto1-2/+1
2013-07-13Deleted a line too manyDiva Canto1-0/+3
2013-07-13Guard against unauthorized agent deletes.Diva Canto9-32/+57
2013-07-13Deleted GET agent all around. Not used.Diva Canto5-134/+2
2013-07-13Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to ↵Diva Canto1-0/+6
bother the sim.
2013-07-13Some more debug to see how many threads are available.Diva Canto1-0/+2
2013-07-13That didn't fix the problem.Diva Canto2-27/+38
Revert "Trying to reduce CPU usage on logins and TPs: trying radical elimination of all FireAndForgets throughout CompleteMovement. There were 4." This reverts commit 682537738008746f0aca22954902f3a4dfbdc95f.
2013-07-13Trying to reduce CPU usage on logins and TPs: trying radical elimination of ↵Diva Canto2-38/+27
all FireAndForgets throughout CompleteMovement. There were 4.
2013-07-13This commit effectively reverses the previous one, but it's just to log that ↵Diva Canto1-4/+4
we found the root of the rez delay: the priority scheme BestAvatarResponsiveness, which is currently the default, was the culprit. Changing it to FrontBack made the region rez be a lot more natural. BestAvatarResponsiveness introduces the region rez delay in cases where the region is full of avatars with lots of attachments, which is the case in CC load tests. In that case, the inworld prims are sent only after all avatar attachments are sent. Not recommended for regions with heavy avatar traffic!
2013-07-13Same issue as previous commit.Diva Canto1-3/+4
2013-07-13Moved SendInitialDataToMe to earlier in CompleteMovement. Moved ↵Diva Canto2-6/+15
TriggerOnMakeRootAgent to the end of CompleteMovement. Justin, if you read this, there's a long story here. Some time ago you placed SendInitialDataToMe at the very beginning of client creation (in LLUDPServer). That is problematic, as we discovered relatively recently: on TPs, as soon as the client starts getting data from child agents, it starts requesting resources back *from the simulator where its root agent is*. We found this to be the problem behind meshes missing on HG TPs (because the viewer was requesting the meshes of the receiving sim from the departing grid). But this affects much more than meshes and HG TPs. It may also explain cloud avatars after a local TP: baked textures are only stored in the simulator, so if a child agent receives a UUID of a baked texture in the destination sim and requests that texture from the departing sim where the root agent is, it will fail to get that texture. Bottom line: we need to delay sending the new simulator data to the viewer until we are absolutely sure that the viewer knows that its main agent is in a new sim. Hence, moving it to CompleteMovement. Now I am trying to tune the initial rez delay that we all experience in the CC. I think that when I fixed the issue described above, I may have moved SendInitialDataToMe to much later than it should be, so now I'm moving to earlier in CompleteMovement.
2013-07-13Added UploadBakedTexture/UploadBakedTextureServerConnector, so that this can ↵Diva Canto1-0/+76
eventually be served by a robust instance. NOT FINISHED YET.
2013-07-13Reinsert PhysicsActor variable back into SOP.SubscribeForCollisionEvents() ↵Justin Clark-Casey (justincc)1-8/+12
in order to avoid a race condition. A separate PhysicsActor variable is used in case some other thread removes the PhysicsActor whilst this code is executing. If this is now impossible please revert - just adding this now whilst I remember. Also makes method comment into proper method doc.
2013-07-13In co-op termination, extend EventWaitHandle to give this an indefinite ↵Justin Clark-Casey (justincc)1-2/+21
lifetime in order to avoid a later RemotingException if scripts are being loaded into their own domains. This is necessary because XEngineScriptBase now retains a reference to an EventWaitHandle when co-op termination is active. Aims to address http://opensimulator.org/mantis/view.php?id=6634
2013-07-12Add ToOSDMap() overrides to the Stat subclass CounterStat.Robert Adams3-0/+88
Add a GetStatsAsOSDMap method to StatsManager which allows the filtered fetching of stats for eventual returning over the internets.
2013-07-12Changed UploadBakedTextureModule so that it uses the same pattern as the ↵Diva Canto1-8/+27
others, in preparation for experiments to direct baked texture uploads to a robust instance. No functional or configuration changes -- should work exactly as before.
2013-07-11Enhance NullEstateData to remember stored estate values and returnRobert Adams1-7/+21
them next time asked. This keeps any estate settings from being reset when the estate dialog is opened in a region with null estate storage.
2013-07-11Centralize duplicated code in SceneObjectPart for subscribing toRobert Adams1-54/+43
collision events. Improve logic for knowing when to add processing routine to physics actor.
2013-07-11Added a few more thingies to the asset client test to poke the threadpool.Diva Canto1-2/+19
2013-07-11Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)1-3/+6
RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
2013-07-11minor: remove some regression test logging switches accidentally left ↵Justin Clark-Casey (justincc)2-2/+2
uncommented.
2013-07-11minor: Take out unnecessary clumsy sleep at the end of regression ↵Justin Clark-Casey (justincc)1-3/+0
Test404Response(). This wasn't actually necessary in the end but was accidentally left in.
2013-07-11Fix regression where llHTTPRequests which did not get an OK response ↵Justin Clark-Casey (justincc)3-41/+244
returned 499 and the exception message in the http_response event rather than the actual response code and body. This was a regression since commit 831e4c3 (Thu Apr 4 00:36:15 2013) This commit also adds a regression test for this case, though this currently only works with Mono This aims to address http://opensimulator.org/mantis/view.php?id=6704
2013-07-11Added property to make for more flexible testing.Diva Canto1-0/+5
2013-07-11Added a test for the asset serviceDiva Canto1-0/+99
2013-07-11Changed the UserProfileModule so that it's less greedy in terms of thread usage.Diva Canto1-7/+5
2013-07-11Switched UUIDNameRequest and RegionHandleRequest to Sync, because now they ↵Diva Canto1-2/+2
are also non-blocking handlers.
2013-07-11Switched TransferRequest (UDP packet handler) to sync. The permissions ↵Diva Canto1-99/+115
checks may block, so they get a FireAndForget. Everything else is non-blocking.
2013-07-10remove names from Capability handlers (added by justincc in commit ↵dahlia1-7/+4
013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
2013-07-10Switched RegionHandshakeReply to Sync, because it's not doing anything blocking.Diva Canto1-1/+1
2013-07-10EXPERIMENTAL: make RequestImage (UDP packet handler) sync instead of async. ↵Diva Canto1-1/+1
This _shouldn't_ screw things up, given that all this does is to dump the request in a queue.