Commit Graph

4578 Commits (06147d0492e91c06a7d8f3a19c20897033f560a3)

Author SHA1 Message Date
Tedd Hansen 3bb0fe098f Maintenance thread in charge of loading/unloading of scripts. 1 thread less per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
2008-02-22 13:23:45 +00:00
Tedd Hansen 9f7366210a Now last commit will compile too... The features just keep on coming! 2008-02-22 13:15:01 +00:00
Tedd Hansen a040008cb9 From this commit and a few hours into the future ScriptEngine will be unstable:
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
2008-02-22 12:50:24 +00:00
Teravus Ovares ff12395a3d * Relative large ClientView refactoring of packet Events into .Net recommended format. 2008-02-22 11:30:34 +00:00
Tedd Hansen f75e418211 Fixes to ScriptEngine thread cleanup on destructor 2008-02-21 23:43:58 +00:00
Teravus Ovares d4905812bc * Fixed an issue where the client thread was aborted before the UDP server sends a message back to ClientView to close it a second time. (yes we call close twice because there are times when the client closes with a logout and disconnects immediately which causes the UDP server to send a close request to the client thread)
* This update might make things better, it might expose another issue.
2008-02-21 20:22:25 +00:00
Jeff Ames 0103c43697 Update svn properties. 2008-02-21 15:14:39 +00:00
Teravus Ovares 640ad259d4 * A few additional null checks in the Physics Scene and PhysicsActor so we don't try to enumerate dead null ODECharacter objects when things get *really* slow. 2008-02-21 14:51:39 +00:00
Tedd Hansen 89665faeaf ScriptEngine changes in locking. Another step in direction of shared threads. 2008-02-21 11:28:34 +00:00
Tedd Hansen 7102ac7769 "threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging. 2008-02-21 10:43:24 +00:00
Jeff Ames 4a621d106c Remove a couple compiler warnings. 2008-02-21 00:50:09 +00:00
Justin Clarke Casey 0eeb56c61d * Properly guard against the possibility that CopyInventoryItem doesn't get an asset back from the cache 2008-02-20 23:31:33 +00:00
Justin Clarke Casey b0c5ef0b68 * Eliminate AssetCache.CopyAsset()
* Resolve a bad logic bug in AssetCache.GetAsset()
* This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20 23:21:51 +00:00
Tedd Hansen 5f7a02fce9 Treads command lists threads, but not thread name (yet) 2008-02-20 21:09:23 +00:00
Justin Clarke Casey 7d7ad4dff2 * Only count download requests for assets which are not already waiting for data from the asset server
* This should stop the constant increase in the download requests statistics
* If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20 20:23:03 +00:00
Tedd Hansen 684059afdf div+
threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
2008-02-20 20:22:15 +00:00
Teravus Ovares 740ce20d9d * Found the land bug, yay 2008-02-20 20:07:12 +00:00
Justin Clarke Casey f3190810d3 * Properly guard removal of asset request lists on AssetCache.AssetNotFound (my own bug) 2008-02-20 19:13:59 +00:00
Justin Clarke Casey 53d5aeec24 * Remove unused texture dictionaries from AssetCache
* Add documentation to AssetCache
2008-02-20 19:02:04 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Jeff Ames f02b314765 Fix exception when reading OpenSim.ini file. 2008-02-20 18:32:41 +00:00
Justin Clarke Casey c66b5a9e71 Report command string on ConsoleBase.RunCommand exception 2008-02-20 17:54:14 +00:00
Teravus Ovares 07774473af * Fixed a long standing race condition in physics events. Could this be the source of the null on multicast_void: error? 2008-02-20 17:50:19 +00:00
Tedd Hansen 416d752829 llSetTimerEvent updated to use ticks instead of DateTime for internal timing. 2008-02-20 17:35:28 +00:00
Justin Clarke Casey 877713999c * Report 'asset not found' situations back to UserTextureDownloadService
* This fixes some of the 'runaway downloads' problem but not all of it
* Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20 17:34:10 +00:00
Tedd Hansen 96edcea3ae llSetTimerEvent was setting seconds as milliseconds causing major problems in timed scripts... 2008-02-20 17:14:01 +00:00
lbsa71 4c6e5a5090 * re-enabled AssetNotFound code
* turned script asset fetching asynchronous
2008-02-20 13:11:19 +00:00
MW 4c2e304ce6 Fixed big bug in AgentAssetTransactions, now don't seem to be getting any AbortXfer packets. And the "saving data" message in the client on logout seems to have gone. (So that message was all my fault.) 2008-02-20 11:25:36 +00:00
MW 37b989a8c6 some changes to the initialising of AgentAssetTransactionModule to see if they help with the xfer/grey avatar problems. 2008-02-20 11:10:23 +00:00
lbsa71 fec87ad3d7 * just added a readonly and a comment 2008-02-20 10:10:19 +00:00
MW e7a709068a small change 2008-02-20 10:07:54 +00:00
Teravus Ovares ac60382599 * Added a few more packets to ClientView. Added tendons to the Skeletal Groups Module, made it shared to save on threads. 2008-02-20 09:45:26 +00:00
lbsa71 9be5f9d6cc * Fixed xml loading bug (the xml was scheduled for update before added to a scene)
* Fixed ClickAction situation on the same note (properties shouldn't cause big changes)
* Added some more debug output to AssetCache
2008-02-20 09:38:45 +00:00
lbsa71 bf42637ee8 * Caught 'OPTIONS' verb in BaseHttpServer that would otherwise explode.
(There are actually other non-content requests too, but I didn't know what we wanted to do with them)
2008-02-20 08:04:12 +00:00
Teravus Ovares b77c48e75e * Cleanup of some memory consuming items on ScenePresence.Close().
* Untangled a tangly shutdown loop for the ScenePresence.
* Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
2008-02-20 01:17:21 +00:00
Teravus Ovares 932a132116 * Made a quickupdate method to run through only entities that have scheduled themselves for updates looking for changes. This runs 10 times a second.
* Set the massively slow UpdateEntities method to run every 2 seconds instead of 10 times a second.  This method runs through *all* of the entities can calls the virtual update().  
* Documented some of the code in the scene.Update method.
2008-02-20 00:08:04 +00:00
Justin Clarke Casey ca78c3ef0d Doc correction 2008-02-19 23:44:22 +00:00
Justin Clarke Casey 48e085c774 * Add documentation
* The reason why pending downloads tick ever upwards is because missing assets are never signalled to the TextureSender
* Rectifying this is not straightfoward, but this will constitute the next patch.
* This does not explain the memory leak.
2008-02-19 23:42:30 +00:00
Justin Clarke Casey 9a8c19d67b Putting in eyecatcher lines on OpenSim start as we had previously. This makes it easier to pick out a restart of OpenSim in an appended log file 2008-02-19 20:59:21 +00:00
Justin Clarke Casey b331e96e25 Remove "Loading inventory" messages from item inventory loads 2008-02-19 20:21:25 +00:00
Sean Dague 530cc24884 From: Michael Osias <mosias@us.ibm.com>
This patch implements the llSendRemoteData command and fixes mantis 552,
and possibly 586.
2008-02-19 19:16:21 +00:00
Tedd Hansen 69b1edebf6 Added to OpenSim.ini.example:
; Should avatars in neighbor
 sims see objects in this sim?
see_into_this_sim_from_neighbor=True
2008-02-19 18:41:26 +00:00
Teravus Ovares cfc9ee4265 * Adds limited support for each hollow type for the supported prim., Cube with a triangle hollow, Cube with a cylinder hollow, cylinder with a triangle hollow, etc.
* More work needs to be done here as several of the profileshape/hollow combinations are rotationally offset from where they render in the client.
2008-02-19 16:01:14 +00:00
Tedd Hansen 47c909ca0a Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug. 2008-02-19 12:02:53 +00:00
Teravus Ovares 62f608b152 *rawfile fix. 2008-02-19 08:57:43 +00:00
Teravus Ovares e789a6bc9b * This patch adds Prism support to the Meshmerizer. Prism is one of the object types in the drop down on the object tab. Positive tapers are slightly incorrect(prim sinks into ground a tiny bit). Everything else that's supported works as expected. Hollow, cut, negative tapers, top shear. 2008-02-19 08:49:38 +00:00
Dalien Talbot 905251fc07 More distinct startup logo + include the link to FAQ. 2008-02-19 01:03:03 +00:00
Teravus Ovares 01cf9d8b7e * Committing Ahzz's patch number 620.
* Description SQLITE Inventory Table locks. *Provided by Openlfiegrid.com 
* Provides missing inventory table locks in SQLite.
2008-02-19 00:08:28 +00:00
Dalien Talbot 75fe826d57 A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII! 2008-02-18 23:31:48 +00:00
Teravus Ovares d0b218f667 Committing ahzz's patch #619 - Description:
Patch provided by Openlifegrid.com 
Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet.
Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
2008-02-18 21:24:34 +00:00