<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Your more than welcome<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>TC<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Gary<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> opensim-users-bounces@lists.berlios.de [mailto:opensim-users-bounces@lists.berlios.de] <b>On Behalf Of </b>Fleep Tuque<br><b>Sent:</b> Monday, February 20, 2012 5:26 AM<br><b>To:</b> opensim-users@lists.berlios.de<br><b>Subject:</b> Re: [Opensim-users] Intermittent crashing - System.OutofMemoryException<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Wow, it really was that simple.  I successfully split off a few regions into a separate instance on FleepGrid with no trouble at all.  <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The key, as Gary mentioned, was uncommenting the http_listener_port line (267 in my opensim.ini file) and incrementing the TCP port (in my case to 9001) for the new instance.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks Gary!  I'll have to work out how to split the regions up logically for our UCSIM grid but I'm surprised it's that simple!  Yay!  :)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>- Chris/Fleep<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Chris M. Collins (SL/OS: Fleep Tuque)<o:p></o:p></p></div><div><p class=MsoNormal>Center for Simulations & Virtual Environments Research (UCSIM)<o:p></o:p></p></div><div><p class=MsoNormal>UCIT Instructional & Research Computing<o:p></o:p></p></div><div><p class=MsoNormal>University of Cincinnati<o:p></o:p></p></div><div><p class=MsoNormal>406A Zimmer Hall<o:p></o:p></p></div><div><p class=MsoNormal>315 College Drive<o:p></o:p></p></div><div><p class=MsoNormal>PO BOX 210088<o:p></o:p></p></div><div><p class=MsoNormal>Cincinnati, OH 45221-0088<o:p></o:p></p></div><div><p class=MsoNormal><a href="mailto:chris.collins@uc.edu">chris.collins@uc.edu</a><o:p></o:p></p></div><div><p class=MsoNormal>(513) 556-3018<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><a href="http://ucsim.uc.edu">http://ucsim.uc.edu</a><o:p></o:p></p><div><p class=MsoNormal>On Mon, Feb 20, 2012 at 6:48 AM, Gary Banham <<a href="mailto:banham1@telus.net">banham1@telus.net</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>PS</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>just an additional note I think the problem is the single instance of Opensim will only access 2 gigs of memory </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>with a large number of regions and lots of building and scripts the single instance can't count that high it hits a wall</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>by placing regions over a number of instances each can use 2 gigs</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>so yes you use more memory EG 5 instances could potentially use 10 gigs of memory but one instance only address 2 Gigs</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>TC</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Gary</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a name="1359a979bf408a91__MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span></a><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a> [mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a>] <b>On Behalf Of </b>Fleep Tuque</span><o:p></o:p></p><div><p class=MsoNormal><br><b>Sent:</b> Monday, February 20, 2012 4:34 AM<br><b>To:</b> <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a><o:p></o:p></p></div><p class=MsoNormal><b>Subject:</b> Re: [Opensim-users] Intermittent crashing - System.OutofMemoryException<o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I'm worried that you may be right about that and it's just a matter of time before adding more content becomes a problem, in which case it sounds like perhaps instead of running all the regions on a single opensim instance I should split them up across several as Gary mentioned above?<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I'm not sure exactly how that works, I guess, and I'm trying to understand how that would use less memory instead of more..  Would I simply copy the contents of the opensim directory to multiple locations and break the regions up in the regions.ini file or..?  <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I'd like to experiment with it on FleepGrid first before I hose our campus install, but the HGAC group is coming for a visit in a couple days so if anyone has pointers about how to do that splitting up process before I break anything, I'm all ears.  :)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>- Chris/Fleep<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Chris M. Collins (SL/OS: Fleep Tuque)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Center for Simulations & Virtual Environments Research (UCSIM)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>UCIT Instructional & Research Computing<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>University of Cincinnati<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>406A Zimmer Hall<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>315 College Drive<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>PO BOX 210088<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Cincinnati, OH 45221-0088<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="mailto:chris.collins@uc.edu" target="_blank">chris.collins@uc.edu</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="tel:%28513%29%20556-3018" target="_blank">(513) 556-3018</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://ucsim.uc.edu" target="_blank">http://ucsim.uc.edu</a><o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Feb 16, 2012 at 10:19 PM, Justin Clark-Casey <<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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.<br><br>Still, if the problem is solved then that's what matters :)<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br>On 16/02/12 22:50, Fleep Tuque wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi all,<br><br>After going through the log files and trying to figure out what changed in the time period when the out of memory errors<br>began, we traced it back to an OAR file import. (Thanks to whoever suggested that might be an issue earlier in this<br>thread!)<br><br>I'd ported over a copy of the FleepGrid Plaza region so my students could easily grab some of the freebies I'd created,<br>and it looks like something got horked during the import to the UCSIM grid:<br><br>012-02-07 09:12:05,991 ERROR - Flotsam.RegionModules.AssetCache.FlotsamAssetCache [FLOTSAM ASSET CACHE]: Failed to<br>update cache for asset 3d0b3a52-40e5-48fe-8595-b72e163917fa.  Exception The process cannot access the file<br>'c:\Opensim\bin\assetcache\3d0\3d0b3a52-40e5-48fe-8595-b72e163917fa' because it is being used by another process.    at<br>System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br>   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights,<br>FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)<br>   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)<br>   at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)<br>   at System.IO.File.SetLastAccessTimeUtc(String path, DateTime lastAccessTimeUtc)<br>   at Flotsam.RegionModules.AssetCache.FlotsamAssetCache.UpdateFileCache(String key, AssetBase asset)<br><br>Shortly after that, we begin to see the first out of memory errors..<br><br>2012-02-07 09:15:17,453 DEBUG - OpenSim.Region.ScriptEngine.XEngine.XEngine [XEngine] Loaded script LK-Stool-Sit<br>#2.poseball-zero-lag, script UUID e73e1114-297a-43a7-b4b8-dd423cd83b95, prim UUID 2ae59628-943d-49ec-9673-ee3465bd0242 @<br><168.1464, 156.7953, 26.90887>.UCSIM Staff 1<br>2012-02-07 09:15:17,984 ERROR - OpenSim.Region.ScriptEngine.XEngine.XEngine [XEngine] Exception creating app domain:<br> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.<br>   at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence<br>creatorsSecurityInfo, IntPtr parentSecurityDescriptor)<br>   at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info)<br>   at OpenSim.Region.ScriptEngine.XEngine.XEngine.DoOnRezScript(Object[] parms)<br><br>And we see those out of memory errors stack up until eventually the application crashed..<br><br>When we realized it was probably the OAR file that was the source of the issue, I wiped the region by importing a fresh<br>"blank" OAR and we haven't had the out of memory exception since.<br><br>Looks like the problem is resolved and super thanks again to everyone who helped with pointers and info in this thread -<br>much appreciated!<br><br>- Chris/Fleep<br><br><br>Chris M. Collins (SL/OS: Fleep Tuque)<br>Center for Simulations & Virtual Environments Research (UCSIM)<br>UCIT Instructional & Research Computing<br>University of Cincinnati<br>406A Zimmer Hall<br>315 College Drive<br>PO BOX 210088<br>Cincinnati, OH 45221-0088<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="mailto:chris.collins@uc.edu" target="_blank">chris.collins@uc.edu</a> <mailto:<a href="mailto:chris.collins@uc.edu" target="_blank">chris.collins@uc.edu</a>><br><a href="tel:%28513%29%20556-3018" target="_blank">(513) 556-3018</a><br><br><a href="http://ucsim.uc.edu" target="_blank">http://ucsim.uc.edu</a><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><br><br><br>On Thu, Feb 16, 2012 at 2:16 PM, R.Gunther <<a href="mailto:rigun@rigutech.nl" target="_blank">rigun@rigutech.nl</a> <mailto:<a href="mailto:rigun@rigutech.nl" target="_blank">rigun@rigutech.nl</a>>> wrote:<br><br>   There's a 3e option. Munin.<br>   <a href="http://munin-monitoring.org/" target="_blank">http://munin-monitoring.org/</a><br><br><br>   On 2012-02-16 16:49, BlueWall wrote:<br><br>       The rrdtools is very good for storing and organizing the data for statistics and it will also produce graphs<br>       from that data. It relies on external scripts to collect the data - that's where Cacti comes in. It has the<br>       scripts and templates to graph your system (and snmp devices) in the distribution. I have done it on Linux and<br>       they claim to work on Windows too.<br><br>       You could also write scripts and templates to graph OpenSim. I haven't tried that, though. There is<br>       documentation included in the distro, and scattered across the Cacti user forums.<br><br>       -BlueWall<br><br>       On 02/16/2012 09:55 AM, Rick Anderson wrote:<br><br>           One question about Cacti, and RDDTools. The sites describe them as<br>           general purpose graphing tools. Is there any documentation or tutorial<br>           for configuring them to monitor system status. Maybe, it's really<br>           simple, and I'm over complicating it.<br><br>           -_Rick<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>   _________________________________________________<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>   Opensim-users mailing list<br>   <a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a>><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>   <a href="https://lists.berlios.de/__mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/__mailman/listinfo/opensim-users</a> <<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a>><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br><br><br><br>_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></p></div></blockquote><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>-- <br>Justin Clark-Casey (justincc)<br><a href="http://justincc.org/blog" target="_blank">http://justincc.org/blog</a><br><a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>