| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
is being throttled due to past poor performance.
|
| |
|
|
|
|
| |
"Queue threadfunc" for a particular thread then don't log "Run threadfunc" or "End threadfunc" for that thread either.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
has already been registered without needing to also run it
|
|
|
|
|
|
|
|
| |
As per http://msdn.microsoft.com/en-us/library/system.random%28v=vs.100%29.aspx, the .NET Random class is not thread-safe.
If called by multiple threads at once, methods may return 0.
Except for llRand(), other OpenSimulator code did not lock before calling a shared Random instance.
This commit adds a ThreadSafeRandom class that extends Random but does internal locking so that it is thread-safe.
This change is invisible to existing callers and the explicit locking in the llFrand() implementation is now redundant.
|
| |
|
|
|
|
|
|
| |
In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop"
Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text.
Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
|
|
|
|
|
|
| |
shutdown.
Adds regression test for this case.
|
| |
|
| |
|
|
|
|
|
| |
that simulator statistics is output to the console. Setting to zero turns
stats logging off.
|
| |
|
| |
|
|
|
|
|
|
| |
Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector.
Also added more packing/unpacking code.
|
|
|
|
|
|
| |
erroneous information.
Also, added conversion of EstateSettings from/to key-value pairs in preparation for robust net work connectors.
|
|
|
|
| |
required. This preserves API compatibility for external modules using this function.
|
|
|
|
|
|
| |
bitmap generation in WorldMapModule throw an exception on next startup.
This commit replaces the hardcoded region sizes in WorldMapModule.GenerateOverlay() with numbers pulled from m_scene.RegionInfo
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
than on every single log.
Compiling every time is unnecessary since Regex is thread-safe.
|
| |
| |
| |
| | |
RegexOptions.SingleLine
|
|/ |
|
|
|
|
| |
because everything has worked so far, but it's the right thing to do.
|
| |
|
|
|
|
|
|
|
|
| |
SynchronousRestObjectRequester.MakeRequest() calls with no timeout specified use the default HttpWebRequest timeout as previously.
I mistakenly thought that that default request timeout was inifite rather than 100 seconds, restoring previously behaviour.
As per http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.timeout%28v=vs.100%29.aspx
Relates to http://opensimulator.org/mantis/view.php?id=7165
|
|
|
|
|
|
| |
SynchronousRestObjectRequester.MakeRequest() methods with proper Timeout.Infinite (-1) instead.
Triggered by recent faf9ba53 though this was wrong in the code before, it's just that we didn't actually try to set the timeout given.
|
| |
|
|
|
|
|
|
|
| |
verb, string requestUrl, TRequest obj, int pTimeout, int maxConnections) actually set timeout on WebRequest if given.
Previously, we were doing nothing with this parameter.
No effect on current code since none of the 6 callers attempt to use the timeout.
|
|
|
|
| |
Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
|
|
|
|
| |
was missing in TryParseConsole2DVector(). xbuild still compiles.
|
| |
|
|
|
|
|
|
| |
region co-ordinate.
For debug purposes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Per http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life
terrain heights up to 508 are possible on the LL grid (and were available on previous releases of OpenSimulator).
The obvious way to allow both this and equivalent -z values, is to rewiden the internal terrain height storage from short to int.
The memory tradeoff is most noticeable on the maximum 8192x8192 var region (equiv to 1024 normal regions), where it adds 128mb to resident use (128k on a normal region)
This is still better than the double used in previous releases.
This does not affect physics or data storage since they already use float and double respectively.
This may not be the final solution if we actually want to sacrifice -z, >327 or something else.
Relates to http://opensimulator.org/mantis/view.php?id=7076
|
|
|
|
|
|
| |
config option, LogOverloads, to log when a thread pool overload occurs.
This option defaults to "True" because the logging data is useful for
diagnosing threading issues.
|
|
|
|
|
|
|
| |
we do for other types of HTTP activity.
- Changed OpenProfileClient to use the new XML-RPC sending function
- Improved logging in WebUtil
|
|
|
|
| |
constructing the HTTP requests manually. This allows the calls to be logged when using "debug http all 6".
|
|
|
|
| |
No one needs to see every thread launch.....
|
| |
|
|
|
|
| |
pre-truncate the description of dynamic textures.
|
| |
|
|
|
|
|
| |
added as they are already exposed through an API when using Nini. That will
remove the need to always edit RegioInfo just to add a region based setting.
|
|
|
|
| |
Signed-off-by: Melanie <melanie@t-data.com>
|
| |
|
| |
|
|
|
|
| |
"/map" handler uses it
|