diff options
author | Justin Clarke Casey | 2008-01-31 00:42:31 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-31 00:42:31 +0000 |
commit | a4bf98f4ba6ecc27d1af0092b6e2a1bac36ed44d (patch) | |
tree | 3ca82ca3f5b6f3f03e4d9c26b2dc17a5c6247bf8 /OpenSim/Grid/AssetServer | |
parent | * Add 'asset not found' statistics to grid asset server stats (diff) | |
download | opensim-SC-a4bf98f4ba6ecc27d1af0092b6e2a1bac36ed44d.zip opensim-SC-a4bf98f4ba6ecc27d1af0092b6e2a1bac36ed44d.tar.gz opensim-SC-a4bf98f4ba6ecc27d1af0092b6e2a1bac36ed44d.tar.bz2 opensim-SC-a4bf98f4ba6ecc27d1af0092b6e2a1bac36ed44d.tar.xz |
* Add asset/texture cache statistics to region server console
* 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
Diffstat (limited to 'OpenSim/Grid/AssetServer')
-rw-r--r-- | OpenSim/Grid/AssetServer/Main.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index de16470..c9f7e8e 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs | |||
@@ -184,7 +184,7 @@ namespace OpenSim.Grid.AssetServer | |||
184 | break; | 184 | break; |
185 | 185 | ||
186 | case "stats": | 186 | case "stats": |
187 | MainLog.Instance.Notice("STATS", Environment.NewLine + m_stats.Report()); | 187 | m_console.Notice("STATS", Environment.NewLine + m_stats.Report()); |
188 | break; | 188 | break; |
189 | 189 | ||
190 | case "shutdown": | 190 | case "shutdown": |