aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-22Reduce various console spam.David Walter Seikel1-2/+4
2016-11-04Attempt to move everything writable, and the configs, out of the bin directory.David Walter Seikel1-1/+1
Log configs are still in the bin directory.
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-136/+264
2012-11-14Possibly fixes mantis #6429 (Flotsam cache having a null ref to the asset ↵Diva Canto1-4/+2
service)
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto1-1/+1
2012-11-10Cleaning up some confusion with Addin names introduced in a prior commit. ↵Diva Canto1-2/+2
Also the Flotsam cache module was being given a different Addin name, I removed that.
2012-09-15For FlotsamAssetCache, always update access times of cached scene assets ↵Justin Clark-Casey (justincc)1-20/+17
before looking for files to expire. This is to resolve a problem where an asset marked as local but not temporary but still used in the scene would be removed. The timed expiry scan no longer tries to refetch assets from the scene that are not currently in the cache - this is not helpful since it just drags a lot of data into the cache that may never be referenced. This removes the DeepScanBeforePurge option since setting this to false will introduce the above problem. This previously had a default of true.
2012-09-09Adjust namespce of FlotsamCacheBlueWall1-1/+1
Place FloatsamCache in the same namespace as our other core asset caches
2012-09-09Revert "Move addin information to CoreModulePlugin.addin.xml"BlueWall1-1/+5
This reverts commit 2ec34580ce3807cede97539488237040e1a8a6cc. Moving the attributes for mono addins back to the source file - this also fixes http://opensimulator.org/mantis/view.php?id=6278.
2012-09-07Move addin information to CoreModulePlugin.addin.xmlBlueWall1-5/+1
Move the addin information from attributes in the source file to the CoreModulePlugin.xml, which is the standard. This will help us automate addin version dependency information when we make new OpenSim releases.
2012-06-20minor: Lower flotsam asset cache warning about not having a FlotsamCache.ini ↵Justin Clark-Casey (justincc)1-1/+1
to debug It's perfectly okay not to have this section.
2012-05-04Use the more efficient HashSet instead of List for ↵Justin Clark-Casey (justincc)1-1/+1
FlotasmAssetCache.m_CurrentlyWriting
2012-05-04Don't try and update the access time of a file that is actively being cached.Justin Clark-Casey (justincc)1-2/+6
This may cause IOErrors on Windows. Aims to help with http://opensimulator.org/mantis/view.php?id=6003
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-4/+4
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2011-08-16minor: change some comment text in flotsam asset cacheJustin Clark-Casey (justincc)1-4/+3
2011-08-16On Flotsam asset cache, go back to moving the file from the temporary ↵Justin Clark-Casey (justincc)1-26/+47
location rather than copying. Copying doesn't prevent IOExceptions on Windows due to file locking. (e.g. Mantis 5642, 5630). So instead go back to moving the file, swallowing IOExceptions that occur just for the move due to competing caching threads or even different opensimulator instances.
2011-08-13Fix a problem in the Flotsam asset cache where assets were being put into ↵Justin Clark-Casey (justincc)1-2/+6
the memory cache even when it wasn't enabled. This hopefully addresses http://opensimulator.org/mantis/view.php?id=5634 This is the most probable cause of the memory problems that people have been seeing in the past month. This bug has been around since commit 5dc785b (4th July 2011). Doh! This is why regressions tests are such a good idea... :) Many thanks to Nebadon for using git bisect to track down this bug, which made it a 5 minute fix.
2011-08-05refactor: remove a sliver of unnecessary codeJustin Clark-Casey (justincc)1-4/+1
2011-08-05Instead of moving the file to its final place when FlotsamCache writes to ↵Justin Clark-Casey (justincc)1-2/+7
disk, copy it instead. This is to eliminate IOException where two threads compete to cache the same file.
2011-08-02Fix Flotsam cache so it will use the disk cache if the memory cache is enabledRobert Adams1-2/+2
2011-07-30Replace the generic exception logging in flotsam asset cache with more ↵Justin Clark-Casey (justincc)1-26/+24
specific stuff to return more information.
2011-07-30correct misleading "fcache status" text - deep scans are not performed when ↵Justin Clark-Casey (justincc)1-1/+1
this command is invoked.
2011-07-04Make it possible to disable the file part of the flotsam asset cacheJustin Clark-Casey (justincc)1-38/+72
This matches the ability to disable the memory part This is controlled through the FileCacheEnabled parameter in FlotsamCache.ini Default is true, so existing installations are not affected. Improved fcache command feedback when various caches are disabled. Re-enabled test for flotsam cache with file caching disabled.
2011-07-04refactor: Split file cache manipulation code into separate methods, as has ↵Justin Clark-Casey (justincc)1-102/+131
already been done for the memory cache
2011-07-04Add basic flotsam asset cache test for retrieved cached asset.Justin Clark-Casey (justincc)1-0/+2
Disabled temporarily since file system caching disrupts subsequent test runs
2011-06-11If the flotsam asset cache console command "fcache clear" is specified on ↵Justin Clark-Casey (justincc)1-11/+26
its own, clear both memory and file caches
2011-06-11Make the internal flotsam asset cache defaults match ↵Justin Clark-Casey (justincc)1-29/+35
config-include/FlotsamCache.ini.example. Enable the flotsam console commands even if FlotsamCache.ini isn't present. For the most part, defaults are made to match those already in FlotsamCache.ini.example. The one exception is that the 48 hour file timeout from the code is used instead of the 0 hours that was in the example file. This can be tweaked if necessary. Most importantly, the default cache directory is now ./assetcache (as in FlotsamCache.ini.example) rather than ./FlotsamAssetCache (as was the internal code default). Therefore, if you were using flotasm without using the config file, then please rename your cache directory or start using the ini file and change the default there if you want to keep using your existing cache.
2011-02-25Make the file expiration defaults the same whether the whole [FLOTSAM ASSET ↵Justin Clark-Casey (justincc)1-3/+3
CACHE] section is missing or just the particular config values
2011-02-25instead of using different default memory expiration depending on whether ↵Justin Clark-Casey (justincc)1-11/+2
there is a [FLOTSAM ASSET CACHE] section present at all, use the same default all the time this simplifies the code
2011-02-25log actual cache directory for FlotsamAssetCache instead of always logging ↵Justin Clark-Casey (justincc)1-1/+1
the default
2011-02-25Fix bug where having no maximum memory cache timeout would cause the flotsam ↵Justin Clark-Casey (justincc)1-1/+1
asset cache to try using Double.MaxValue, which would cause the underlying OpenMetaverse.ExpiringCache to choke. There is probably an underlying bug to fix in ExpiringCache.
2010-10-04Revert "Add linden prim renderer and update libOMV"Melanie1-2/+2
This reverts commit 766ce9a14146dc9814d488364f5c931d0fa96a17.
2010-10-04Add linden prim renderer and update libOMVMelanie1-2/+2
2010-09-07Rolling back the recent libomv update but keeping the ExpiringCache cleanups ↵John Hurliman1-1/+1
(as much as is possible). There was a report of non-finite avatar positions after the update
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman1-1/+1
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-0/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-1/+1
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
2010-02-19minor: Make FlotsamAssetCache default loglevel 0 to match that given in ↵Justin Clark-Casey (justincc)1-2/+2
bin/config-include/FlotsamCache.ini.example
2010-01-29Apply http://opensimulator.org/mantis/view.php?id=4548Justin Clark-Casey (justincc)1-1/+1
Fix command params check on fcache expire <datetime> Thanks coyled
2009-11-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-10-21* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman1-6/+2
Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-20* Removing cruft left over from the conversion to the new texture sending ↵John Hurliman1-31/+20
and UDP code * Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman1-2/+2
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-19Formatting cleanup.Jeff Ames1-2/+2
2009-10-120004246: [Patch] FlotsamAssetCache deep scan & cacheMelanie1-37/+270
Thank you, mcortez.
2009-10-05* minor: tweak asset cache logging levels downwardsJustin Clark-Casey (justincc)1-4/+1
2009-10-04Stream needs to be closed before the file can be moved...Diva Canto1-5/+6
2009-10-04Make sure to close the file streams on the FlotsamCache, even if something ↵Diva Canto1-4/+12
fails.
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-25More small changes to FlotsamAssetCache as per mcortez' request.Diva Canto1-2/+2