aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-25* Start sending "ImageNotFound" packet back to the client if we can't find ↵Justin Clarke Casey1-24/+8
an image * This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak * If a texture is not found then the "Image not found" texture will now be displayed clientside * If it works, this should resolve mantis 676 * Non texture image requests do not receive this packet yet * This will require a prebuild
2008-02-22* Improve alignment of packet queue stats headignsJustin Clarke Casey1-1/+1
* Correct asset cache stats table heading * Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22* Winnow the debug and info messages associated with stat fetchingJustin Clarke Casey3-14/+29
* As such, only a request for a non cached asset, the response and failures show up now. * I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2-0/+2
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-20* Eliminate AssetCache.CopyAsset()Justin Clarke Casey1-26/+4
* Resolve a bad logic bug in AssetCache.GetAsset() * This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20* Only count download requests for assets which are not already waiting for ↵Justin Clarke Casey1-5/+6
data from the asset server * This should stop the constant increase in the download requests statistics * If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20* Properly guard removal of asset request lists on AssetCache.AssetNotFound ↵Justin Clarke Casey2-14/+16
(my own bug)
2008-02-20* Remove unused texture dictionaries from AssetCacheJustin Clarke Casey2-48/+73
* Add documentation to AssetCache
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-20Report command string on ConsoleBase.RunCommand exceptionJustin Clarke Casey1-2/+2
2008-02-20* Report 'asset not found' situations back to UserTextureDownloadServiceJustin Clarke Casey2-25/+54
* This fixes some of the 'runaway downloads' problem but not all of it * Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20* re-enabled AssetNotFound codelbsa711-15/+16
* turned script asset fetching asynchronous
2008-02-20* Fixed xml loading bug (the xml was scheduled for update before added to a ↵lbsa711-70/+101
scene) * Fixed ClickAction situation on the same note (properties shouldn't cause big changes) * Added some more debug output to AssetCache
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2-0/+2
threads so it will be easier to debug.
2008-02-16Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of ↵MW2-1/+7
CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though. But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-13Clean up more unnecessary String.Format callsJeff Ames5-31/+18
2008-02-13* Clean up LIBRARY INVENTORY messagesJustin Clarke Casey1-13/+12
2008-02-13Commenting and a spelling correctionJustin Clarke Casey2-5/+15
2008-02-13* Clean up the agent's asset transactions when it is removed from the sceneJustin Clarke Casey1-2/+17
* This may or may not help with the memory leak, need to assess
2008-02-13* Refactor: Move last commit's refactor back to AgentAssetTransactionsManagerJustin Clarke Casey2-35/+128
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others * I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you. * Add/correct comments
2008-02-12Refactor: factor a method out of AgentAssetTransactionsManagerJustin Clarke Casey1-13/+2
2008-02-12* Add missing locking to mysql inventory pluginJustin Clarke Casey1-0/+3
* Should resolve mantis 542
2008-02-12* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and ↵Justin Clarke Casey2-13/+31
align classes with file names * Small amount of ndoc * This will probably require a prebuild and nant clean
2008-02-11Re-enabled Inventory creation of body partsMW2-4/+9
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames6-10/+10
2008-02-09* fixed typo. thanks, nebadon!lbsa711-1/+1
2008-02-09* Refactored some asset code and in the process uncovered a bug; now, I ↵lbsa711-10/+14
think first transfer of asset should start faster.
2008-02-09* added count of texture data bytes and asset byteslbsa711-6/+18
2008-02-09* Added count of temporary assetslbsa711-0/+23
2008-02-09* added two new commands (for debug/disaster recovery)lbsa711-25/+55
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c) 'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items. 'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09* Change logger to handle [<entry>] where <entry> contains non alphabetic ↵Justin Clarke Casey2-6/+6
characters * Change logger to not print extra line if [<entry>] <text> like string is not logged * Remove more of my previous chatty debugging statements
2008-02-08* Stop asset transactions hanging around after they've completedJustin Clarke Casey2-11/+79
* Still not enough to solve the memory leak, though hopefully this is another step on the path * All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey1-5/+12
light verbosity to this end
2008-02-08fix the issue found on IRC this morning. The logging call was mistructuredSean Dague1-1/+2
so threw and exception when attempting to log that we missed an asset and were waiting for it.
2008-02-05Converted logging to use log4net.Jeff Ames7-65/+77
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-04First part of avatar persistence, currently only really works in standalone ↵MW1-0/+2
mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04* Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit ↵Adam Frisby1-1/+1
below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this.
2008-02-04* Default inventory permissions patch (#444), courtesy of alex_carnell -- ↵Adam Frisby1-0/+1
thanks!
2008-01-31* Add asset/texture cache statistics to region server consoleJustin Clarke Casey1-3/+21
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode * Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets rather than textures * But I don't have any reason to believe they aren't broadly accurate. * I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache * This will require a prebuild * DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released. For my part, seeing large cache memory numbers will provoke me to think about doing something about this. * DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers * DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-15* Mother of all commits:Adam Frisby3-16/+16
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-10Whitespace cleanup.Jeff Ames1-1/+1
2008-01-09* removed another superfluous debug messagelbsa711-2/+2
2008-01-09dump_assets_to_file=true will now cause the asset to go into a UserAssets ↵Brian McBee1-3/+16
subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!)
2008-01-09Third part of CharlieO's library rework. We now have library organization! ↵Brian McBee1-32/+35
Thanks CharlieO!
2008-01-02* Trying to address TextureSender issueslbsa713-32/+32
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present * introduced some TryGetValue and various code convention stuff
2008-01-02* Refactored out function to load specified AssetSet Xmllbsa711-2/+2
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2007-12-31Make it possible for new inventory 'libraries' to be added without changing ↵Justin Clarke Casey1-85/+115
the default OpenSimLibrary files. Additional library folders and items can be added in a separate directory and linked in by an entry to inventory/Libraries.xml
2007-12-31Standard library folders can now be configued in the xml in ↵Justin Clarke Casey1-25/+100
inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently showing up as texture folders, even though they are configured with the same types as the agent inventory folders. This should be resolved soon.
2007-12-30Shift default OpenSim library into its own directoryJustin Clarke Casey1-1/+1
2007-12-29Make inventory items nominate explicit inventory folders rather than hardcodingJustin Clarke Casey1-7/+12