aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-16add locking to internal queue in WebFetchInvDescModule; lack of which caused ↵dahlia1-5/+10
a random crash in a load test yesterday
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)3-48/+33
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-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-13Moved SendInitialDataToMe to earlier in CompleteMovement. Moved ↵Diva Canto1-1/+1
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-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-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-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.
2013-07-10Added show client-stats [first last] command to expose what viewers are ↵Diva Canto2-15/+30
requesting.
2013-07-09Comment out old inbound UDP throttling hack. This would cause the UDPRobert Adams1-0/+2
reception thread to sleep for 30ms if the number of available user worker threads got low. It doesn't look like any of the UDP packet types are marked async so this check is 1) unnecessary and 2) really crazy since it stops up the reception thread under heavy load without any indication.
2013-07-09Handle UUIDNameRequest UDP packet processing async instead of within the ↵Justin Clark-Casey (justincc)1-1/+1
main inbound UDP processing loop, to avoid any chance that this is delaying the main udp in loop. The potential impact of this should be lower now that these requests are being placed on a queue.
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)2-3/+10
not set
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-1/+1
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-06Fix mono warning in LLImageManagerTestsJustin Clark-Casey (justincc)1-1/+1
2013-07-06Get InventoryWorkerThreads to update watchdog on processing requestsJustin Clark-Casey (justincc)1-0/+2
2013-07-04Add --default option to "debug lludp packet" command to allow packet logging ↵Justin Clark-Casey (justincc)1-17/+52
to be performed immediately from client start
2013-07-04change "debug packet" command to "debug lludp packet" to conform with other ↵Justin Clark-Casey (justincc)1-0/+59
"debug lludp" options also moves the implementing code into LLUDPServer.cs along with other debug commands from OpenSim.cs gets all debug lludp commands to only activate for the set scene if not root
2013-07-02HG: close a loophole by which if something was wrong with the ServiceURLs it ↵Diva Canto1-1/+1
resulted in never ending asset requests
2013-06-17minor: remove mono compiler warnings in WebFetchInvDescModuleJustin Clark-Casey (justincc)1-3/+2
2013-06-17Fix test failure in BasicCircuitTests from previous commit 0d2fd0d9Justin Clark-Casey (justincc)1-2/+2
2013-06-14Don't try to abort worker threads in WebFetchInvDescModule if module was not ↵Justin Clark-Casey (justincc)1-6/+4
enabled. This also moves the abort to RemoveRegion() rather than a destructor.
2013-06-07Put the configuration back in FetchInventoryDesc2 cap.Diva Canto1-0/+29
2013-06-07Supply proper type information for the various types of requestsMelanie1-0/+1
2013-06-07Adding Avination's PollService to round out the HTTP inventory changesMelanie2-4/+4
2013-06-07minor: Comment out debug logging (at warn level) about number of objects ↵Justin Clark-Casey (justincc)1-1/+1
force selected and turn down to debug level
2013-06-05Port Avination's inventory send throttlingMelanie1-52/+213
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie1-16/+14
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman1-5/+22
hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
2013-05-14Comment out log message about looking for asset data in remove asset service ↵Justin Clark-Casey (justincc)1-1/+1
for now, in order to reduce log levels in a test region with many hg origin avatars
2013-05-14Second take at HGTP-mesh bug: delay sending the initial data only for agents ↵Diva Canto1-1/+7
that are coming via TP (root agents)
2013-05-14Revert "HGTP-mesh bug: the mesh download requests were going to the ↵Diva Canto1-0/+3
departing sims for a little while. This was also true for local TPs. BUt for local TPs the assets are on the same server, so it doesn't matter. For HGTPs, it matters. This potential fix moves sending the initial data to later, after the client has completed the movement into the region. Fingers crossed that it doesn't mess other things up!" This reverts commit f32a21d96707f87ecbdaf42c0059f8494a119d31.
2013-05-14HGTP-mesh bug: the mesh download requests were going to the departing sims ↵Diva Canto1-3/+0
for a little while. This was also true for local TPs. BUt for local TPs the assets are on the same server, so it doesn't matter. For HGTPs, it matters. This potential fix moves sending the initial data to later, after the client has completed the movement into the region. Fingers crossed that it doesn't mess other things up!
2013-05-10Delete debug messageDiva Canto1-1/+0
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)1-3/+2
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman1-15/+43
packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
2013-05-07Added AvatarPickerSearch capability handler.Diva Canto1-0/+140
2013-04-30Fix CAPS to work like they should - do not send caps to the viewer if ↵Melanie1-1/+12
they're not in the requested caps list. The previous wrong behavior caused the debug setting "UseHTTPInventory" to fail on all viewers when turned off. UDB inventory would not be correctly used in that case.
2013-04-29minor: Eliminate warning in LLimageManagerTests by properly calling through ↵Justin Clark-Casey (justincc)1-0/+2
to OpenSimTestCase.SetUp()
2013-04-25Change EconomyDataRequest signature to use an IClientAPI rather than UUID. ↵Melanie1-1/+1
This is needed because recent LL viewer codebases call this earlier in login when the client is not yet established in the sim and can't be found by UUID. Sending the reply requires having the IClientAPI.
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+12
2013-04-17amend previous commit, a line was left outdahlia1-0/+1
2013-04-17Thanks lkalif for a fix to SendRegionHandshake() which fixes a potential ↵dahlia1-2/+6
crash with Server-side baking enabled viewers
2013-04-16refactor: Remove IClientNetworkServer.NetworkStop() in favour of existing ↵Justin Clark-Casey (justincc)1-5/+0
Stop(). This was an undocumented interface which I think was for long defunct region load balancing experiments. Also adds method doc for some IClientNetworkServer methods.
2013-03-28minor: Fix usage error message for "debug eq" console commandJustin Clark-Casey (justincc)1-1/+1