[Opensim-users] Avatars never "bake" completely after activating FlotsamCache

Justin Clark-Casey jjustincc at googlemail.com
Thu Nov 10 12:09:14 UTC 2011


Hi Gwyneth.  Yes, this is an issue that people have run into before - there are various mantis reports about this kind 
of thing (e.g. [1]).  It is associated with not having file cache (or memory cache) enabled.

Default currently is not to have memory cache enabled since this doesn't appear to help much and does significantly 
increase memory usage.

Unfortunately, as alpha software OpenSim configuration parameters are going to change over time, sometimes radically. 
That's why we recommend that people upgrade by tailoring a new default configuration rather than directly transfer an 
old one.

[1] http://opensimulator.org/mantis/view.php?id=4731

On 10/11/11 10:10, Gwyneth Llewelyn wrote:
> Replying to myself... by a stroke of luck, and tweaking with the settings, I noticed that I actually had memory cache turned on, but disk cache turned off under both CentOS 5.3 and Mac — even though I thought both were on! The Mac had no problem with that. But apparently CentOS 5.3 did!
>
> So I've confimed that both were on, and my problems disappeared on CentOS 5.3. As I suspected, this was just a configuration issue. Nevertheless, the FlotsamCache developers might find it interesting to see what causes the difference in behaviour between a Mac-based compilation and a CentOS 5.3-based compilation, because the Mac is clearly happy without a disk cache and handles baked textures well :) while CentOS 5.3 definitely requires the disk cache to be active.
>
> Note that nothing else but avatar texture rebaking was affected. FlotsamCache works nicely for everything else, either just in memory or with disk (or just from disk). It was just the rebaking that was getting on my nerves :)
>
> Well, another issue solved on my long list :)
>
> 	- Gwyn
>
> P.S. That's why I'm so reluctant in upgrading OpenSim... it usually means a whole month of unstability until I can get everything working as before. But since SignpostMarv Martin warned me about some security issues with previous versions, I had no choice but to go ahead and upgrade to 0.7.2... and face the nightmare!
>
> On 2011/11/10, at 09:06, Gwyneth Llewelyn wrote:
>
>> Hello all,
>>
>> When I upgraded my grid to 0.7.2, I forgot to activate FlotsamCache (which I had successfully used in the past). Once I corrected that mistake, something strange happened: now avatars are always flickering back and forth, refreshing their textures, and never fully bake. They might show up baked on the viewer, but other avatars in the region will always see them blank ("white avatars").
>>
>> Now this is not always consistent. On most sims of the grid, which run CentOS 5.3 (64 bits) and OpenSim 0.7.2 (release) was compiled with Mono 2.6.1, the problem started as soon as FlotsamCache was activated. On one "test" sim, running on my home Mac, with exactly the same options on OpenSim.ini etc. (but compiled under Mono 2.6.4), and FlotsamCache also active, there seems to be absolutely no problem.
>>
>> There are a lot of possible reasons for the difference in behaviour, one of which is that I've added a few more debugging options on the CentOS 5.3 OpenSim source — I'm still trying to figure out the problems with XMLRPC requests — and these might have broken something. Or the compilation under Mono 2.6.1 (64 bits) might be slightly broken. Or the Mono compiler for the Mac might produce better code than the one for Linux (which would surprise me immensely!). Or I might be hitting a memory limit (I'm using FlotsamCache in memory *and* disk). Or, well, anything else could explain this behaviour. :-)
>>
>> Since turning off FlotsamCache is not a good idea (and the alternatives, as warned on the OpenSimulator Wiki, are not as well maintained...), I filed an "issue" on Flotsam's page at Google Code — http://code.google.com/p/flotsam/issues/detail?id=54 But so far I didn't get  reply, so I wonder if anyone in this group has seen this odd behaviour and managed to do a simple fix. The reported issue adds some more details and a log of the errors I get under CentOS.
>>
>> If I hadn't tested OpenSim under the Mac (which runs only a single region, even though with dozens of thousands of prims), which works flawlessly, I'd attribute it as a bug :) Because it works well under the Mac, but not under Linux, I have to assume that the configuration is wrong somewhere. Since the configuration is exactly the same, it might mean that to properly support baking under CentOS 5.3 + FlotsamCache, I might have to flip a switch somewhere, which for some obscure reason is not needed under the Mac. So, suggestions are welcome!
>>
>> Thanks in advance,
>>
>> 	- Gwyn
>>
>>
>> --
>> "I'm not building a game. I'm building a new country."
>>   -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08
>>
>>
>
> _______________________________________________
> 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