Commit Graph

30553 Commits (0bd102a397702ffa0e212629c66e89cff5e53cee)

Author SHA1 Message Date
UbitUmarov c74e0e2d9b remove a Paralell.For (actually not used). That kind of fine gained multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere. 2017-05-15 18:10:08 +01:00
Geir Nøklebye 7f163e8f76 Update NPGSQL from version 2.0.14.3 to 2.1.3. This is a relatively big update where 2.1.0 has a number of bug fixes, new functionality and improved performance. (see details at https://github.com/npgsql/npgsql/releases/tag/v2.1.0) The binaries supplied are for .NET 4.0 If you need binaries for older versions they can be dowloaded from https://github.com/npgsql/npgsql/releases/tag/v2.1.3. There are also binaries for 4.5.
The performance improvement is particularly evident on terrain load and other repeated queries to the database. This version will automatically generate prepare statements if it sees 5 consecutive identical statements and cache them for later use. The prepare statement will skip the analyze portion of the query planner once a statement has been created.  In addition there are improvements in the connection pool logic that will improve performance once connections get scarce.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-14 18:59:24 +01:00
Geir Nøklebye c1d06a806d Updated Npgsql.dll to version 2.0.14.3 built for .NET 4.0 Mono.Security has been updated for the same build.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-14 18:58:16 +01:00
UbitUmarov eea247fcc5 Merge branch 'master' into httptests 2017-05-14 07:52:50 +01:00
UbitUmarov 156707edfb clear land object on delete 2017-05-14 06:27:29 +01:00
UbitUmarov 92df6095d5 don't round to nearest int 2017-05-14 05:49:01 +01:00
UbitUmarov f968118e23 don't do dwell if there is no module active 2017-05-14 05:39:22 +01:00
UbitUmarov 9ab8ce1404 fix remote requests for dwell, so dwell module still called 2017-05-14 04:17:48 +01:00
UbitUmarov cb21caae77 fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox. 2017-05-14 01:44:04 +01:00
UbitUmarov 25ca8695f3 find parcels by GlobalID.. well most time 2017-05-13 20:21:56 +01:00
UbitUmarov dd0269df48 fix passcollisions bool value on store 2017-05-13 17:22:56 +01:00
Geir Nøklebye 7cf82a71d6 PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
UbitUmarov 16f02cb6fd we can't allow abort to change only one dic 2017-05-13 16:34:29 +01:00
UbitUmarov 9ea49d107d fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara 2017-05-13 15:58:35 +01:00
UbitUmarov 086eb28a91 a bit more on ServicePointManager 2017-05-12 22:03:53 +01:00
UbitUmarov 948138a3a4 lower connection limits again 2017-05-12 16:45:58 +01:00
UbitUmarov 566c96dc85 revert changes to *exe.config since a host mask of * produces identical effects as runtime setting 2017-05-12 15:54:54 +01:00
UbitUmarov d08df7bda7 mantis 8165: fix a null ref on hg gatekeeper on another place 2017-05-12 15:22:16 +01:00
UbitUmarov 5e577baa10 fix a null ref on hg gatekeeper 2017-05-12 14:42:21 +01:00
UbitUmarov 0f2ab6bddd soem changes on connections limits 2017-05-12 14:20:06 +01:00
UbitUmarov 8bdd4c3ed9 yes it is not destiny grid but destination.. thx u know who :) 2017-05-12 12:30:59 +01:00
UbitUmarov 9c46e4921a remove forgotten refs to Mono.Posix.dll 2017-05-12 04:08:55 +01:00
UbitUmarov a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +01:00
UbitUmarov dcdc527401 Merge branch 'master' into httptests 2017-05-12 01:55:15 +01:00
UbitUmarov 19d141c9a5 avoid a null ref 2017-05-11 23:46:06 +01:00
UbitUmarov 1b7aee89d3 Merge branch 'master' into httptests 2017-05-11 23:14:02 +01:00
UbitUmarov 97d02ecf32 remove a coment added by mistake 2017-05-11 21:44:57 +01:00
UbitUmarov b8138c37d3 hide a nonsense option 2017-05-11 21:41:33 +01:00
UbitUmarov cc95b7e2d4 don't allow multiple presences of same avatar also on HG gatekeeper 2017-05-11 20:26:06 +01:00
UbitUmarov f09fafff34 some cleanup 2017-05-11 20:24:47 +01:00
UbitUmarov fb427daa34 avoid a null ref 2017-05-11 19:06:49 +01:00
UbitUmarov 211a1fe9d4 do not allow multiple logins of same avatar. No HG case, that needs work on some paths. option m_allowDuplicatePresences is checked, but is is a total nonsense.. Presences control will get broken if allowed, No one ever added code to suport it correctly. 2017-05-11 17:59:37 +01:00
UbitUmarov 5968c6372a let new regions know about grid services god 2017-05-11 17:30:57 +01:00
UbitUmarov 7e8c996d1b add a grid services god account 2017-05-11 17:15:02 +01:00
UbitUmarov 09c4952c6d merge 2017-05-09 23:22:36 +01:00
UbitUmarov 731510c305 let .net decide GC mode from its defaults on the platform 2017-05-09 18:27:06 +01:00
UbitUmarov 52d4cf692c update mysql connector to v6.9.9 .net4.0 2017-05-09 12:22:42 +01:00
Geir Nøklebye 03a38a80ab PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
UbitUmarov 957ca41b13 remove file bin/Mono.Posix.dll that causes problems with mono 2017-05-09 11:58:07 +01:00
Geir Nøklebye d952d62baa PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov 4b3d57e964 update mysql connector to v6.9.9 .net4.5 2017-05-08 19:08:20 +01:00
UbitUmarov 72811de98b push .Net framework to 4.5, this means minimal OS is now windows Vista (not XP), but we do need this, namely for easier SSL implementation 2017-05-08 19:06:37 +01:00
UbitUmarov 5622b174c4 update mysql connector to v6.9.9 .net4.0 2017-05-08 04:18:17 +01:00
UbitUmarov f358b39ef5 update httpserver 2017-05-08 04:00:47 +01:00
UbitUmarov 6c79cc652b some conditional dispose on http requests inputstream 2017-05-08 00:54:17 +01:00
UbitUmarov 604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov 8ef43e5fb3 take more heavy work out of opened dbconn sections 2017-05-07 22:22:28 +01:00
UbitUmarov b20778d8ec fix merge 2017-05-07 04:45:28 +01:00
UbitUmarov 11f6d28a06 fix merge 2017-05-07 04:21:33 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00