From 0c0286911d7e7be0f0f0e0923a2776792f23d133 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Fri, 1 Feb 2008 20:52:00 +0000 Subject: Config option to set number of scripts per AppDomain --- bin/OpenSim.ini.example | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin/OpenSim.ini.example') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 3169cd0..0e3349e 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -155,3 +155,11 @@ DeactivateScriptOnTimeout=false ; Too low and you will waste lots of CPU ; Too high and people touching object or similar will have to wait up to this amount of time before script responding SleepTimeIfNoScriptExecutionMs=50 + +; AppDomains are used for two things: +; * Security: Scripts inside AppDomains are limited in permissions. +; * Script unloading: When a script is deactivated it can not be unloaded. Only whole AppDomains can be unloaded. +; AppDomains are therefore only unloaded once ALL active scripts inside it has been deactivated (removed from prims). +; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead. +ScriptsPerAppDomain=1 + -- cgit v1.1