aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-25Added a watchdog to abort slow threads in the main thread poolOren Hurvitz1-11/+269
If a task in the thread pool hangs then it will permanently take up one of the threads. If this happens repeatedly then the thread pool will become exhausted and OpenSim will fail. This watchdog terminates threads in the thread pool that have been executing for over a minute (which probably means they're hung). Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25LogThreadPool: when the thread is for ProcessPacketMethod, also log the ↵Oren Hurvitz1-3/+12
packet type Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Refactored DebugFlagsEnumOren Hurvitz1-5/+14
Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Automatically start logging FireAndForget activity if the threadpool is fullOren Hurvitz1-4/+19
Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-25Added debug flag: LogThreadPool. It makes us log every use of the main ↵Oren Hurvitz1-29/+114
threadpool. Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-24Refactored: ExternalRepresentationUtils should be the only place where the ↵Oren Hurvitz3-6/+22
"CreatorData" field is calculated, to ensure uniformity Resolves http://opensimulator.org/mantis/view.php?id=6933
2014-03-24When updating the CreatorId of an inventory item, automatically update the ↵Oren Hurvitz1-1/+4
CreatorIdAsUuid field as well Resolves http://opensimulator.org/mantis/view.php?id=6933
2014-03-24Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz1-0/+32
Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
2014-03-22Allow Mono Plugin Registry setting for RegionsDev Random1-6/+7
Signed-off-by: Melanie <melanie@t-data.com>
2014-03-21Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)1-0/+26
These have the format server.thread.<thread-name>
2014-03-18Allow Region specific static maptiles to be loaded from file.Jak Daniels1-0/+21
2014-03-19Revert "Simplify DoubleQueue to eliminate redundant sempahore work."Justin Clark-Casey (justincc)1-7/+27
This reverts commit 52b7b40034ddbb21d06b11ddc4eb6d766b0f616d. Got the semantics wrong - the sempahore is required so that the blocking thread waits for a signal.
2014-03-19Simplify DoubleQueue to eliminate redundant sempahore work.Justin Clark-Casey (justincc)1-27/+7
Exclusion is already guaranteed by the lock on m_syncRoot. Semaphore could not allow more than one thread in these sections anyway since the underlying SDK structures are not thread-safe.
2014-03-19minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)1-2/+10
2014-03-19Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)1-3/+3
from debug to general command category
2014-03-19Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)1-3/+46
2014-03-18Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)1-2/+24
httpserver.<port>.ProcessedPollResponses statistics
2014-03-18minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)1-1/+1
long poll and other 'poll' types
2014-03-18Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)1-0/+13
This shows the number pf poll responses queued for processing.
2014-03-18Extend locking in BlockingQueue to cover operations that are not guaranteed ↵Justin Clark-Casey (justincc)1-10/+8
to be thread-safe
2014-03-18Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)1-1/+23
that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
2014-03-18Lock m_syncRoot on DoubleQueue.Count. This is not documented as a ↵Justin Clark-Casey (justincc)1-1/+5
thread-safe operation
2014-03-17Add regression test for http inventory fetch.Justin Clark-Casey (justincc)3-397/+122
Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
2014-03-10Change terrain update sending to be triggered by frame tick ratherRobert Adams1-5/+46
than everytime terrain is changed. The TerrainModule now hooks the frame event and, if terrain has changed, sends terrain updates to the clients. This polling pattern replaces the previous push on change pattern and will make it easier to do per client throttling and per scene presence terrain update ordering.
2014-03-06minor: Increase size of parcel name field in "land show" console command ↵Justin Clark-Casey (justincc)1-1/+6
output. Construct table using CDT rather than string formats
2014-03-05Add UUID and ready status (whether region has finished starting up) to "show ↵Justin Clark-Casey (justincc)1-0/+43
regions" console output.
2014-02-27Set up a StreamReader and call ReadToEnd() instead of using the ↵Justin Clark-Casey (justincc)1-41/+13
GetStreamString() extension method This eliminates some stream seeking that was never necessary and makes disposable of the StreamReader consistent with other code
2014-02-27Remove long unused UntrustedWebRequest classJustin Clark-Casey (justincc)1-230/+0
This purports to check web requests but doesn't appear to actually do that.
2014-02-27refactor: More consistently use using construct within WebUtil to match ↵Justin Clark-Casey (justincc)1-225/+218
other existing code there.
2014-02-27Add more details to InvalidOperationException logging in ↵Justin Clark-Casey (justincc)1-3/+4
SychronousRestFormsRequest.MakeRequest().
2014-02-26Add Util method to load OpSys env varsDev Random1-83/+87
2014-02-14Log information about which function, request data and agent ID triggered an ↵Justin Clark-Casey (justincc)1-0/+24
XmlRpcGroupsServiceConnector error
2014-01-31Make sure Web streams are disposed after useOren Hurvitz1-3/+3
2014-01-28clear land tainting when tested. Then testing, pass scene to LandObject as ↵Robert Adams1-1/+5
now needed to get region size
2014-01-28Fix terrain tests by properly initializing low detail terrain to zero height.Robert Adams1-0/+1
Also remove PI heightmap test as new heightmaps only have two significant digits.
2014-01-26varregion: enable teleporting to a varregion by clicking on the map andRobert Adams2-0/+51
pressing the 'teleport' button. This commit adds returning region map info for all the subregions of a varregion. This also handles the selection of the extra region and then the displacement of the postion so the teleport is to the correct location.
2014-01-20Stop exceptions being generated on agent connection if a telehub object has ↵Justin Clark-Casey (justincc)1-14/+7
been deleted or has no spawn points.
2014-01-20Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz2-7/+36
"Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
2014-01-19Fix casting error for float type INI file parameter parsing.Robert Adams1-1/+1
2014-01-19Fix casting error for float type INI file parameter parsing.Robert Adams1-1/+1
2014-01-18minor: Add method doc to IImproveAssetCacheJustin Clark-Casey (justincc)1-1/+25
2014-01-11Allow Boolean nodes in XML to be specified as "0/1". AuroraSim does that.Oren Hurvitz1-1/+3
2014-01-10Refactored: use a single function to apply an object's folded permissions to ↵Oren Hurvitz1-0/+19
its main permissions
2014-01-10Refactored setting permissions when rezzing items: use the same function ↵Oren Hurvitz1-0/+68
when rezzing from user inventory and prim inventory. Also, fixed a bug: when rezzing a coalesced object from a prim's inventory, apply the coalesced object's name and description only to the first sub-object; not to all the objects in the coalescence. (This was already done correctly when rezzing from a user's inventory.)
2014-01-04varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams1-0/+2
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen). Conflicts: OpenSim/Framework/RegionInfo.cs
2014-01-04Add routines in Util.cs for conversion of region handles to regionRobert Adams2-1/+47
locations and for the conversion of region world location to region 'region' location. These routines will replace all the arithmatic scattered throughout OpenSimulator.
2014-01-03varregion: Add region size to teleport event messages (EnableSimulator,Robert Adams2-1/+5
CorssRegion, TeleportFinishEvent). Have Simian grid service return the region size. Many teleport related debug log messages. Can be removed when teleport works (like that's ever going to happen).
2013-12-28Add serialization/deserialization of region size to RegionInfo, GridRegion, ↵Robert Adams2-37/+158
and RegionData. This does not modify interfaces or handling of variable sized regions. This only enables the loading and storing of the region size and the reporting of the region size in grid service responses. The database tables already have the code to load and store the region size.
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-0/+5
with a passed region size. This time in the map code and grid services code.
2013-12-19Add missing viewer param elements for butt and breast physics.Justin Clark-Casey (justincc)1-1/+75
Patch from http://opensimulator.org/mantis/view.php?id=6864 except with tabs replaced by spaces Thanks cinderblocks!