aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug where "show modules" would accidentally list all the shared modules ↵Justin Clark-Casey (justincc)2013-11-191-1/+1
| | | | | | again as "non-shared" Addresses http://opensimulator.org/mantis/view.php?id=6860
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-1/+1
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Remove legacy sqlite lines added internally by OpenSimulator to the ↵Justin Clark-Casey (justincc)2013-10-281-3/+0
| | | | | | [Startup] section. These are long unused but confusingly will be seen in the [Startup] section on a "config save".
* 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-261-18/+36
|
* Fix configuration/ini expansion issue. Thanks to smxy for testing.BlueWall2013-09-071-2/+2
|
* Initialization: move key expansion out to operate on all sources and not ↵BlueWall2013-08-291-2/+2
| | | | just environment variables
* minor: Consistently log IOCP for IO completion thread startup log ↵Justin Clark-Casey (justincc)2013-08-091-3/+3
| | | | information instead of mixing this with "IO Completion Threads"
* 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-082-0/+9
| | | | | | | | | | 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
* Fixed incomplete commit r/23317 -- see_into_region. Put the guard around ↵Diva Canto2013-08-071-1/+0
| | | | estate bans also, and delete the obsolete config var.
* At OpenSimulator startup, print out default min built-in threadpool threads ↵Justin Clark-Casey (justincc)2013-08-051-14/+27
| | | | | | | as well as max. Make it clear that we only try to adjust max, and log at warn level if this fails. Other minor logging cleanup.
* 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.
* Add "show caps stats by user" and "show caps stats by cap" console commands ↵Justin Clark-Casey (justincc)2013-07-081-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
* refactor: Make stats and sim status simpler by extending BaseStreamHandler ↵Justin Clark-Casey (justincc)2013-07-061-57/+17
| | | | like other handlers instead of implementing the IStreamedRequestHandler interface directly
* 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-173-5/+5
| | | | | | simulator console This means the "show stats" command is now active on the robust console.
* On startup, start scenes after we're set up all local scenes, rather than ↵Justin Clark-Casey (justincc)2013-05-031-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
* refactor: Remove IClientNetworkServer.NetworkStop() in favour of existing ↵Justin Clark-Casey (justincc)2013-04-161-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.
* Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)2013-03-142-4/+1
| | | | simulator logs, for debug purposes
* minor: Log location in which simulator/robust was started.Justin Clark-Casey (justincc)2013-02-281-0/+4
| | | | Useful information for system debugging, especially if logging and ini files locations have been changed from defaults.
* Get "show modules" console command to obey selected command line region/sJustin Clark-Casey (justincc)2013-02-272-2/+2
|
* 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
* Additional ThreadPool worker and IOCP thread startup logicAllen Kerensky2013-02-101-6/+39
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Remove long unused Scene.DumpAssetsToFile boolean.Justin Clark-Casey (justincc)2013-02-061-1/+1
|
* Adds the ability to load more then one IClientNetworkServer thereby allowing ↵teravus2013-02-031-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.
* 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-232-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.
* 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-223-171/+29
|
* 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
* factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)2012-11-221-1/+1
|
* If no ISimulationDataStore or IEstateDataStore implementations could be ↵Justin Clark-Casey (justincc)2012-11-141-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.
* Remove the old style module loader and all references to itMelanie2012-11-122-68/+5
|
* 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.
* minor: Make the error thrown logged when a simulator in grid mode is trying ↵Justin Clark-Casey (justincc)2012-10-261-1/+1
| | | | to set estate owner to a user that doesn't exist a little more obvious.
* 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.
* Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)2012-10-111-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.
* Add using clause I missedMelanie2012-09-301-0/+1
|
* Allow up to 12 simultaneous connections to a given endpoint rather than 2Melanie2012-09-301-0/+1
|
* 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.
* Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-151-2/+7
| | | | This is to avoid false positives when the machine is under heavy load whilst starting up.