aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* minor: add method doc to ICommands.HasCommand()Justin Clark-Casey (justincc)2014-07-181-0/+5
|
* Add ICommands.HasCommand() method so that we can detect whether a command ↵Justin Clark-Casey (justincc)2014-07-183-17/+36
| | | | has already been registered without needing to also run it
* Use thread-safe version of .NET Random as the SDK class is not thread-safe.Justin Clark-Casey (justincc)2014-07-142-1/+73
| | | | | | | | As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe. If called by multiple threads at once, methods may return 0. Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance. This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe. This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
* Turn RestClient.Request() logging down the debug and comment out for now.Justin Clark-Casey (justincc)2014-07-091-5/+5
|
* Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)2014-07-081-4/+4
| | | | | | In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop" Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text. Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
* Actually call Close() for shared region modules when the simulator is being ↵Justin Clark-Casey (justincc)2014-07-022-2/+13
| | | | | | shutdown. Adds regression test for this case.
* Change assembly versions to 0.8.1Justin Clark-Casey (justincc)2014-06-179-9/+9
|
* Update dev version to 0.8.1Justin Clark-Casey (justincc)2014-06-171-1/+1
|
* Add [Startup]LogShowStatsSeconds=n parameter which controls the intervalRobert Adams2014-06-131-2/+12
| | | | | that simulator statistics is output to the console. Setting to zero turns stats logging off.
* Add rc3 flavour optionJustin Clark-Casey (justincc)2014-06-101-0/+1
|
* Correct minor bug regarding packing of estate bansDiva Canto2014-06-011-12/+19
|
* Fixed a few things pertaining to interfacing with the estate service. ↵Diva Canto2014-06-012-6/+144
| | | | | | Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector. Also added more packing/unpacking code.
* Fix a bug where estate not found would result in a dummy estate record with ↵Diva Canto2014-05-311-0/+19
| | | | | | erroneous information. Also, added conversion of EstateSettings from/to key-value pairs in preparation for robust net work connectors.
* Add a 0 parameter overload for RestClient.Request() for use when no auth is ↵dahlia2014-05-301-0/+8
| | | | required. This preserves API compatibility for external modules using this function.
* Fix bug where setting a parcel in a varregion for sale would make sale ↵Justin Clark-Casey (justincc)2014-05-301-0/+21
| | | | | | bitmap generation in WorldMapModule throw an exception on next startup. This commit replaces the hardcoded region sizes in WorldMapModule.GenerateOverlay() with numbers pulled from m_scene.RegionInfo
* When saving an OAR in "Publish" mode, also discard Group informationOren Hurvitz2014-05-262-10/+11
|
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2014-05-231-5/+7
|\
| * Compile the regex that extract categories for colourization just once rather ↵Justin Clark-Casey (justincc)2014-05-231-5/+7
| | | | | | | | | | | | than on every single log. Compiling every time is unnecessary since Regex is thread-safe.
| * Allow console output to be multiline by making colourization regex ↵Justin Clark-Casey (justincc)2014-05-231-1/+1
| | | | | | | | RegexOptions.SingleLine
* | Adds optional HTTP Basic Authentication to Robust service connectors.Diva Canto2014-05-236-9/+231
|/
* Store the Teleport Flags in the Circuit. This doesn't seem to be necessary, ↵Oren Hurvitz2014-05-221-0/+2
| | | | because everything has worked so far, but it's the right thing to do.
* Better error-handling and logging in case User Profile requests failOren Hurvitz2014-05-191-12/+12
|
* Fix behaviour change in recent commit bbc1dc6 so that ↵Justin Clark-Casey (justincc)2014-05-131-5/+10
| | | | | | | | SynchronousRestObjectRequester.MakeRequest() calls with no timeout specified use the default HttpWebRequest timeout as previously. I mistakenly thought that that default request timeout was inifite rather than 100 seconds, restoring previously behaviour. As per http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.100%29.aspx Relates to http://opensimulator.org/mantis/view.php?id=7165
* Replace existing 0 timeout in internal overloaded ↵Justin Clark-Casey (justincc)2014-05-121-3/+4
| | | | | | SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead. Triggered by recent faf9ba53 though this was wrong in the code before, it's just that we didn't actually try to set the timeout given.