aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added utility function that simplifies configuration loading of all addins.Diva Canto2015-01-031-0/+57
|
* Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams2015-01-011-1/+1
| | | | fail for container specification.
* Commenting out the suppression of console warnings from Mono addins while we ↵Diva Canto2014-12-311-2/+2
| | | | test this new model for the next couple of weeks.
* Renamed VERSION_NUMBER to VersionNumberDiva Canto2014-12-301-2/+2
|
* This cleans up versioning. Specifically:Diva Canto2014-12-301-1/+1
| | | | | | | - It establishes 4 digits for opensim versions - It uses the same number between opensim releases and mono addins versions It also eliminates the last addin.xml files that were still there, for consistency.
* Make sure we always dispose of disposables inside RestClient.Request()Justin Clark-Casey (justincc)2014-12-201-26/+30
|
* minor: Correct propery doc RestClient._resource spelling mistakeJustin Clark-Casey (justincc)2014-12-201-1/+1
|
* Fix a regression where objects crossing regions in the same simulator (on ↵Justin Clark-Casey (justincc)2014-12-101-0/+2
| | | | | | | | | | their own or as attachments) with AppDomainLoading = false would create the new state in the source region area rather than the dest. This was beause the code was finding the script DLL compiled for the source region as everything is in the same appdomain and using this as the location for the destination script state, etc. This resolves the regression by passing the proper destination separately from the DLL retrieved. Probably a regression since commit d7b92604 (11 July 2014). Added regression test for this case. At least partly addresses http://opensimulator.org/mantis/view.php?id=7278
* Stop writing SizeZ config parameter for now when creating regions from ↵Justin Clark-Casey (justincc)2014-11-281-1/+1
| | | | console as it is unused/ignored, at least in core.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-254-141/+226
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)2014-11-251-7/+6
| | | | loglevel, in common with similar commands.
* Move conditionals which control whether a task is placed in the JobEngine ↵Justin Clark-Casey (justincc)2014-11-251-2/+37
| | | | inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
* Add "show threadpool calls active" console debug command.Justin Clark-Casey (justincc)2014-11-252-6/+67
| | | | | This shows named threadpool calls (excluding timer and network calls) that are currently queued or running. Also shows total of labelled and any anonymous calls.
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-253-11/+22
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* Add "show threadpool calls" command to show count of all labelled ↵Justin Clark-Casey (justincc)2014-11-252-1/+36
| | | | smartthreadpool calls
* If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)2014-11-251-1/+10
| | | | instead of letting it terminate the simulator...
* Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)2014-11-251-0/+4
| | | | | | | | | | throttles would cause client throttles to be lower than expected when total requests exceeded the scene limit. This was because specifying a max client throttle would always request the max from the parent server throttle, no matter the actual total requests on the client throttle. This would lead to a lower server multiplier than expected. This change also adds a 'target' column to the "show throttles" output that shows the target rate (as set by client) if adaptive throttles is active. This commit also re-adds the functionality lost in recent 5c1a1458 to set a max client throttle when adaptive is active. This commit also adds TestClientThrottlePerClientAndRegionLimited and TestClientThrottleAdaptiveNoLimit regression tests
* minor: remove warning in BasicHttpAuthentication by commenting out unused ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | remove_me parameter (which looks like it might still be potentially useful for logging)
* refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)2014-11-251-1/+0
| | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
* Add loglevel to jobengine that can be controlled via "debug jobengine ↵Justin Clark-Casey (justincc)2014-11-251-6/+26
| | | | | | | loglevel <level>". Defaults to 0 Level 1 currently does verbose logging about every queued and processed job.
* Temporarily add root agent rez attachments work to job engine if it is ↵Justin Clark-Casey (justincc)2014-11-251-4/+4
| | | | | | running rather than as a fire and forget. Experiment to see if serializing attachment rez and send initial data jobs improves other parts of sim performance.
* Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)2014-11-252-0/+310
| | | | | | | | during root agent entry to a region improves perf rather than always attempting to execute everything concurrently Job engine is controlled via "debug jobengine start|stop|status". Can only currently be enabled and disabled dynamically at runtime. Currently only applies to code sending initial region data (objects, other avatar data) to a client.
* Add "region set" console command.Justin Clark-Casey (justincc)2014-10-311-8/+4
| | | | | | This current allows one to set two region parameters agent-limit <int> will set the current root agent limit for the region, as also settable through the viewer, though some impose a max setting (e.g. 100). max-agent-limit <int> will set the maximum allowed root agent limit. This can also be set via the MaxAgent parameter in region config.
* Add hypergrid teleporting support to user profiles picksBlueWall2014-10-271-0/+1
|
* Fix long-lived thread name logging.Justin Clark-Casey (justincc)2014-09-261-1/+1
|
* Add persistent command history in consoleJak Daniels2014-09-231-2/+56
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-173-9/+10
| | | | | | | | threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."" Fix for break in next commit This reverts commit 376fab140227e92dbd841436509a97b87c9e7792.
* Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-173-10/+9
| | | | | | | threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects." This reverts commit af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
* Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall2014-09-173-9/+10
| | | | Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
* Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c ↵Justin Clark-Casey (justincc)2014-09-091-1/+1
| | | | char and not literal 'c'
* For stat names containing periods, replace with '#' rather than throw exceptionJustin Clark-Casey (justincc)2014-09-091-1/+2
| | | | In relation to http://opensimulator.org/mantis/view.php?id=7317
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-052-41/+49
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* Ignore whitespace when reading serialized XML objects.Justin Clark-Casey (justincc)2014-08-294-36/+36
| | | | | | This was previously effectively being done by XmlDocument in the multiple passes through the XML. This change tells XmlReader to ignore whitespace. This also means changing arguments to use XmlReader instead of XmlTextReader (a descendent of XmlReader) directly. XmlReader.Create() has been the recommend way to create XML readers since .NET 2.0 as per MS SDK and is the only way to specific ignore whitespace settings.
* If a user moves back in sight of a child region before the agent has been ↵Justin Clark-Casey (justincc)2014-08-151-0/+5
| | | | closed on teleport, don't unnecessarily resend all avatar and object data about that region.
* On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)2014-08-151-1/+1
| | | | | | neighbour) don't resend all the initial avatar and object data again. This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
* Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)2014-08-131-0/+3
| | | | | This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
* Add a "debug scene set child-repri <double>" command that allows child ↵Justin Clark-Casey (justincc)2014-07-291-2/+42
| | | | | | | | reprioritization distance to be changed on the fly. This governs when child agent position changes are sent to neighbouring regions. Corresponding config parameter is ChildReprioritizationDistance in [InterestManagement] in OpenSim.ini For test purposes.
* Temporary stop CAPS service points from being added to stats as this can be ↵Justin Clark-Casey (justincc)2014-07-261-12/+17
| | | | | | | a huge number. A stop gap solution - a better one may be to improve stats display on simulator-side. Caps information is still accessible via the "show caps stats by user" and "show caps stats by cap" commands
* Add stats for service endpoints using existing data.Justin Clark-Casey (justincc)2014-07-251-0/+14
| | | | | For each service endpoint (e.g. posts to the xinventory service), a stat is available which shows the number of requests received and moving average per second The full name is "service.<http-method>:<path>.requests (e.g. service.POST:/xinventory.requests)
* Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)2014-07-251-22/+31
| | | | | | | | | | | | queues")" Fixes http://opensimulator.org/mantis/view.php?id=7280 It can't be done this way because the stats data needs to show up on the console at all log levels, not just debug. But this means setting it to log at fatal, which is not appropriate for this stuff in the log. I understand the desire but this has to be done some other way, perhaps by (yet another) config parameter. Also, this was already being done with the ClientStatsReport but that also should be done in another way, I think. This reverts commit 5d534127663899cd5592c865b1d00855fce25854.
* minor: Limit processor related stats to 3 decimal places instead of all the ↵Justin Clark-Casey (justincc)2014-07-211-4/+4
| | | | | | places. Easier to read and analyze, and probably still too much detail (1 dp would probably be fine)
* Fix CPU processor use reporting on Mono.Justin Clark-Casey (justincc)2014-07-211-10/+4
| | | | | | Despite the comments in the code, it appears that the issue where the .NET performance counter was wrongly idle time time on Mono was fixed in 2009. https://bugzilla.novell.com/show_bug.cgi?id=468625 Which means that the workaround is no longer necessary and produces bad results instead.
* Don't append attachments multiple timesOren Hurvitz2014-07-211-0/+6
|
* Log RestClient requests similarly to WebClient (e.g, "debug http all 6" logs ↵Oren Hurvitz2014-07-212-7/+31
| | | | the entire request and response)
* In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz2014-07-211-0/+1
| | | | is being throttled due to past poor performance.
* Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz2014-07-211-31/+22
|
* Better logging of threadpool activity in Overload mode: if we didn't log ↵Oren Hurvitz2014-07-211-1/+7
| | | | "Queue threadfunc" for a particular thread then don't log "Run threadfunc" or "End threadfunc" for that thread either.
* Close streams immediately when we finish using themOren Hurvitz2014-07-217-137/+164
|
* minor: remove long unused RegionInfo.ignoreIncomingConfigurationJustin Clark-Casey (justincc)2014-07-191-5/+0
|
* minor: remove long unused RegionInfo.commFailTFJustin Clark-Casey (justincc)2014-07-191-1/+0
|