[Opensim-users] Intermittent crashing - System.OutofMemoryException
Justin Clark-Casey
jjustincc at googlemail.com
Tue Feb 14 01:49:35 UTC 2012
Any memory exception is almost certainly genuine. The first questions that come to mind are
1) Are you running the memory cache component of the Flotsam cache? The default settings are to use a disk-cache only -
this appears fast enough for OpenSim and the memory cache has caused problems in the past.
If you're using fairly clean OpenSim configs this should already be happening. However, if you've carried through older
config files these may still use in-memory settings.
2) Another possibility is scripts and whether these are created/removed extensively on your system and how many there
are. I just added some more info to the performance page at [1] about the effects of various settings.
Failing this, I recommend either restarting your OpenSimulator instance once per day (quite frankly this is sometimes
the easiest way to deal with memory leaks) or put in some infrastructure to do monitoring of opensim and the wider
system to find out when this is happening and what it correlates with it.
On 13/02/12 18:06, Fleep Tuque wrote:
> Hi all,
>
> Our campus opensim system (running version 0.7.2 Release in grid mode) seems to intermittently be crashing the last week
> or so and I can't figure out why or how to reproduce it. An out of memory exception doesn't make sense to me, the
> server has 24GB RAM and has very light load since we're still in pilot/testing phase. No more than 5 or 6 users
> concurrent, only a few sims with much content..
>
> Does this error mean anything to anyone?
>
> 012-02-11 18:18:33,738 ERROR - OpenSim.Application [APPLICATION]:
> APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
>
> Exception: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
> at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
> at System.Threading.Thread.Start()
> at Amib.Threading.SmartThreadPool.StartThreads(Int32 threadsCount)
> at Amib.Threading.SmartThreadPool.Enqueue(WorkItem workItem, Boolean incrementWorkItems)
> at Amib.Threading.SmartThreadPool.QueueWorkItem(WorkItemCallback callback, Object state)
> at OpenSim.Framework.Util.FireAndForget(WaitCallback callback, Object obj)
> at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.PacketReceived(UDPPacketBuffer buffer)
> at OpenMetaverse.OpenSimUDPBase.AsyncEndReceive(IAsyncResult iar)
> at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
> at System.Net.ContextAwareResult.CompleteCallback(Object state)
> at System.Threading.ExecutionContext.runTryCode(Object userData)
> at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode
> backoutCode, Object userData)
> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object
> state)
> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
> at System.Net.ContextAwareResult.Complete(IntPtr userToken)
> at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
> at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes,
> NativeOverlapped* nativeOverlapped)
> at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes,
> NativeOverlapped* pOVERLAP)
>
> Application is terminating: True
>
> Any pointers or advice appreciated!
>
> - Chris/Fleep
>
> Chris M. Collins (SL/OS: Fleep Tuque)
> Center for Simulations & Virtual Environments Research (UCSIM)
> UCIT Instructional & Research Computing
> University of Cincinnati
> 406A Zimmer Hall
> 315 College Drive
> PO BOX 210088
> Cincinnati, OH 45221-0088
> chris.collins at uc.edu <mailto:chris.collins at uc.edu>
> (513) 556-3018
>
> http://ucsim.uc.edu
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-users
mailing list