Commit Graph

27245 Commits (118aff520efba90bc9f8c767beaf5378a92b1939)

Author SHA1 Message Date
Melanie Thielker 52dc27991f Give extra info on the call stack when SQL errors happen 2014-08-09 16:25:40 +02:00
UbitUmarov 2eb1c1c377 move from RegisterInventoryServiceHandlers to
RegisterRegionServiceHandlers what belongs there ( readabilitly only )
2014-08-09 15:15:27 +01:00
UbitUmarov dc7b9c1cc3 dont do for children what is for growups ( root agents) ( needs check) 2014-08-09 15:12:02 +01:00
UbitUmarov 74efe1e393 explicitly force a reset to the event on creation
#Please enter the commit message for your changes. Lines starting
2014-08-09 15:08:21 +01:00
Melanie Thielker ddfb05e57a Comment out stupid XEngine-bound message about script vs non-script startup, it's annoyed me for a long time. Comment out periodic stats as well, they've never been useful to us and just cause console spew. 2014-08-09 05:31:09 +02:00
Justin Clark-Casey (justincc) 8738445eb7 Move the inventory request lock introduced in git master a58152bd to HGInventoryBroker to preserve that behaviour there but allow 2 simultaneous inv requests (chiefly WebFetch) rather than 1
This lock serialized all requests and made the inventory throttling in WebFetch redundant.
By moving this lock, two simultaneous requests may now take place which may help with http://opensimulator.org/mantis/view.php?id=7054
2014-08-09 00:52:51 +01:00
Justin Clark-Casey (justincc) 30f1b424bb Change RootRotationUpdateTolerance from 0.01 to 0.1 in code as well. 2014-08-08 23:47:53 +01:00
Justin Clark-Casey (justincc) 36f01dce2d Change MaxPoolThreads default in code as well from 15 to 300 2014-08-08 23:47:03 +01:00
Justin Clark-Casey (justincc) 91f3be71e3 Reduce default rotation AgentUpdate output sensitivity to a setting that cuts down UDP traffic without obvious adverse effects on observed avatar rotations.
Experimentally, on the Linden Lab grid the avatar can rotate slightly before triggering AvatarUpdates, whereas this is practically impossible in OpenSimulator.
These updates allow other avatars to see rotations, though sensitivity is low since other avatars can only be seen in one of 8 body rotations.
This commit changes sensitivity from 0.01 to 0.1, which better matches LL and reduces UDP traffic which has a beneficial impact on network and CPU load.
This has no impact on rotations in the simulator itself so simulation fidelity is the same as before.
To change this setting back for test/other purposes, edit RootRotationUpdateTolerance in the [InterestManagement] section of OpenSim.ini
2014-08-08 23:39:40 +01:00
Justin Clark-Casey (justincc) a483525016 Change default max threads if SmartThreadPool is used as the main thread pool from 15 to 300
Running out of such threads under heavy load causes delayed packet processing which can lead to spurious UDP resends and knock on issues.
We already massively boost the min/max builtin pool worker and IOCP threads (which even with STP are still used for inbound network requests) without obvious adverse effects.
The threads are only instantiated if they are required.
This change does not affect other async_call_method options.
2014-08-08 23:34:49 +01:00
UbitUmarov ebbf236abc of course.. bug.. 2014-08-08 02:25:31 +01:00
UbitUmarov 9aa6389b8b lock set appearence during ValidateBakedTextureCache there seems to be a
overlap in same cases
2014-08-08 02:22:18 +01:00
UbitUmarov 998e3d435a DANGER back to right current max number of wearables ( TP out of regions
with this may kill old regions)
2014-08-08 01:39:19 +01:00
UbitUmarov c6cdd597f3 add wearables array size checks on unpack 2014-08-08 01:32:16 +01:00
UbitUmarov 2a457c862e Merge branch 'master' into ubitworkmaster 2014-08-08 00:52:41 +01:00
UbitUmarov 16bcd86dfb back to max 15 wearables until its safe ( and before i kill other grid
regions)
2014-08-08 00:01:49 +01:00
UbitUmarov a8e49a4538 max 16 for testing 2014-08-07 23:33:48 +01:00
UbitUmarov 4ae0bb7df1 add limites checks on wearables size, revert to max 15 for
compatibility/testing
2014-08-07 23:29:31 +01:00
Melanie Thielker 5628c0bcd6 Reduce delay time on regin handshake reply to speed up terrain sending.
Terrain IS more important than avatar!
2014-08-07 23:54:38 +02:00
UbitUmarov 7486684436 update the max number of texture faces and wearables to current values.
This should be safe now..
2014-08-07 22:47:29 +01:00
UbitUmarov 73cbdf2c6b bug 2014-08-07 22:00:23 +01:00
UbitUmarov 6d372f3d9e remove annoying debug msg . still a lot of spam, but to remove later 2014-08-07 21:37:11 +01:00
UbitUmarov f788947594 make grid baked textures override the ones on appearance. Due to bug
somewhere they are always bad at ValidateBakedTextures entry. ( even if
 they where good and on assets cache we whould need to generate the
 cacheID hash )
2014-08-07 21:24:52 +01:00
UbitUmarov 38e2e5942c bug on upload new bakes decision 2014-08-07 19:16:51 +01:00
Melanie Thielker a06d66b70b Merge branch 'ubitworkmaster' 2014-08-07 16:55:00 +02:00
UbitUmarov dfa9ba0937 minor clean, dont check for cache if we aren't using it.. 2014-08-07 08:47:03 +01:00
UbitUmarov 1408c9eee7 reply to cached checks with same serial number 2014-08-07 07:55:56 +01:00
UbitUmarov a95afb7fc5 bug 2014-08-07 07:36:23 +01:00
UbitUmarov 12d8ed2dcd only send to bakedmodule the baked textures :) 2014-08-07 07:08:01 +01:00
UbitUmarov b7f24bacce bugg 2014-08-07 06:09:56 +01:00
UbitUmarov c3f9c99fb3 DANGER... changed bakedtextures caching. Assuming grid baking is cache
only, reduced number of accesses to it. TESTING
2014-08-07 05:20:45 +01:00
BlueWall 2924d250ab Fix short help string for show region command. 2014-08-06 21:41:53 -04:00
BlueWall 10a8d2852e OpenSimExtras
Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
2014-08-06 17:25:12 -04:00
Oren Hurvitz e36e416637 Fixed crash when using Allowed/Denied Viewers, and the viewer's name is shorter than one of the test strings
This fixes http://opensimulator.org/mantis/view.php?id=7294
2014-08-06 19:02:15 +03:00
UbitUmarov 552b4e45e8 bakemodule didnt like last changes 2014-08-06 05:56:10 +01:00
UbitUmarov 66dea8fe05 some debug to remove later 2014-08-06 05:17:30 +01:00
UbitUmarov bd3d58dd00 try to make the baked textures cache work 2014-08-06 04:54:14 +01:00
Justin Clark-Casey (justincc) 78ccadb27e Add RootPositionUpdateTolerance, RootRotationUpdateTolerance, and RootVelocityUpdateTolerance parameters to [InterestManagement] in OpenSimDefaults.ini
These govern when AgentUpdates are sent to observers on position, rotation and velocity changes to an avatar (including the avatar themselves).
Higher values reduce AgentUpdate traffic but at a certain level will degrade smoothness of avatar and perceived avatar movement.
2014-08-06 00:53:14 +01:00
Justin Clark-Casey (justincc) 961cb9cc77 refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance for better accuracy and consistency with other similar parameters 2014-08-06 00:35:26 +01:00
UbitUmarov e1a5a1f829 apply objectSlamSale to all roots of coalescence objects. replace the
single object condition for renaming
2014-08-05 23:25:08 +01:00
UbitUmarov 3c321e5bb3 dont mess with names and descriptions on coalescence objects. Inventory
name can change for inventory purposes only.
2014-08-05 22:49:41 +01:00
UbitUmarov 2c4908578e revert to old avn-current code, not using ApplyPermissionsOnRez() till its
reviewed/fixed
2014-08-05 21:55:42 +01:00
UbitUmarov 01780d4dc6 put back a check for null foldedperms 2014-08-05 19:59:21 +01:00
UbitUmarov 31b5a587a4 Merge branch 'master' into ubitworkmaster 2014-08-05 19:28:56 +01:00
UbitUmarov c80322f1e6 dont change agentItem.BasePermissions where avination-current didn't
change
2014-08-05 19:03:11 +01:00
UbitUmarov 6eca2475d4 dont assume that all zero folded perms are to ignore ( coerence with old
code in avn-current )
2014-08-05 17:55:30 +01:00
Oren Hurvitz dc2471fedd Fixed premature closing of the connection in DataSnapshotManager 2014-08-05 19:09:11 +03:00
Justin Clark-Casey (justincc) 0e71e3889c Go back to disconnecting bots in parallel since serially is too slow.
However, disconnecting now halts any current connection, with the possible exception of the single currently connecting bot.
2014-08-05 01:37:10 +01:00
Justin Clark-Casey (justincc) fcc665a567 Put pCampbot "disconnect" command on separate thread like "connect" so that we can continue to run status commands whilst bots are disconnecting. 2014-08-05 01:15:07 +01:00
Justin Clark-Casey (justincc) e57e9e95d4 Allow "show bots" pCampbot console command to quickly report status by not locking entire bot list for almost 100% of connection time. 2014-08-05 01:07:08 +01:00