[Opensim-users] Intermittent crashing - System.OutofMemoryException
Justin Clark-Casey
jjustincc at googlemail.com
Fri Feb 17 03:19:59 UTC 2012
I would actually be rather surprised if errors during the OAR import were related to your memory problems. I think that
it's more likely that the content of the OAR in some way pushed you beyond memory boundaries and wiping it has reset things.
Still, if the problem is solved then that's what matters :)
On 16/02/12 22:50, Fleep Tuque wrote:
> Hi all,
>
> After going through the log files and trying to figure out what changed in the time period when the out of memory errors
> began, we traced it back to an OAR file import. (Thanks to whoever suggested that might be an issue earlier in this
> thread!)
>
> I'd ported over a copy of the FleepGrid Plaza region so my students could easily grab some of the freebies I'd created,
> and it looks like something got horked during the import to the UCSIM grid:
>
> 012-02-07 09:12:05,991 ERROR - Flotsam.RegionModules.AssetCache.FlotsamAssetCache [FLOTSAM ASSET CACHE]: Failed to
> update cache for asset 3d0b3a52-40e5-48fe-8595-b72e163917fa. Exception The process cannot access the file
> 'c:\Opensim\bin\assetcache\3d0\3d0b3a52-40e5-48fe-8595-b72e163917fa' because it is being used by another process. at
> System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights,
> FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
> at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
> at System.IO.File.SetLastAccessTimeUtc(String path, DateTime lastAccessTimeUtc)
> at Flotsam.RegionModules.AssetCache.FlotsamAssetCache.UpdateFileCache(String key, AssetBase asset)
>
> Shortly after that, we begin to see the first out of memory errors..
>
> 2012-02-07 09:15:17,453 DEBUG - OpenSim.Region.ScriptEngine.XEngine.XEngine [XEngine] Loaded script LK-Stool-Sit
> #2.poseball-zero-lag, script UUID e73e1114-297a-43a7-b4b8-dd423cd83b95, prim UUID 2ae59628-943d-49ec-9673-ee3465bd0242 @
> <168.1464, 156.7953, 26.90887>.UCSIM Staff 1
> 2012-02-07 09:15:17,984 ERROR - OpenSim.Region.ScriptEngine.XEngine.XEngine [XEngine] Exception creating app domain:
> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
> at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence
> creatorsSecurityInfo, IntPtr parentSecurityDescriptor)
> at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info)
> at OpenSim.Region.ScriptEngine.XEngine.XEngine.DoOnRezScript(Object[] parms)
>
> And we see those out of memory errors stack up until eventually the application crashed..
>
> When we realized it was probably the OAR file that was the source of the issue, I wiped the region by importing a fresh
> "blank" OAR and we haven't had the out of memory exception since.
>
> Looks like the problem is resolved and super thanks again to everyone who helped with pointers and info in this thread -
> much 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
>
>
> On Thu, Feb 16, 2012 at 2:16 PM, R.Gunther <rigun at rigutech.nl <mailto:rigun at rigutech.nl>> wrote:
>
> There's a 3e option. Munin.
> http://munin-monitoring.org/
>
>
> On 2012-02-16 16:49, BlueWall wrote:
>
> The rrdtools is very good for storing and organizing the data for statistics and it will also produce graphs
> from that data. It relies on external scripts to collect the data - that's where Cacti comes in. It has the
> scripts and templates to graph your system (and snmp devices) in the distribution. I have done it on Linux and
> they claim to work on Windows too.
>
> You could also write scripts and templates to graph OpenSim. I haven't tried that, though. There is
> documentation included in the distro, and scattered across the Cacti user forums.
>
> -BlueWall
>
> On 02/16/2012 09:55 AM, Rick Anderson wrote:
>
> One question about Cacti, and RDDTools. The sites describe them as
> general purpose graphing tools. Is there any documentation or tutorial
> for configuring them to monitor system status. Maybe, it's really
> simple, and I'm over complicating it.
>
> -_Rick
>
>
> _________________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
> https://lists.berlios.de/__mailman/listinfo/opensim-users <https://lists.berlios.de/mailman/listinfo/opensim-users>
>
>
>
>
> _______________________________________________
> 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