aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/config.preview.donotuseyet/region/scripting/engines
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-13 17:34:11 +0000
committerJustin Clarke Casey2009-03-13 17:34:11 +0000
commitd17314f331a40f58bae6ae891bc87f018c430450 (patch)
treee69cdb5557a9afe9411b1b0fa439967478cce2e6 /bin/config.preview.donotuseyet/region/scripting/engines
parentMark AssetBase.Metadata with [XmlIgnore] (diff)
downloadopensim-SC-d17314f331a40f58bae6ae891bc87f018c430450.zip
opensim-SC-d17314f331a40f58bae6ae891bc87f018c430450.tar.gz
opensim-SC-d17314f331a40f58bae6ae891bc87f018c430450.tar.bz2
opensim-SC-d17314f331a40f58bae6ae891bc87f018c430450.tar.xz
* Config preview round 2
Diffstat (limited to 'bin/config.preview.donotuseyet/region/scripting/engines')
-rw-r--r--bin/config.preview.donotuseyet/region/scripting/engines/dotnetengine.ini.example128
-rw-r--r--bin/config.preview.donotuseyet/region/scripting/engines/mrm.ini.example12
-rw-r--r--bin/config.preview.donotuseyet/region/scripting/engines/xengine.ini.example88
3 files changed, 0 insertions, 228 deletions
diff --git a/bin/config.preview.donotuseyet/region/scripting/engines/dotnetengine.ini.example b/bin/config.preview.donotuseyet/region/scripting/engines/dotnetengine.ini.example
deleted file mode 100644
index ee624de..0000000
--- a/bin/config.preview.donotuseyet/region/scripting/engines/dotnetengine.ini.example
+++ /dev/null
@@ -1,128 +0,0 @@
1; This file shows initialization defaults for OpenSimulator. If you want to override these
2; please copy/rename this file from .ini.example file to .ini. For example
3;
4; chat.ini.example => chat.ini
5;
6; or you can copy and paste the settings from this file directly to bin/OpenSim.ini
7;
8
9[ScriptEngine.DotNetEngine]
10 Enabled = true
11
12 ScriptDelayFactor = 1.0
13 ScriptDistanceLimitFactor = 1.0
14
15 ;
16 ; These settings are specific to DotNetEngine script engine
17 ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file.
18 ;
19
20 ; When a script receives an event the event is queued.
21 ; Any free thread will start executing this event. One script can only have one event executed simultaneously.
22 ; If you have only one thread, and one script has a loop or does a lot of work, then no other scripts can run at the same time.
23 ; Same if you have 10 threads, then only 10 scripts can be run simultaneously.
24 ; But because most scripts exit after their task, the threads are free to go on to the next script.
25
26 ; Refresh ScriptEngine config options (these settings) every xx seconds
27 ; 0 = Do not refresh
28 ; Set it to number of seconds between refresh, for example 30.
29 ; Will allow you to change ScriptEngine settings while server is running just by using "CONFIG SET" on console
30 ; For example to increase or decrease number of threads: CONFIG SET NumberOfScriptThreads 10
31 ; NOTE! Disabled for now. Feature does not work.
32 RefreshConfig=0
33
34 ; Number of threads to use for script event execution
35 ; Threads are shared across all regions
36 NumberOfScriptThreads=2
37
38 ; Script event execution thread priority inside application.
39 ; Valid values: Lowest, BelowNormal, Normal, AboveNormal, Highest
40 ScriptThreadPriority=BelowNormal
41
42 ; How long MAX should a script event be allowed to run (per event execution)?
43 ; Do not set this too low (like 50ms) as there are some time wasted in simply executing a function
44 ; There is also a small speed penalty for every kill that is made
45 MaxEventExecutionTimeMs=5000
46
47 ; Should we enable the max script event execution thread to look for scripts that exceed their timeslice?
48 EnforceMaxEventExecutionTime=true
49
50 ; Should we stop the script completely when time exceeds?
51 ; This is useful if you have a high <MaxEventExecutionTimeMs> and want to deactivate scripts that go wrong
52 ; Note that for example physics engine can slow down the system and make scripts spend more time
53 DeactivateScriptOnTimeout=false
54
55 ; If no scripts have executed in this pass how long should we sleep before checking again
56 ; Impact:
57 ; Too low and you will waste lots of CPU
58 ; Too high and people touching object or similar will have to wait up to this amount of time before script responding
59 SleepTimeIfNoScriptExecutionMs=50
60
61 ; AppDomains are used for two things:
62 ; * Security: Scripts inside AppDomains are limited in permissions.
63 ; * Script unloading: When a script is deactivated it can not be unloaded. Only whole AppDomains can be unloaded.
64 ; AppDomains are therefore only unloaded once ALL active scripts inside it has been deactivated (removed from prims).
65 ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead.
66 ScriptsPerAppDomain=1
67
68 ; MaintenanceLoop
69 ; How often to run maintenance loop
70 ; Maintenance loop is doing: script compile/load, script unload, reload config, adjust running config and enforce max execution time
71 MaintenanceLoopms=50
72
73 ; How many maintenanceloops between each of these.
74 ; (if 2 then function will be executed every MaintenanceLoopms*2 ms)
75 ; Script loading/unloading
76
77 ; How long load/unload thread should sleep if there is nothing to do
78 ; Higher value makes it respond slower when scripts are added/removed from prims
79 ; But once active it will process all in queue before sleeping again
80 MaintenanceLoopTicks_ScriptLoadUnload=1
81
82 ; Other tasks
83 ; check if we need to reload config, adjust running config and enforce max execution time
84 MaintenanceLoopTicks_Other=10
85
86 ; Allow the use of os* functions (some are dangerous)
87 ; Default is false
88 AllowOSFunctions = false
89
90 ; Threat level to allow if os functions are enabled
91 ; One of None, VeryLow, Low, Moderate, High, VeryHigh, Severe
92 ; Default is VeryLow
93 OSFunctionThreatLevel = VeryLow
94
95 ; Maximum number of items in load/unload queue before we start rejecting loads
96 ; Note that we will only be rejecting load. Unloads will still be able to queue.
97 LoadUnloadMaxQueueSize=100
98
99 ; Maximum number of (LSL) events that can be queued before new events are ignored.
100 EventExecutionMaxQueueSize=300
101
102 ; Async LL command sleep
103 ; If no async LL commands are waiting, how long should thread sleep before checking again
104 ; Async LL commands are LSL-commands that causes an event to be fired back with result
105 ; currently unused
106 ; AsyncLLCommandLoopms=50
107
108 ; When script is converted from LSL to C#, or just plain compiled, a copy of the script source will be put in the ScriptEngine folder
109 WriteScriptSourceToDebugFile=false
110
111 ; Specify default script compiler
112 ; If you do not specify //cs, //vb, //js or //lsl tag as the first characters of your script then the default compiler will be chosen
113 ; Valid languages are: lsl, cs, js and vb
114 DefaultCompileLanguage=lsl
115
116 ; Specify what compilers are allowed to be used
117 ; Note vb only works on Windows for now (Mono lacks VB compile support)
118 ; Valid languages are: lsl, cs, js and vb
119 ; AllowedCompilers=lsl,cs,js,vb. *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk.
120 AllowedCompilers=lsl
121
122 ; Compile scripts with debugging
123 ; Probably a thousand times slower, but gives you a line number when something goes wrong.
124 CompileWithDebugInformation=true
125
126 ; Remove old scripts on next startup
127 ; currently unused
128 ;CleanUpOldScriptsOnStartup=true
diff --git a/bin/config.preview.donotuseyet/region/scripting/engines/mrm.ini.example b/bin/config.preview.donotuseyet/region/scripting/engines/mrm.ini.example
deleted file mode 100644
index 0c194ae..0000000
--- a/bin/config.preview.donotuseyet/region/scripting/engines/mrm.ini.example
+++ /dev/null
@@ -1,12 +0,0 @@
1; This file shows initialization defaults for OpenSimulator. If you want to override these
2; please copy/rename this file from .ini.example file to .ini. For example
3;
4; chat.ini.example => chat.ini
5;
6; or you can copy and paste the settings from this file directly to bin/OpenSim.ini
7;
8
9[MRM]
10 ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK.
11 ; default is false
12 Enabled = false
diff --git a/bin/config.preview.donotuseyet/region/scripting/engines/xengine.ini.example b/bin/config.preview.donotuseyet/region/scripting/engines/xengine.ini.example
deleted file mode 100644
index b65e422..0000000
--- a/bin/config.preview.donotuseyet/region/scripting/engines/xengine.ini.example
+++ /dev/null
@@ -1,88 +0,0 @@
1; This file shows initialization defaults for OpenSimulator. If you want to override these
2; please copy/rename this file from .ini.example file to .ini. For example
3;
4; chat.ini.example => chat.ini
5;
6; or you can copy and paste the settings from this file directly to bin/OpenSim.ini
7;
8
9[XEngine]
10 ; Enable this engine in this OpenSim instance
11 Enabled = true
12
13 ; How many threads to keep alive even if nothing is happening
14 MinThreads = 2
15
16 ; How many threads to start at maximum load
17 MaxThreads = 100
18
19 ; Time a thread must be idle (in seconds) before it dies
20 IdleTimeout = 60
21
22 ; Thread priority ("Lowest", "BelowNormal", "Normal", "AboveNormal", "Highest")
23 Priority = "BelowNormal"
24
25 ; Maximum number of events to queue for a script (excluding timers)
26 MaxScriptEventQueue = 300
27
28 ; Stack size per thread created
29 ThreadStackSize = 262144
30
31 ; Rate to poll for asynchronous command replies (ms)
32 ; currently unused
33 ;AsyncLLCommandLoopms = 50
34
35 ; Save the source of all compiled scripts
36 WriteScriptSourceToDebugFile = false
37
38 ; Default language for scripts
39 DefaultCompileLanguage = lsl
40
41 ; List of allowed languages (lsl,vb,js,cs)
42 ; AllowedCompilers=lsl,cs,js,vb.
43 ; *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk.
44 AllowedCompilers=lsl
45
46 ; Compile debug info (line numbers) into the script assemblies
47 CompileWithDebugInformation = true
48
49 ; Allow the use of os* functions (some are dangerous)
50 AllowOSFunctions = false
51
52 ; Threat level to allow, one of None, VeryLow, Low, Moderate, High, VeryHigh, Severe
53 OSFunctionThreatLevel = VeryLow
54
55 ; Interval (s) between background save of script states
56 SaveInterval = 120
57
58 ; Interval (s) between maintenance runs (0 = disable)
59 MaintenanceInterval = 10
60
61 ; Time a script can spend in an event handler before it is interrupted
62 EventLimit = 30
63
64 ; If a script overruns it's event limit, kill the script?
65 KillTimedOutScripts = false
66
67 ; Sets the multiplier for the scripting delays
68 ScriptDelayFactor = 1.0
69
70 ; The factor the 10 m distances llimits are multiplied by
71 ScriptDistanceLimitFactor = 1.0
72
73 ; OS Functions enable/disable
74 ; For each function, you can add one line, as shown
75 ; The default for all functions allows them if below threat level
76
77 ; true allows the use of the function unconditionally
78 ; Allow_osSetRegionWaterHeight = true
79
80 ; false disables the function completely
81 ; Allow_osSetRegionWaterHeight = false
82
83 ; Comma separated list of UUIDS allows the function for that list of UUIDS
84 ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb
85
86 ; Allow for llCreateLink and llBreakLink to work without asking for permission
87 ; only enable this in a trusted environment otherwise you may be subject to hijacking
88 ; AutomaticLinkPermission = false