Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
Here is. 14:36:22 - [FLOTSAM ASSET CACHE]: Failed to get file c:\megareg\89\55\89556747-24cb-43ed-920b-47caed15465f for asset 89556747-24cb-43ed-920b-47caed15465f. Exception El proceso no puede obtener acceso al archivo 'c:\megareg\89\55\89556747-2 4cb-43ed-920b-47caed15465f' porque está siendo utilizado en otro proceso. en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) en 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, Boolean useLongPath, Boolean checkHost)en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share) en System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) en OpenSim.Region.CoreModules.Asset.FlotsamAssetCache.GetFromFileCache(String id) en c:\0.8.0.1\OpenSim\Region\CoreModules\Asset\FlotsamAssetCache.cs:línea 389 Regards, Luisillo 2014-08-23 0:07 GMT+02:00 Marcus Llewellyn marcus.llewel...@gmail.com: On Aug 22, 2014 11:20 AM, Luisillo Contepomi luisi...@contepomi.net wrote: El 22/08/2014 a las #4, Marcus Llewellyn escribió: My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. Fine in Linux but problems in Windows with can not use this item because is using by other application... I have simulators on both Windows and Linux, both setup on the same manner. I have not seen any errors on Windows. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
Luisillo, I can only say that I haven't personally experienced the same exception under Windows simply by sharing the asset cache between instances. I have been doing it for years now without any issues. The only time I've seen that exception was from people using antivirus software, especially Norton. In that case, instructing the antivirus software to exclude Opensim's directory from scans resolves the issue. On Aug 23, 2014 10:26 AM, Luisillo Contepomi luisillocontep...@gmail.com wrote: Here is. 14:36:22 - [FLOTSAM ASSET CACHE]: Failed to get file c:\megareg\89\55\89556747-24cb-43ed-920b-47caed15465f for asset 89556747-24cb-43ed-920b-47caed15465f. Exception El proceso no puede obtener acceso al archivo 'c:\megareg\89\55\89556747-2 4cb-43ed-920b-47caed15465f' porque está siendo utilizado en otro proceso. en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) en 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, Boolean useLongPath, Boolean checkHost)en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share) en System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) en OpenSim.Region.CoreModules.Asset.FlotsamAssetCache.GetFromFileCache(String id) en c:\0.8.0.1\OpenSim\Region\CoreModules\Asset\FlotsamAssetCache.cs:línea 389 Regards, Luisillo 2014-08-23 0:07 GMT+02:00 Marcus Llewellyn marcus.llewel...@gmail.com: On Aug 22, 2014 11:20 AM, Luisillo Contepomi luisi...@contepomi.net wrote: El 22/08/2014 a las #4, Marcus Llewellyn escribió: My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. Fine in Linux but problems in Windows with can not use this item because is using by other application... I have simulators on both Windows and Linux, both setup on the same manner. I have not seen any errors on Windows. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
[Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
At 7:20 PM -0500 21/8/14, James Stallings II wrote: Yeah the need for a DNS name scheme here is thoroughly overstated. In fact, it adds more complexity and is something I typically do only *after* getting everything working fine. There are a number of urban legends floating around opensim. Here are some: 1) It's bad to put numeric IP in ini's. 2) If your simulator is on port 9000, put your first region on port 1. It will reduce latency. 3) Create a first, empty, hidden simulator in ROBUST's directory (this is for ppl that clone the bin/ directory for each simulator). This will accelerate asset transfers. True/false? -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
LOL my bad, #1, not #2. On Fri, Aug 22, 2014 at 6:19 AM, James Stallings II james.stalli...@gmail.com wrote: All false except perhaps the last - it has no real bearing on operations per se, so is really neither true nor false. In fact, wrt #2, putting IP numbers in ini files will preclude a DNS lookup each time the address is referenced, which will save time each time the addressed is used. On Fri, Aug 22, 2014 at 6:15 AM, Jeff Kelley open...@pescadoo.net wrote: At 7:20 PM -0500 21/8/14, James Stallings II wrote: Yeah the need for a DNS name scheme here is thoroughly overstated. In fact, it adds more complexity and is something I typically do only *after* getting everything working fine. There are a number of urban legends floating around opensim. Here are some: 1) It's bad to put numeric IP in ini's. 2) If your simulator is on port 9000, put your first region on port 1. It will reduce latency. 3) Create a first, empty, hidden simulator in ROBUST's directory (this is for ppl that clone the bin/ directory for each simulator). This will accelerate asset transfers. True/false? -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- === http://osgrid.org/ http://simhost.com http://twitter.com/jstallings2 -- === http://osgrid.org/ http://simhost.com http://twitter.com/jstallings2 ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
All false except perhaps the last - it has no real bearing on operations per se, so is really neither true nor false. In fact, wrt #2, putting IP numbers in ini files will preclude a DNS lookup each time the address is referenced, which will save time each time the addressed is used. On Fri, Aug 22, 2014 at 6:15 AM, Jeff Kelley open...@pescadoo.net wrote: At 7:20 PM -0500 21/8/14, James Stallings II wrote: Yeah the need for a DNS name scheme here is thoroughly overstated. In fact, it adds more complexity and is something I typically do only *after* getting everything working fine. There are a number of urban legends floating around opensim. Here are some: 1) It's bad to put numeric IP in ini's. 2) If your simulator is on port 9000, put your first region on port 1. It will reduce latency. 3) Create a first, empty, hidden simulator in ROBUST's directory (this is for ppl that clone the bin/ directory for each simulator). This will accelerate asset transfers. True/false? -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- === http://osgrid.org/ http://simhost.com http://twitter.com/jstallings2 ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
I always use numeric IPs, with the exception of the external host in Regions.ini because I'm behind a NAT. I do use different ports for simulators and regions, but only because I find it less confusing from an organization standpoint. The third one is completely new to me. What I do, and I've always suspected that it's probably a bad idea but have gotten away with it so far, is to have multiple instances share an asset cache in order to speed things up. On Aug 22, 2014 6:19 AM, James Stallings II james.stalli...@gmail.com wrote: All false except perhaps the last - it has no real bearing on operations per se, so is really neither true nor false. In fact, wrt #2, putting IP numbers in ini files will preclude a DNS lookup each time the address is referenced, which will save time each time the addressed is used. On Fri, Aug 22, 2014 at 6:15 AM, Jeff Kelley open...@pescadoo.net wrote: At 7:20 PM -0500 21/8/14, James Stallings II wrote: Yeah the need for a DNS name scheme here is thoroughly overstated. In fact, it adds more complexity and is something I typically do only *after* getting everything working fine. There are a number of urban legends floating around opensim. Here are some: 1) It's bad to put numeric IP in ini's. 2) If your simulator is on port 9000, put your first region on port 1. It will reduce latency. 3) Create a first, empty, hidden simulator in ROBUST's directory (this is for ppl that clone the bin/ directory for each simulator). This will accelerate asset transfers. True/false? -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- === http://osgrid.org/ http://simhost.com http://twitter.com/jstallings2 ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
At 6:19 AM -0500 22/8/14, James Stallings II wrote: In fact, wrt #2, putting IP numbers in ini files will preclude a DNS lookup each time the address is referenced, which will save time each time the addressed is used. And make you dead when Microsoft steals your no-ip name. There is a point about NOT using dotted IP : you will be banned from Kitely. -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
How did Kitely get into a discussion about running one's own grid? On Fri, Aug 22, 2014 at 7:23 AM, Jeff Kelley open...@pescadoo.net wrote: At 6:19 AM -0500 22/8/14, James Stallings II wrote: In fact, wrt #2, putting IP numbers in ini files will preclude a DNS lookup each time the address is referenced, which will save time each time the addressed is used. And make you dead when Microsoft steals your no-ip name. There is a point about NOT using dotted IP : you will be banned from Kitely. -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- === http://osgrid.org/ http://simhost.com http://twitter.com/jstallings2 ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
At 8:09 AM -0500 22/8/14, Marcus Llewellyn wrote: You can indeed give each instance its own asset cache directory. My rationale for not doing so is that where simulators share content, this should reduce requests to the asset service, resulting in less network traffic, and also a modest speed up when regions are first started in some circumstances. Because an asset may have been cached already by another simulator. My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. So shared cache is a better option, until we discover a drawback. -- Jeff___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
El 22/08/2014 a las #4, Marcus Llewellyn escribió: My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. Fine in Linux but problems in Windows with can not use this item because is using by other application... --Luisillo --- Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa. http://www.avast.com ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
On Aug 22, 2014 11:20 AM, Luisillo Contepomi luisi...@contepomi.net wrote: El 22/08/2014 a las #4, Marcus Llewellyn escribió: My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. Fine in Linux but problems in Windows with can not use this item because is using by other application... I have simulators on both Windows and Linux, both setup on the same manner. I have not seen any errors on Windows. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
On 22/08/14 12:15, Jeff Kelley wrote: At 7:20 PM -0500 21/8/14, James Stallings II wrote: Yeah the need for a DNS name scheme here is thoroughly overstated. In fact, it adds more complexity and is something I typically do only *after* getting everything working fine. There are a number of urban legends floating around opensim. Here are some: 1) It's bad to put numeric IP in ini's. To be honest, people often advise the opposite, particularly in the region config external host. I'm not entirely sure why - from my experience FQDNs work fine there (I think the simulator might be storing them as IP numbers underneath, I can't remember offhand). 2) If your simulator is on port 9000, put your first region on port 1. It will reduce latency. Er, no truth to this at all :) 3) Create a first, empty, hidden simulator in ROBUST's directory (this is for ppl that clone the bin/ directory for each simulator). This will accelerate asset transfers. Again, not true. This might come from the fact that simulators have a disk asset cache and some people argue that disk is faster than database. However, when I last looked into this there was no conclusive evidence either way with many people saying there's no difference and I've yet to see someone produce comparative benchmarks for the OpenSimulator case. The asset service is not coded to use any Flotsam cache present anyway. -- Justin Clark-Casey (justincc) OSVW Consulting http://justincc.org http://twitter.com/justincc ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
Yeah, I've tried a shared cache before and it seems to be okay. It's a bit messy because multiple simulators may attempt to clean up the cache at the same time, which results in quite a few seeing messy file not found warnings, though these should not be harmful. It's hard to know how to get around this problem without making the cache yet another process or doing messy things like designating only one simulator to actually clean up files. I also think the cache needs a facility to limit by size (like every other cache in the known universe :). On 22/08/14 15:28, Jeff Kelley wrote: At 8:09 AM -0500 22/8/14, Marcus Llewellyn wrote: You can indeed give each instance its own asset cache directory. My rationale for not doing so is that where simulators share content, this should reduce requests to the asset service, resulting in less network traffic, and also a modest speed up when regions are first started in some circumstances. Because an asset may have been cached already by another simulator. My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. So shared cache is a better option, until we discover a drawback. -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- Justin Clark-Casey (justincc) OSVW Consulting http://justincc.org http://twitter.com/justincc ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
I've been running a shared cache now for a couple of years. I even copy them in a round robin fashion between my four servers so they are nearly identical. I turned off the clean up so anything that has been put in them for about the last 10 months is still there. As you can tell I do not have a clue how the cache is used or how it really works. Since every item in is it indexed using the UUID and the first three digits of the UUID place them in individual folders, I have not noticed any folder being all that large. The reason I do this is because three of my servers are on OSgrid, the fourth is where I do my scripting using two standalones which are mirror images of the 64 regions I host on OSgrid. One standalone is a normal set of regions and the other is a single varregion. I found I had much better success of having things appear on my standalones once I consolidated all of the caches, but it is still far from being optimal. Now I am wondering if doing this is causing a performance hit on the three servers that host regions for OSgrid??? What do the experts think? I could merge those cache into the one on the standalone server and have one master region clean each servers cache to some appropriate level. I like the idea of a shared cache on each server. It eliminates redundancy and eliminates requests by different regions for the same object. I was surprised to hear it is not used for assets. Why is it named asset-cache? -Original Message- From: Justin Clark-Casey Sent: Friday, August 22, 2014 6:54 PM To: opensim-users@opensimulator.org Subject: Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid) Yeah, I've tried a shared cache before and it seems to be okay. It's a bit messy because multiple simulators may attempt to clean up the cache at the same time, which results in quite a few seeing messy file not found warnings, though these should not be harmful. It's hard to know how to get around this problem without making the cache yet another process or doing messy things like designating only one simulator to actually clean up files. I also think the cache needs a facility to limit by size (like every other cache in the known universe :). On 22/08/14 15:28, Jeff Kelley wrote: At 8:09 AM -0500 22/8/14, Marcus Llewellyn wrote: You can indeed give each instance its own asset cache directory. My rationale for not doing so is that where simulators share content, this should reduce requests to the asset service, resulting in less network traffic, and also a modest speed up when regions are first started in some circumstances. Because an asset may have been cached already by another simulator. My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. So shared cache is a better option, until we discover a drawback. -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users -- Justin Clark-Casey (justincc) OSVW Consulting http://justincc.org http://twitter.com/justincc ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid)
You can share cache between simulators that use the same central services, for instance any simulators you use that are on OSGrid. Don't share caches between services, as the asset ids are not valid between services and you may wind up creating items that work only on your own sims and from users' caches, but fail visually in mysterious ways when taken off-sim. There is some (yellow) spew occasionally, it's trivial to catch and prevent in code, if you're so inclined. We have been ignoring it ever since the cache was written, with no ill effects. Melanie On 23/08/2014 01:51, Thomas Ringate wrote: I've been running a shared cache now for a couple of years. I even copy them in a round robin fashion between my four servers so they are nearly identical. I turned off the clean up so anything that has been put in them for about the last 10 months is still there. As you can tell I do not have a clue how the cache is used or how it really works. Since every item in is it indexed using the UUID and the first three digits of the UUID place them in individual folders, I have not noticed any folder being all that large. The reason I do this is because three of my servers are on OSgrid, the fourth is where I do my scripting using two standalones which are mirror images of the 64 regions I host on OSgrid. One standalone is a normal set of regions and the other is a single varregion. I found I had much better success of having things appear on my standalones once I consolidated all of the caches, but it is still far from being optimal. Now I am wondering if doing this is causing a performance hit on the three servers that host regions for OSgrid??? What do the experts think? I could merge those cache into the one on the standalone server and have one master region clean each servers cache to some appropriate level. I like the idea of a shared cache on each server. It eliminates redundancy and eliminates requests by different regions for the same object. I was surprised to hear it is not used for assets. Why is it named asset-cache? -Original Message- From: Justin Clark-Casey Sent: Friday, August 22, 2014 6:54 PM To: opensim-users@opensimulator.org Subject: Re: [Opensim-users] Urban legends (Was :Configuring a multi-hosted grid) Yeah, I've tried a shared cache before and it seems to be okay. It's a bit messy because multiple simulators may attempt to clean up the cache at the same time, which results in quite a few seeing messy file not found warnings, though these should not be harmful. It's hard to know how to get around this problem without making the cache yet another process or doing messy things like designating only one simulator to actually clean up files. I also think the cache needs a facility to limit by size (like every other cache in the known universe :). On 22/08/14 15:28, Jeff Kelley wrote: At 8:09 AM -0500 22/8/14, Marcus Llewellyn wrote: You can indeed give each instance its own asset cache directory. My rationale for not doing so is that where simulators share content, this should reduce requests to the asset service, resulting in less network traffic, and also a modest speed up when regions are first started in some circumstances. Because an asset may have been cached already by another simulator. My only concern has been that a single asset cache that has multiple copies of Flotsam managing it might at some point encounter some sort of conflict or collision. So far, I've noticed nothing of the sort, though. In practice, a single asset cache has been working fine for me. So shared cache is a better option, until we discover a drawback. -- Jeff ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users