aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)2013-09-271-1/+1
| | | | | | it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
* minor code formatting for the sake of consistency and readabilitydahlia2013-09-271-18/+36
|
* Add parameter and explanation of ManagedStats return to OpenSimDefaults.ini.Robert Adams2013-08-081-2/+2
| | | | | Add 'callback' query parameter to managed stats return to return function form of JSON data.
* Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams2013-08-081-0/+7
| | | | | | | | | | Disabled by default. Enable by setting [Startup]ManagedStatsRemoteFetchURI="Something" and thereafter "http://ServerHTTPPort/Something/" will return all the managed stats (equivilent to "show stats all" console command). Accepts queries "cat=", "cont=" and "stat=" to specify statistic category, container and statistic names. The special name "all" is the default and returns all values in that group.
* Remove never implemented stub modules commands (list, load, unload) from ↵Justin Clark-Casey (justincc)2013-08-081-40/+0
| | | | | | | back in 2009. "show modules" is the functional console command that will show currently loaded modules. Addresses http://opensimulator.org/mantis/view.php?id=6730
* Added MinPoolThreads to ini [Startup] section to control SmartThreadPool.Dan Lake2013-07-181-1/+3
|
* command line kick user now uses exact name match instead of substring search ↵Dan Lake2013-07-171-2/+3
| | | | to avoid kicking the wrong user or multiple wrong users.
* change "debug packet" command to "debug lludp packet" to conform with other ↵Justin Clark-Casey (justincc)2013-07-041-51/+0
| | | | | | | "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
* Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)2013-06-171-1/+1
| | | | | | simulator console This means the "show stats" command is now active on the robust console.
* Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2013-03-141-0/+1
| | | | simulator logs, for debug purposes
* Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)2013-02-271-1/+1
|
* Get "show modules" console command to show modules in alphabetical order, ↵Justin Clark-Casey (justincc)2013-02-271-7/+20
| | | | | | and group shared and non-shared modules together This is to make it easier to tell if a region has a certain module active or not
* Move scene debug commands into separate module. Command changes from "debug ↵Justin Clark-Casey (justincc)2013-01-101-37/+0
| | | | scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
* minor: add missing newline to "debug scene" console commandJustin Clark-Casey (justincc)2013-01-101-1/+1
|
* Remove unimplemented "debug teleport" console commandJustin Clark-Casey (justincc)2013-01-101-2/+0
|
* Add "debug scene pbackup true|false" console command. This enables or ↵Justin Clark-Casey (justincc)2013-01-101-4/+6
| | | | | | disable periodic scene backup. For debug purposes. If false, scene is still saved on shutdown.
* Fix problem where restarting the currently selected region would stop ↵Justin Clark-Casey (justincc)2012-11-231-0/+20
| | | | | | various console commands (e.g. "show users") from working. This was because the "currently selected" scene reference was being left as the dead scene instead of the restarted Scene object.
* Factor out command script code.Justin Clark-Casey (justincc)2012-11-221-36/+0
| | | | This also allows comments in command scripts (lines starting with ;, # or //) to be used across all servers
* Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)2012-11-221-128/+6
|
* Make "show info" command available across all serversJustin Clark-Casey (justincc)2012-11-221-16/+1
| | | | This helpfully lists version information, startup location and console log level
* Remove the old style module loader and all references to itMelanie2012-11-121-43/+4
|
* Fix memory leak where removing an NPC did not remove its circuits.Justin Clark-Casey (justincc)2012-10-291-1/+1
| | | | | | This was because we were removing by circuitcode where NPCs have no code. Now removing by agent ID instead. This commit also fixes the "show circuits" console command to work properly where the circuit has no associated IP address.
* Add "active true|false" to "debug scene" console command.Justin Clark-Casey (justincc)2012-10-121-3/+10
| | | | This allows the scene update and maintenance loops to be started and stopped for debug purposes.
* Support multi-region OAR filesOren Hurvitz2012-09-141-1/+2
| | | | Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
* Make "show http-handlers" command available for ROBUST instances as well as ↵Justin Clark-Casey (justincc)2012-09-121-31/+0
| | | | the simulator executable.
* no-op change for cia.vc testJustin Clark-Casey (justincc)2012-08-201-0/+1
|
* Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)2012-08-201-7/+17
| | | | | | | | | race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
* Strip experimental tag from --publish option of "save oar" region console ↵Justin Clark-Casey (justincc)2012-08-031-8/+7
| | | | command
* Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-251-1/+1
| | | | This better reflects the long-term purpose of that project and matches Monitoring modules.
* Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)2012-07-251-36/+36
| | | | | | | | region console "show stats" command This aims to capture the amount of memory that OpenSim turns over whilst operating a region. This memory is not lost - apart from leaks it is reclaimed by the garbage collector. However, the more memory that gets turned over the more work the GC has to do to reclaim it.
* minor: switch around mixed up circuit code and endpoint data in "show ↵Justin Clark-Casey (justincc)2012-07-191-1/+1
| | | | connections" region console command
* Extend "show circuits" to show circuit code, ip and viewer name.Justin Clark-Casey (justincc)2012-07-121-20/+31
| | | | | Also change to use standard table formatting "show circuits" and "show connections" console commands are very similar but access different data structures.
* Add active status to "show connections"Justin Clark-Casey (justincc)2012-07-121-1/+7
|
* Put output for "show connections" command into standard table format.Justin Clark-Casey (justincc)2012-07-121-19/+16
| | | | Also moves into own method.
* Replace "kill uuid" console command with the more consistent "delete object ↵Justin Clark-Casey (justincc)2012-06-261-56/+0
| | | | uuid", which was present in the last opensim release.
* Put all debug console commands into a single Debug section rather than ↵Justin Clark-Casey (justincc)2012-06-151-3/+3
| | | | scattering them over other categories
* Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)2012-06-151-32/+2
| | | | | | This allows one to see incoming requests as they happen. This required making everything use the common MainServer class for registering and retrieving http servers, rather than duplicate structures.
* minor: Tell user the current debug http level if "debug http" console ↵Justin Clark-Casey (justincc)2012-06-151-3/+11
| | | | command is executed without a level parameter
* When setting debug http level, do this for all known http servers, not just ↵Justin Clark-Casey (justincc)2012-06-151-1/+1
| | | | the main instance.
* minor: Extend 'debug http' usage statement to 0..3 from 0..2Justin Clark-Casey (justincc)2012-06-141-1/+1
|
* Shuffle "debug http" levels so that 1 and 2 now cause different levels of ↵Justin Clark-Casey (justincc)2012-06-141-4/+5
| | | | warn to be logged if we receive invalid xml for xmlrpc.
* Add variable timer configureation for the timer_ScriptBlueWall2012-06-121-1/+6
| | | | Added "timer_Interval" to the OpenSimDefaults.ini, leaving the default value set to 1200, as the previous default setting. The value represents seconds. To change the default, copy the entry to OpenSim.ini and multiply the number of minutes for the interval by 60.
* Go back to calling IncomingCloseAgent() in the "kick user" command for ↵Justin Clark-Casey (justincc)2012-06-081-1/+1
| | | | | | consistency instead of IClientAPI.Close() directly. This no longer double counts child agent removals
* Fix bug with "kick user" reducing agent counts by 2 instead of 1.Justin Clark-Casey (justincc)2012-06-081-2/+2
| | | | | This is done by making the kick user command call IClientAPI.Close() rather than routing through Scene.IncomingCloseAgent(), which also called IClientAPI.Close() DisableSimulator for child agents is moved from IncomingCloseAgent() to RemoveClient(), this is not a functional change since IncomingCloseAgent() always ends up calling RemoveClient()
* Allow the thread watchdog to accept an alarm method that is invoked if the ↵Justin Clark-Casey (justincc)2012-06-071-3/+7
| | | | | | | timeout is breached. This alarm can then invoke this to log extra information. This is used in LLUDPServer to show which client was being processed when incoming and outgoing udp watchdog alarms are triggered.
* Add replaceable region modules to the "show modules" commandBlueWall2012-06-041-29/+49
|
* Add an optional mechanism for physics modules to collect and return ↵Justin Clark-Casey (justincc)2012-05-311-1/+2
| | | | | | | | | | | arbitrary stats. If active, the physics module can return arbitrary stat counters that can be seen via the MonitoringModule (http://opensimulator.org/wiki/Monitoring_Module) This is only active in OdeScene if collect_stats = true in [ODEPhysicsSettings]. This patch allows OdeScene to collect elapsed time information for calls to the ODE native collision methods to assess what proportion of time this takes compared to total physics processing. This data is returned as ODENativeCollisionFrameMS in the monitoring module, updated every 3 seconds. The performance effect of collecting stats is probably extremely minor, dwarfed by the rest of the physics code.
* Saving estate state is really slow (relatively) and it getsMic Bowman2012-05-101-2/+3
| | | | | | | | | | completely rewritten every time a region starts up. This makes the data write only when the data was not already read from the database. There is a still a major race condition whenever two regions share the same estate data, but at least it won't be triggered on startup.
* Put scene object related console commands into new "Objects" help category ↵Justin Clark-Casey (justincc)2012-04-281-4/+4
| | | | rather than "Regions"
* Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)2012-03-211-16/+1
| | | | true|false" command