aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-08Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)1-4/+4
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-06refactor: Make stats and sim status simpler by extending BaseStreamHandler ↵Justin Clark-Casey (justincc)1-57/+17
like other handlers instead of implementing the IStreamedRequestHandler interface directly
2013-07-04change "debug packet" command to "debug lludp packet" to conform with other ↵Justin Clark-Casey (justincc)1-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
2013-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)3-5/+5
simulator console This means the "show stats" command is now active on the robust console.
2013-05-03On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)1-3/+1
starting scenes before others have been created. This aims to avoid a race condition where scenes could look to inform neighbours that they were up before those neighbours had been created. http://opensimulator.org/mantis/view.php?id=6618
2013-04-16refactor: Remove IClientNetworkServer.NetworkStop() in favour of existing ↵Justin Clark-Casey (justincc)1-1/+1
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-14Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2-4/+1
simulator logs, for debug purposes
2013-02-28minor: Log location in which simulator/robust was started.Justin Clark-Casey (justincc)1-0/+4
Useful information for system debugging, especially if logging and ini files locations have been changed from defaults.
2013-02-27Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)2-2/+2
2013-02-27Get "show modules" console command to show modules in alphabetical order, ↵Justin Clark-Casey (justincc)1-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
2013-02-10Additional ThreadPool worker and IOCP thread startup logicAllen Kerensky1-6/+39
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2013-02-06Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)1-1/+1
2013-02-03Adds the ability to load more then one IClientNetworkServer thereby allowing ↵teravus1-15/+22
additional client network servers at the same time. Use comma separated values in clientstack_plugin in your config. Additional plugins lying around shouldn't be picked up because the loader only loads configured dll assemblies and breaks at the first IClientNetworkServer found in the assembly. (the only new functionality is the ability to specify more in config). Note: The existing functionality also passes in a nini config.. and has a boolean to determine if the client network server should be initialized for a specific scene.
2013-02-03Adds the ability to load more then one IClientNetworkServer thereby allowing ↵teravus1-15/+22
additional client stacks. Use comma separated values in clientstack_plugin in your config.
2013-01-10Move scene debug commands into separate module. Command changes from "debug ↵Justin Clark-Casey (justincc)1-37/+0
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
2013-01-10minor: add missing newline to "debug scene" console commandJustin Clark-Casey (justincc)1-1/+1
2013-01-10Remove unimplemented "debug teleport" console commandJustin Clark-Casey (justincc)1-2/+0
2013-01-10Add "debug scene pbackup true|false" console command. This enables or ↵Justin Clark-Casey (justincc)1-4/+6
disable periodic scene backup. For debug purposes. If false, scene is still saved on shutdown.
2012-11-23Fix problem where restarting the currently selected region would stop ↵Justin Clark-Casey (justincc)2-5/+26
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.
2012-11-22Factor out command script code.Justin Clark-Casey (justincc)1-36/+0
This also allows comments in command scripts (lines starting with ;, # or //) to be used across all servers
2012-11-22Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)3-171/+29
2012-11-22Make "show info" command available across all serversJustin Clark-Casey (justincc)1-16/+1
This helpfully lists version information, startup location and console log level
2012-11-22factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)1-1/+1
2012-11-14If no ISimulationDataStore or IEstateDataStore implementations could be ↵Justin Clark-Casey (justincc)1-0/+14
loaded then halt with informative message rather than a later NRE. Halt already occurs if the relevant config sections are not present. So it also makes sense to halt if the implementations themselves cannot be loaded.
2012-11-12Remove the old style module loader and all references to itMelanie2-68/+5
2012-10-29Fix memory leak where removing an NPC did not remove its circuits.Justin Clark-Casey (justincc)1-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.
2012-10-26minor: Make the error thrown logged when a simulator in grid mode is trying ↵Justin Clark-Casey (justincc)1-1/+1
to set estate owner to a user that doesn't exist a little more obvious.
2012-10-12Add "active true|false" to "debug scene" console command.Justin Clark-Casey (justincc)1-3/+10
This allows the scene update and maintenance loops to be started and stopped for debug purposes.
2012-10-11Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)1-37/+35
This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
2012-09-30Add using clause I missedMelanie1-0/+1
2012-09-30Allow up to 12 simultaneous connections to a given endpoint rather than 2Melanie1-0/+1
2012-09-14Support multi-region OAR filesOren Hurvitz1-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.
2012-09-12Make "show http-handlers" command available for ROBUST instances as well as ↵Justin Clark-Casey (justincc)1-31/+0
the simulator executable.
2012-08-20no-op change for cia.vc testJustin Clark-Casey (justincc)1-0/+1
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-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.
2012-08-15Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)1-2/+7
This is to avoid false positives when the machine is under heavy load whilst starting up.
2012-08-03Strip experimental tag from --publish option of "save oar" region console ↵Justin Clark-Casey (justincc)1-8/+7
command
2012-08-01Create the ability for physics modules to request assets on demand byMelanie1-0/+1
themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2-2/+2
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)2-53/+55
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-07-06Log MONO_THREADS_PER_CPU value on simulator startup, or "unset" if it is not setJustin Clark-Casey (justincc)1-2/+6
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.