aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)1-33/+13
simulator console This means the "show stats" command is now active on the robust console.
2013-03-14Log same environment information to Robust log as is already done for ↵Justin Clark-Casey (justincc)1-11/+1
simulator logs, for debug purposes
2012-11-23Make "show threads" and "thread abort" console commands available on all serversJustin Clark-Casey (justincc)1-102/+1
2012-11-23Make "force gc" console command available across all serversJustin Clark-Casey (justincc)1-11/+0
2012-11-23Make "show version" console command available across all serversJustin Clark-Casey (justincc)1-8/+0
2012-11-22Factor out common pid file creation and removal code.Justin Clark-Casey (justincc)1-35/+1
Log path at which pid file is created or reason for failure to create.
2012-11-22Remove unused BaseOpenSimServer.ShowHelp()Justin Clark-Casey (justincc)1-21/+0
2012-11-22Make "set log level" command available across all serversJustin Clark-Casey (justincc)1-31/+0
2012-11-22Make "show info" command available across all serversJustin Clark-Casey (justincc)1-177/+1
This helpfully lists version information, startup location and console log level
2012-11-22Factor out common registration of "show uptime" commandJustin Clark-Casey (justincc)1-66/+64
2012-11-22factor out common HandleShow code for "show uptime"Justin Clark-Casey (justincc)1-34/+5
2012-11-22refactor: Factor out copy/pasted server uptime report codeJustin Clark-Casey (justincc)1-25/+4
2012-10-29Add "force gc" region console command which manually invokes garbage collection.Justin Clark-Casey (justincc)1-0/+11
For debugging purposes.
2012-10-11Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)1-28/+4
This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
2012-07-27Remove a couple of compiler warnings pointed out by SignpostMarvJustin Clark-Casey (justincc)1-1/+0
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)1-0/+1
with other monitoring code from OpenSim.Framework
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)1-1/+1
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-2/+2
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-06-22If starting scripts on initial sim start, provide INFO level log feedback ↵Justin Clark-Casey (justincc)1-1/+1
each time 50 scripts have been started. This is to provide an indication of what's happening now that the default isn't to report every single script start. Changes XEngine logging level in OpenSim.exe.config from WARN to INFO.
2012-06-20Remove STARTUP COMPLETE message from the startuplogo.txt file and into main ↵Justin Clark-Casey (justincc)1-1/+3
logging
2012-06-20Comment out the neighbour and land in connectors from info logging that they ↵Justin Clark-Casey (justincc)1-1/+1
are starting up
2012-03-16minor: reuse threadpool count we just fetched instead of fetching it againJustin Clark-Casey (justincc)1-1/+1
2012-03-16Add total scripts count to "show threads"Justin Clark-Casey (justincc)1-2/+10
However, this returns 0 on Mono (at least on 2.6.7)! So not showing if it is zero.
2012-03-16Improve threadpool reporting to "show threads" console command (also gets ↵Justin Clark-Casey (justincc)1-6/+2
printed out periodically)
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)1-10/+10
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-24Rename Watchdog.GetThreads() to GetThreadsInfo() to reflect what it actually ↵Justin Clark-Casey (justincc)1-1/+1
returns and for consistency.
2012-02-18On Windows automatically load the correct native ODE library depending on ↵Justin Clark-Casey (justincc)1-1/+3
whether the process is 32-bit or 64-bit In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory. However, this is completely untested since I don't currently own a 64-bit Windows box. Feedback appreciated. Using OpenSim.32BitLaunch.exe should continue to work. Other platforms are unaffected. This will currently not work with sqlite - I will add that too if this works.
2012-01-31Use Environment.TickCount & Int32.MaxValue; instead of ↵Justin Clark-Casey (justincc)1-1/+1
Util.EnvironmentTickCount(); when producing the threads report to reduce wraparound. This matches the tickcount masking in the thread watchdog. For some reason, Util.EnvironmentTickCount() masks ticks by 0x3fffffff instead of 0xffffffff
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-1/+1
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-11-15fix build break on UserManagementModule.Justin Clark-Casey (justincc)1-4/+8
This also adds time since started to "show threads". Unfortunately these two changes got mixed in.
2011-11-15improve formatting of "show threads"Justin Clark-Casey (justincc)1-1/+8
2011-11-15Add number of milliseconds since last update to "show threads"Justin Clark-Casey (justincc)1-3/+7
2011-10-25minor: add "threads show" as synonym for "show threads" for consistencyJustin Clark-Casey (justincc)1-0/+5
2011-10-25Add "threads abort <thread-id>" simulator console command that allows us to ↵Justin Clark-Casey (justincc)1-0/+25
abort a watchdog managed thread. This is for diagnostic purposes.
2011-07-01Make default serverside_object_permissions = true since this better matches ↵Justin Clark-Casey (justincc)1-11/+0
user expectations. It also matches the default setting in the OpenSim.ini.example file
2011-07-01If OpenSim has been built from a git tree, then include version information ↵Justin Clark-Casey (justincc)1-4/+39
automatically by dereferencing .git/HEAD A blank bin/.version file will stop this being displayed.
2011-07-01refactor: rename gitCommitFileName to manualVersionFileName since ↵Justin Clark-Casey (justincc)1-5/+4
bin/.version doesn't necessary have to be a git hash
2011-02-04Fix "set log level" to once again display current log level if it's not ↵Justin Clark-Casey (justincc)1-12/+15
given a parameter This addresses http://opensimulator.org/mantis/view.php?id=5345
2011-01-21Update the "config get <section> <key>" command to "config get [<section>] ↵Justin Clark-Casey (justincc)1-0/+14
[<key>]" The config get command shows a current config value on the console. Now, if <key> is omitted then all the values for the given section are printed. If <section> is ommitted then all sections and all keys are printed. Current config can also be dumped to a file using "config save <path>". This can be handy for resolving or eliminating config issues
2011-01-21make "show info" and "show version" show the same version textJustin Clark-Casey (justincc)1-4/+7
2011-01-21add current console log level to "show info"Justin Clark-Casey (justincc)1-2/+9
2011-01-20minor: make "show info" help slightly clearerJustin Clark-Casey (justincc)1-1/+1
2010-09-14Fix "show threads" to show threads now being managed by ↵Justin Clark-Casey (justincc)1-16/+10
OpenSim.Framework.Watchdog
2010-05-28add a smidgen more log debug information in the form of the operating system ↵Justin Clark-Casey (justincc)1-1/+5
version
2009-11-27Apply patch to reduce git revision text length if running sim directly from ↵Justin Clark-Casey (justincc)1-1/+1
a git tree See http://opensimulator.org/mantis/view.php?id=4030 Thanks ChrisDown (and Bruce for reporting)
2009-10-19Formatting cleanup.Jeff Ames1-1/+1
2009-10-07Bug fix.Diva Canto1-2/+6
2009-10-07Printout one more field in show threads, but this won't buy us much.Diva Canto1-1/+2
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman1-21/+6
2009-10-05* GridServerPostHandler.cs: Try/catch in HandleDiva Canto1-1/+7
* BaseOpenSimServer.cs: Added thread pool numbers in show threads