<div dir="ltr"><div><div><div><div><div><div><div>When a sim starts up, it tries to fetch all the mesh assets so it can construct colliders for any that need them. Usually many of these assets are in the region asset cache and the sim can pull them from there rather quickly. If they don't exist in the cache for whatever reason (new region, cache expiration, etc.), they must be fetched from the asset server. If the asset server is slowed by many requests or the sim tries to make too many requests at once, some will time out and the asset will not be available and the sim will not make a collider for them. The result is a phantom object. Two things can help: if you are using mono make sure you set the MONO_THREADS_PER_CPU environment variable to a reasonably high number which will increase the number of concurrent requests; I use the following to invoke OpenSIm:<br><br></div>env MONO_THREADS_PER_CPU=2048; mono --server OpenSim.exe<br><br></div>and the following to invoke Robust:<br><br></div>env MONO_THREADS_PER_CPU=2048; mono --server Robust.exe<br><br></div>Also you can populate your region cache with the following OpenSim console command:<br><br></div>fcache assets<br><br></div>Restart your region after doing this and hopefully it will help with your problem.<br><br></div>You may also consider setting your flotsam cache expiration to never expire, especially if the region doesn't get much traffic and is seldom restarted.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 11:03 AM, Paola Cerioli <span dir="ltr"><<a href="mailto:pcerioli@gmail.com" target="_blank">pcerioli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
I upgraded OpenSim from 0.7.6 to 0.8.1 running on Ubuntu 14.04/Mono<br>
3.10. I kept ODE physics for the time being, but with BulletSIM the<br>
issues are similar.<br>
I created a staging environment and copied the MySQL database from<br>
production to staging.<br>
When I start the regions, mostly all mesh objects are rezzed with<br>
wrong phantom settings.<br>
They are phantom when they are not supposed to be phantom.<br>
If I manually set phantom on/off with the viewer for each item, that<br>
will fix it, but it is a lot of work.<br>
I tried the 'fix-phantoms' from the opensim console, but it doesn't<br>
work from me.<br>
I looked at the code for the fix-phantoms, and this is what it does<br>
for each scene:<br>
<br>
s.ForEachSOG(so => so.AbsolutePosition = so.AbsolutePosition);<br>
<br>
Is this supposed to work in my use case as well?<br>
Any suggestion on how to fix phantoms overall?<br>
<br>
Thank you in advance.<br>
Paola<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@opensimulator.org">Opensim-dev@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br></div>