aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-25Restore overload mode accidentally disabled in a prior commit. Add a newMelanie1-0/+6
config option, LogOverloads, to log when a thread pool overload occurs. This option defaults to "True" because the logging data is useful for diagnosing threading issues.
2014-03-22Allow the setting from the environment to take effect if no explicit setting ↵Melanie1-5/+19
is given. This is done by calling the constructor only with a directory if one is actually given.
2014-03-22Allow Mono Plugin Registry setting for RegionsDev Random1-1/+4
Signed-off-by: Melanie <melanie@t-data.com>
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-1/+1
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-1/+1
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-11-04varregion: add plumbing to pass region size from Scene down to theRobert Adams1-3/+4
physics engine. Older physics engines will default to the legacy region size. Update BulletSim to use the new region size information.
2013-09-28VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-1/+1
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-09-25VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams1-1/+1
count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
2013-08-08Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams1-0/+2
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.
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-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)1-4/+3
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)1-4/+0
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)1-1/+1
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.
2012-11-23Fix problem where restarting the currently selected region would stop ↵Justin Clark-Casey (justincc)1-5/+6
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-22Make "config show/set/get/save" console commands available on all serversJustin Clark-Casey (justincc)1-42/+23
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 itMelanie1-25/+1
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-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-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-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)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-17/+19
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-06-08Fix regression in 5f4f9f0 (Fri Jun 8 2012) which stopped "show stats" and ↵Justin Clark-Casey (justincc)1-0/+2
json stats from working
2012-06-08Add regression test for client logout due to ack timeout.Justin Clark-Casey (justincc)1-2/+0
2012-05-10Saving estate state is really slow (relatively) and it getsMic Bowman1-5/+7
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-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)1-1/+10
can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
2012-03-24Allow the user to enter help topics in upper or lowercase.Justin Clark-Casey (justincc)1-5/+6
Forcing uppercase (e.g. help Assets) is too annoying. Thanks to WhiteStar for pointing this out.
2012-03-23Rename Scene.StartTimer() to Start() - this method no longer uses a timer. ↵Justin Clark-Casey (justincc)1-1/+1
Comment out more effectively unused old heartbeat code.
2012-03-10Add ability to specify a default estate to be used when creating regions.Justin Clark-Casey (justincc)1-64/+152
This is configured in the new [Estates] section of OpenSim.ini. If a default estate is configured then all new regions are automatically joined to it instead of asking the user. If the default estate does not already exist then it is created. Current default behaviour remains the same - the user is asked for estate details when necessary. Thanks to Frenando Oliveira for the patch which I adapated further.
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)1-4/+6
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-6/+6
<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-31Make parcel sale overlays work. No auction support.Melanie1-3/+3
2012-01-24Make errors reported by OpenSim when it halts because it can't find certain ↵Justin Clark-Casey (justincc)1-3/+3
config sections or files a bit more user friendly.
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake1-1/+1
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake1-1/+1
2011-12-07Trigger a Jenkins buildBlueWall1-0/+1
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-3/+3
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-11-23Shell Environment Variables in configBlueWall1-1/+8
Adding updated Nini and support to use shell environment variables in OpenSimulator configuration. Nini @ https://github.com/BlueWall/Nini-Dev
2011-10-15move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with ↵Justin Clark-Casey (justincc)1-1/+1
the others
2011-10-15fetch physical_prim switch from [Startup] config from inside scene, as is ↵Justin Clark-Casey (justincc)1-1/+1
done for most other scene config params
2011-10-07remove the pointless slashes on the end of the (5!) different server stat ↵Justin Clark-Casey (justincc)1-3/+3
retrieval mechanisms. Original request URLs that end with / will still work, but this will allow one to type /simstatus as well as /simstatus/ Can't do this with webstats yet since it does insane things to the path.