[Opensim-dev] Any Ideas??

Justin Clark-Casey jjustincc at googlemail.com
Tue Nov 25 20:03:24 UTC 2014


I personally would doubt this is connected with physics.  That said, it's difficult to say what the issue would be.

Below, you could try setting ScriptStopStrategy = co-op.  This stops scripts by having them regularly check whether they 
should stop rather than aborting their thread, which has caused Mono crashes and other Mono VM instability in the past 
if there are scripts very actively llDie()ing or being removed.  This setting is now default in development code.

In 0.8 it is not default.  The setting is present and works but there is no mechanism for automatically doing the 
necessary script recompilation.  However, as you're running DeleteScritpsOnStartup = true this won't be an issue. 
Documentation at [1].

If this doesn't help then:

* Does this happen on every region or just some?
* Is this reproducible every time?
* What do you mean that "xengine status" show scripts waiting?  You mean something other than

Work items waiting         : 0

?  Could you paste the "xengine status" output you see when you have these issues?

[1] http://opensimulator.org/wiki/XEngine#ScriptStopStrategy

On 25/11/14 00:41, Butch Arnold wrote:
> Hi Folks,
>
> I've just upgraded 3RD Rock Grid to Hypergrid using .8-Post-Fixes and am having some issues with scripts.
> Scripts will randomly stop working region wide and I cannot pinpoint the reason.
> Only way to fix this is to restart the region.
> (I used to have a full head of hair - now I'm bald!)
>
> Anyone have any ideas on this?
>
> For example, a user:
> rezzed a car that had previously been worn, so it was set as phantom
> then immediately sat on it
> scripts still worked
> unsat
> took it off phantom
> reset script, and still saying running
> then sat on it
> scripts stopped working
>
> Another example:
> A user from another grid is wearing a scripted hud.
> They HG into our grid and scripts stop working.
>
> I've tried several different settings changes with no luck.
> The last change I made was to "Switch" over to the ODE engine instead of Bullet and this held the longest.
>
> Whenever this happens, running "xengine status" from the console shows scripts waiting.
>
>
> We are running on Windows Server 2008 R2 64bit
>
> BULLET:
>   - Unmanaged Bullet
>   - UseSeparatePhysicsThread = true  (this setting held longer than false when using bullet physics)
>
> XENGINE:
> Enabled = true
>
>      MinThreads = 2
>
>      MaxThreads = 100
>
>      IdleTimeout = 60
>
>      Priority = "Normal"
>
>      MaxScriptEventQueue = 300
>
>      ThreadStackSize = 462144
>
>     AppDomainLoading = true
>
>      ScriptStopStrategy = abort
>
>      DeleteScriptsOnStartup = true
>
>      DefaultCompileLanguage = "lsl"
>
>      AllowedCompilers = "lsl"
>
>      CompileWithDebugInformation = true
>
>      AllowMODFunctions = false
>
>      AllowOSFunctions = true
>
>      AllowLightShareFunctions = true
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
> .
>


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc


More information about the Opensim-dev mailing list