aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-01Secure sim stats with an (optional) password.Melanie Thielker1-0/+13
There is way too much in these stats to expose them to the world, at least for some of us.
2017-01-05Massive tab and trailing space cleanupMelanie Thielker12-83/+83
2016-11-22 close a resource on jobengine.close()UbitUmarov1-1/+2
2016-08-25watchdog timeouts: replace a silly List copy i added doing it a better wayUbitUmarov1-6/+10
2016-08-25 put back the console comand i remove since it is not a repetionUbitUmarov1-0/+7
2016-08-24 do similar changes to unused checksManagerUbitUmarov2-27/+21
2016-08-24 remove redundate console comand add, change stat deregisterUbitUmarov1-22/+14
2016-08-24 reduce unnecessary allocation of new itemsUbitUmarov1-13/+9
2016-05-12Fix crash due to setting Thread.name after thread start.Roger Kirkman1-2/+3
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-04-07CR safari. Remove gratuitious CRs in some filesMelanie Thielker1-173/+173
2016-02-21Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global ↵Diva Canto1-1/+1
replace anymore.
2015-12-27Add locking around stats record fetch to resolve Mantis 7793.Robert Adams1-18/+21
2015-11-27 revert last change to watchdog timeouts, that should not be neededUbitUmarov1-26/+22
2015-11-27 change JobEngine stop code and add a extra check for thread removed on ↵UbitUmarov2-83/+73
watchdog timeout checks
2015-11-24If no job engine is started at all, keep checking it's status fromMelanie Thielker1-3/+2
bombing
2015-11-24try not to use Process.HasExit that is broken in some mono versionsUbitUmarov1-9/+12
2015-10-18On to 0.8.3!Diva Canto1-1/+1
Conflicts: OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18On to 0.8.3!Diva Canto1-1/+1
2015-09-10remove a avn thing before it gets into coreUbitUmarov1-11/+0
2015-09-06let extra stats travel side by side with viewers ones... try to fix damm ↵UbitUmarov1-9/+19
array indexes all over the place
2015-09-05fix modifing m_threads on a foreach scanning itUbitUmarov1-1/+3
2015-09-03 at last we can login and see objects ( friends is dead and disable inUbitUmarov1-4/+4
scenepresence)
2015-08-11Prevent a crash if "debug jobengine log" is entered without a log levelOren Hurvitz1-0/+6
2015-05-04Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-1/+1
reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, ssirigam, clattin, martin, kboswell Reviewed By: rlouden, ssirigam, clattin, martin, kboswell Differential Revision: http://cr.irl.ucf.edu/D277
2015-05-04Fixed vocabulary in a comment to match the code.Steven Zielinski1-1/+1
2015-05-01Fixed a bug that would cause the sim extra stats reporter to fail in ↵Steven Zielinski1-1/+5
reporting stats. The bug was caused by the current process threads which can return null references. Test Plan: Tested on windows using opensim standalone and the json stats. Reviewers: rlouden, kboswell, clattin, martin, ssirigam Differential Revision: http://cr.irl.ucf.edu/D277
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto1-1/+1
AssemblyVersion("0.8.2.*")
2015-04-21Phase 2 additons with Frame Dilation metric.Robert Louden1-9/+10
2015-04-21Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin1-0/+47
repository is now the master branch from OpenSim).
2015-02-25On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)1-2/+13
BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source. Looks to address http://opensimulator.org/mantis/view.php?id=7453
2015-02-18Abbreviate the stats by removing unneeded and redundant elements. Human ↵Melanie Thielker3-3/+68
readability is overrated. Also add a (hardcoded) password.
2015-02-04Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)1-1/+2
exception because the cancellation source was not recreated.
2015-01-12Add the missing deleted and re-added JobEngine class from the previous ↵Justin Clark-Casey (justincc)1-0/+329
commit 8e1e8a0
2015-01-12Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2-322/+74
conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-01Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams1-1/+1
fail for container specification.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)3-139/+224
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)1-7/+6
loglevel, in common with similar commands.
2014-11-25Move conditionals which control whether a task is placed in the JobEngine ↵Justin Clark-Casey (justincc)1-2/+37
inside Watchdog.RunJob() (renamed from RunWhenPossible) and generalize them.
2014-11-25If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)1-1/+10
instead of letting it terminate the simulator...
2014-11-25Add loglevel to jobengine that can be controlled via "debug jobengine ↵Justin Clark-Casey (justincc)1-6/+26
loglevel <level>". Defaults to 0 Level 1 currently does verbose logging about every queued and processed job.
2014-11-25Temporarily add root agent rez attachments work to job engine if it is ↵Justin Clark-Casey (justincc)1-4/+4
running rather than as a fire and forget. Experiment to see if serializing attachment rez and send initial data jobs improves other parts of sim performance.
2014-11-25Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)2-0/+310
during root agent entry to a region improves perf rather than always attempting to execute everything concurrently Job engine is controlled via "debug jobengine start|stop|status". Can only currently be enabled and disabled dynamically at runtime. Currently only applies to code sending initial region data (objects, other avatar data) to a client.
2014-09-26Fix long-lived thread name logging.Justin Clark-Casey (justincc)1-1/+1
2014-09-17Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall1-6/+7
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."" Fix for break in next commit This reverts commit 376fab140227e92dbd841436509a97b87c9e7792.
2014-09-17Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall1-7/+6
threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects." This reverts commit af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
2014-09-17Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall1-6/+7
Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
2014-09-09Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c ↵Justin Clark-Casey (justincc)1-1/+1
char and not literal 'c'
2014-09-09For stat names containing periods, replace with '#' rather than throw exceptionJustin Clark-Casey (justincc)1-1/+2
In relation to http://opensimulator.org/mantis/view.php?id=7317
2014-09-05For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)1-11/+49
a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
2014-08-13Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)1-0/+3
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.