aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-03Strip experimental tag from --publish option of "save oar" region console ↵Justin Clark-Casey (justincc)1-8/+7
command
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)1-1/+1
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)1-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.
2012-07-19minor: switch around mixed up circuit code and endpoint data in "show ↵Justin Clark-Casey (justincc)1-1/+1
connections" region console command
2012-07-12Extend "show circuits" to show circuit code, ip and viewer name.Justin Clark-Casey (justincc)1-20/+31
Also change to use standard table formatting "show circuits" and "show connections" console commands are very similar but access different data structures.
2012-07-12Add active status to "show connections"Justin Clark-Casey (justincc)1-1/+7
2012-07-12Put output for "show connections" command into standard table format.Justin Clark-Casey (justincc)1-19/+16
Also moves into own method.
2012-06-26Replace "kill uuid" console command with the more consistent "delete object ↵Justin Clark-Casey (justincc)1-56/+0
uuid", which was present in the last opensim release.
2012-06-15Put all debug console commands into a single Debug section rather than ↵Justin Clark-Casey (justincc)1-3/+3
scattering them over other categories
2012-06-15Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)1-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.
2012-06-15minor: Tell user the current debug http level if "debug http" console ↵Justin Clark-Casey (justincc)1-3/+11
command is executed without a level parameter
2012-06-15When setting debug http level, do this for all known http servers, not just ↵Justin Clark-Casey (justincc)1-1/+1
the main instance.
2012-06-14minor: Extend 'debug http' usage statement to 0..3 from 0..2Justin Clark-Casey (justincc)1-1/+1
2012-06-14Shuffle "debug http" levels so that 1 and 2 now cause different levels of ↵Justin Clark-Casey (justincc)1-4/+5
warn to be logged if we receive invalid xml for xmlrpc.
2012-06-12Add variable timer configureation for the timer_ScriptBlueWall1-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.
2012-06-08Go back to calling IncomingCloseAgent() in the "kick user" command for ↵Justin Clark-Casey (justincc)1-1/+1
consistency instead of IClientAPI.Close() directly. This no longer double counts child agent removals
2012-06-08Fix bug with "kick user" reducing agent counts by 2 instead of 1.Justin Clark-Casey (justincc)1-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()
2012-06-07Allow the thread watchdog to accept an alarm method that is invoked if the ↵Justin Clark-Casey (justincc)1-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.
2012-06-04Add replaceable region modules to the "show modules" commandBlueWall1-29/+49
2012-05-31Add an optional mechanism for physics modules to collect and return ↵Justin Clark-Casey (justincc)1-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.
2012-05-10Saving estate state is really slow (relatively) and it getsMic Bowman1-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.
2012-04-28Put scene object related console commands into new "Objects" help category ↵Justin Clark-Casey (justincc)1-4/+4
rather than "Regions"
2012-03-21Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)1-16/+1
true|false" command
2012-03-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)1-11/+8
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-16Allow comments to appear in command scripts (e.g. shutdown_commands.txt).Justin Clark-Casey (justincc)1-1/+5
These can start with ; # or //
2012-03-08Move "change region" command into general categoryJustin Clark-Casey (justincc)1-1/+1
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-50/+37
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-01-28Add experimental --publish option to "save oar" so that OARs reloaded to the ↵Justin Clark-Casey (justincc)1-2/+6
same grid don't have the publisher as owner.
2012-01-25Update save oar and save iar help responses to reflect new -h|--homenebadon1-2/+2
switches which replace -p|--profile ie: "save oar --home=http://hg.osgrid.org:80 region.oar"
2012-01-10correct very minor typo in "debug scene" helpJustin Clark-Casey (justincc)1-1/+1
2012-01-10Teleport DebuggingBlueWall1-0/+17
Move setting from ini to existing facitilies - thanks justincc toggle with console command: debug teleport
2011-12-17Provide user feedback on execution of "backup" region console commandJustin Clark-Casey (justincc)1-1/+2
2011-12-17If a startup simulator script is present, run it after the normal region ↵Justin Clark-Casey (justincc)1-12/+12
selection code rather than before. This allows the script to change the selected region without having it immediately undone. Thanks to Garmin Kawaguichi for this patch.
2011-12-03Use GetAgentCircuits() to receive a copy of the AgentCircuitsByUUID ↵Justin Clark-Casey (justincc)1-1/+1
dictionary rather than AgentCircuitManager.AgentCircuits directly in "show circuits" to avoid enumeration exceptions
2011-11-29Provide more user feedback when "debug http" is setJustin Clark-Casey (justincc)1-1/+4
2011-11-29Improve some of the debug help messagesJustin Clark-Casey (justincc)1-3/+3
2011-11-29Add "debug http" command for currently simple extra debug logging of ↵Justin Clark-Casey (justincc)1-2/+24
non-event queue inbound http requests to a simulator
2011-11-11Remove SceneViewer from ScenePresence to reduce quadruple queueing ofDan Lake1-18/+0
prim update to only triple queuing. Existing method was: 1. Schedule prim for update, adding to scene update list 2. Update on SOGs during heartbeat queues update onto each SceneViewer 3. Update on SPs during heartbeat queues update onto each IClientAPI 4. ProcessEntityUpdates queues updates into UDP send stack Now the SceneViewer has been eliminated so updates are scheduled at any time and then put onto the IClientAPI priority queues immediately during SceneGraph.UpdateObjectGroups.
2011-11-11Pick up the intended ConsolePrompt from [Startup] instead of console_prompt.Justin Clark-Casey (justincc)1-1/+1
Addresses http://opensimulator.org/mantis/view.php?id=5786
2011-11-10Alter commit 3758306 to allow region name to be substituted within a region ↵Justin Clark-Casey (justincc)1-3/+28
console prompt This is to allow broader subsitution in the future. Currently, the only substitions are \R (for region name) and \\ (for a single backslash) e.g. "Region (\R) " is the current and continuing default prompt This renames custom_prompt in [Startup] to ConsolePrompt
2011-11-10convert tabs from commit 3758306 to spacesJustin Clark-Casey (justincc)1-3/+6
2011-11-10Allow custom setting for the console promptGuduleLapointe1-2/+3
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2011-10-31Removed unused show commands from Scene.cs and SceneBase.cs. The show ↵Dan Lake1-0/+13
modules command in OpenSim.cs now shows both shared modules and region modules.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-17Allow an avatar to be explicitly named to the "debug packet" commandJustin Clark-Casey (justincc)1-4/+8
2011-09-24Remove the unimplented "clear assets" command.Justin Clark-Casey (justincc)1-9/+0
This was a bizarre relic of a bygone age that had no implementations. If you're using and want to clear the flotsam asset cache then please use the existing "fcache clear" command
2011-09-12When creating an OAR, optionally exclude objects according to their permissionsOren Hurvitz1-4/+6
2011-08-06prevent "create region" console command from being able to create a region ↵Justin Clark-Casey (justincc)1-1/+15
with the same id as one that already exists. Addresses http://opensimulator.org/mantis/view.php?id=5617
2011-07-29Temporarily put in a log line which shows which locale the user is running in.Justin Clark-Casey (justincc)1-0/+2
2011-05-26Add a --noassets option to "save oar".Justin Clark-Casey (justincc)1-4/+5
This switch stops any assets being saved in the oar. This can be useful if you're using OAR to backup regions and you know you'll always have the original asset database available.