Tuning of OpenSim.ini

Here are some settings as they can be set in addition to the necessary region settings. This whole page contains optional settings only.

Allow the simulator to start up even if in Regions.ini is no region configuration or the file is missing. If set to “false” (default) the OpenSim console on startup asks questions to create a Regions.ini with configuration for one first region. Setting it to “true” may help debugging serious startup problems.

; allow_regionless = false

If a telehub is defined in Region Details, avatars will always be teleported there, no matter which coordinates they use in the map. The following parameter allows avatars to alternatively teleport to landmarks from their inventory, thus avoiding the telehub. Default is “false”.

TelehubAllowLandmark = true

When a region crashed, it is recommended to not only restart that region, but the whole OpenSim application. This increases reliability, because sometimes the other regions of the same instance of OpenSim are affected by the crash. Default is “false”.

  InworldRestartShutsDown = true

If GenerateMaptiles is “true”, then maptiles are generated using the MapImageModule selected below. If “false”, then the texture referenced by MaptileStaticUUID is used instead. Details follow below, default is “true”.

; GenerateMaptiles = true

The module to use in order to generate map images, “MapImageModule” is the default. “Warp3DImageModule” is an alternative experimental module that actually generates the best images, but has a memory leak. Therefore do not use Warp3DImageModule together with MaptileRefresh!

; MapImageModule = "MapImageModule"

If desired, a running region can update the map tiles periodically to reflect building activity. This makes sense only if you have prims or other mesh on maptiles. Value is in seconds, default is zero meaning never.

  ; MaptileRefresh = 0

Draw objects on maptile. This step might take a long time if you’ve got a large number of objects, so you can turn it off here if you’d like. Default is “true”.

; DrawPrimOnMapTile = true

Texture the faces of the prims that are rendered on the map tiles. Default is “true”, this is only relevant if DrawPrimOnMapTile is true.

; TexturePrims = true

Only texture prims that have a diagonal size greater than this number, default is 48 meter or pixel. Prims under this limit are shown in the median surface colour. This is only relevant if DrawPrimOnMapTile and TexturePrims are true.

; TexturePrimSize = 48

Relevant for Warp3DImageModule only: Experimental attempt to render meshes and sculpties on the map which makes the image even more beautiful. Default is “false”.

  ; RenderMeshes = false

Instead of generating images from the region data, there are two alternatives. First you can use static maptiles uploaded as texture images to the grid. The edge length in pixel must correspond to the region size in meter. This may be overridden on a per region basis in Regions.ini, which would be the better method in case of more than one region on the server. If you choose this first alternative, green dots for avatars and other runtime map symbols are added to the map image. The second alternative would be to load an image directly from a directory on the region server (not uploaded to the grid). That method is not decribed here because would lack the generation of runtime map symbols.

  ; MapImageModule = "MapImageModule"
  ; MaptileRefresh = 0
  GenerateMaptiles = false
  ; MaptileStaticUUID = "00000000-0000-0000-0000-000000000000"

This allows grid users with a UserLevel of 200 or more (“grid admins”) to assume god powers in the regions in this simulator. Default is “false”.

  allow_grid_gods = true

Set region_manager_is_god to “true” if region managers shall assume god powers in regions they manage. Default is “false”.

  region_manager_is_god = true

Set parcel_owner_is_god to “false” if the rights should be managed inworld via the viewer. The default is true, which is most convenient with only one owner per region.

  ; parcel_owner_is_god = true

The time to wait before disconnecting an unresponsive client. The time is in seconds, default is 60 (one minute).

AckTimeout = 600

Quash and remove any light properties from attachments not on the hands. This allows flashlights and lanterns to function, but kills silly vanity “Facelights” dead. Sorry, head mounted miner’s lamps will also be affected. This is especially important in artistic builds that depend on lights on the build for their appearance, since facelights will cause the building’s lights to possibly not be rendered. Default is “false”.

  ; DisableFacelights = false

Distance in meters that whisper, say and shout should travel. Defaults are 10 meters (whisper), 20 meters (say) and 100 meters (shout). On theater regions for example enlarging these values could be useful.

; whisper_distance = 10
; say_distance = 20
; shout_distance = 100

Control whether group messages are forwarded to offline users, default is “true”. On high traffic regions one may set this to “false” to reduce data load.

  ; ForwardOfflineGroupMessages = true

Enables the wind module, default is “true”.

  ; enabled = true

There are two wind plugins to choose between, “SimpleRandomWind” (default) and “ConfigurableWind”.

  ; wind_plugin = "SimpleRandomWind"

If you have chosen “SimpleRandomWind” above, you can set the strength only. Default is 1.0 and 0.0 would be no wind. (For ConfigurableWind see avg_strength instead.)

; strength = 1.0

The following settings are specific only to the “ConfigurableWind” plugin. Defaults: avg_strength = 5.0, avg_direction = 0.0, var_strength = 5.0, var_direction = 30.0, rate_change = 1.0. You can play around with the values which is fun with scripted sailing boats for example.

  ; avg_strength = 5.0
  ; avg_direction = 0.0
  ; var_strength = 5.0
  ; var_direction = 30.0
  ; rate_change = 1.0

If a region has severe problems with running scripts, disable the whole physics engine by setting “false” may be an emergency exit. Default is “true” of course.

  ; Enabled = true

How many threads to start at maximum load. Default is 100.

  MaxThreads = 150

Time a thread must be idle (in seconds) before it dies. Default is 60. Scaling up may be useful if scripts are intentionally sleeping for long time.

  ; IdleTimeout = 60

Thread priority (“Lowest”, “BelowNormal”, “Normal”, “AboveNormal”, “Highest”). Default is “BelowNormal”.

  Priority = "Lowest"

Maximum number of events to queue for a script (excluding timers). Default is 300.

MaxScriptEventQueue = 100

Stack size per script engine thread in bytes. If you are experiencing StackOverflowExceptions you may want to increase this (e.g. double it). The trade-off may be increased memory usage by the script engine. Default is 262144.

; ThreadStackSize = 262144

Set AppDomainLoading to “true” to load each script into a separate AppDomain. At this time some mono versions seem to have problems with the “true” option, so default is now “false” until a fix is found. Setting this to “false” will load all script assemblies into the current AppDomain, which will significantly improve script loading times and reduce initial per-script memory overhead. However, setting this to false will also prevent script DLLs from being unloaded from memory if the script is deleted. This may cause an out of memory problem over time when avatars with scripted attachments move in and out of the region but should only be a issue if regions stay alive for a long time with lots of scripts added or edited.

; AppDomainLoading = false

Controls whether previously compiled script DLLs are deleted on sim restart. If you set this to “false”, then startup will be considerably faster since scripts won’t need to be recompiled. However, then it becomes your responsibility to delete the compiled scripts if you don’t replace the whole ../bin directory structure with each OpenSim update. Default is “true”.

DeleteScriptsOnStartup = false

Time a script can spend in an event handler before it is interrupted. Default is 30 seconds.

EventLimit = 90

If a script overruns it’s event limit, kill the script? Default is “false” but this will block memory with eventually many useless script instances.

KillTimedOutScripts = true

The factor the normally 10 meter distance limit is multiplied by for scripts communicating between different prims, factor 1.0 is the default. Increasing this may be useful to send messages within larger link sets.

; ScriptDistanceLimitFactor = 1.0

Maximal distance at which a VivoxVoice channel is silent. Values between 0 and 160 are allowed, default is 80.

; vivox_channel_max_range = 80

Distance before attenuation of a VivoxVoice channel applies. Values between 0 and 160 are allowed, default is 10.

; vivox_channel_clamping_distance = 10

Only message cached online users rather than all users, should make large groups with few online members messaging faster. Default is “false”, but OSGrid has set it to “true” in their example configuration.

  MessageOnlineUsersOnly = true

With the default setting “pinhead-island” a new created region pops up with that silly circle island and many spikes in the water. Setting it to “flat” to get flat land on new regions.

  InitialTerrain = "flat"

Continued: Configure OSSL function access

Scroll to Top