Commit Graph

4774 Commits

Author SHA1 Message Date
UbitUmarov
79e166e9aa revert EnvironmentTick back to orignal clock, since change may cause issues on some code paths. Clean a bit get mesh and get texture throttle 2017-06-19 05:22:38 +01:00
UbitUmarov
4df19ece53 framework main thread pool is always active and in use ( even id hard to catch) so show in on show stats. Disable ServerStatsCollector by default, since most don't use it, Adicionally it uses shared framework performance counters system that may be affected if a region crashs 2017-06-16 18:16:26 +01:00
UbitUmarov
822574df9f change the clock source for EnvironmentTickCount so it does get a bit more resolution if avaiable (1ms) specially on windows. This until all calls to this are removed. Coment out some stats in workpool/threads creation path 2017-06-15 20:28:20 +01:00
UbitUmarov
d9a300fa8e some cleanup.. remove some stats that only some do look at once on a lifetime 2017-06-14 20:19:13 +01:00
UbitUmarov
5e67bd5778 main generic use JobEngine also does not need a permanent thread.. actually doesn't even seem to be in use 2017-06-14 00:51:22 +01:00
UbitUmarov
482ff06e13 make JobEngine be a workitem of mail pool (smartThread), with the option to release thread after a idle time, so is free to do other service elsewhere 2017-06-13 18:50:34 +01:00
UbitUmarov
5ce15566ac add option for Fireandforget not timeout (our access to main smartThreadPool) 2017-06-13 18:39:42 +01:00
UbitUmarov
70be8ba6de make some web request errors visible, so cause of later asset not found is clear 2017-06-12 13:29:14 +01:00
UbitUmarov
e8165a7b51 only silent remove threads from watch list if they stopped ( ie still consider aborted etc ) 2017-06-09 20:14:56 +01:00
UbitUmarov
ef2fd8fcea keep the reverted code, that does work. Our code likes to have pbs.Media == null when there is no MOAD defined, so handle possible odd oars that may have llsd <array /> on that case 2017-06-08 20:47:51 +01:00
UbitUmarov
67e540e05c cross mouse buttons state 2017-06-03 04:28:43 +01:00
UbitUmarov
b1c585718c remove debug messages 2017-05-31 04:30:00 +01:00
UbitUmarov
90da5280af put back soft http close 2017-05-30 09:01:39 +01:00
UbitUmarov
e5bebe3a32 webrequests serialiazation per endpoint its now ServicePointManager job 2017-05-30 08:20:58 +01:00
UbitUmarov
91caf98308 change servicePoint dns expire also to 5min, let the endpoints expire slide. This should reduce impact of absurd dns fails observed on my test ubuntu VM 2017-05-29 07:48:09 +01:00
UbitUmarov
a317bba8cf cache endpoints (and other paths) dns requests for 5min, this delay should be acceptable in all cases ? 2017-05-29 07:11:13 +01:00
UbitUmarov
8f86de265c some cleanup and assume Linux/mono DNS is just broken... 2017-05-29 05:22:21 +01:00
UbitUmarov
7be6e16555 no.. still a fail 2017-05-29 03:41:09 +01:00
UbitUmarov
27afe136d4 mono is a total crap 2017-05-29 03:13:56 +01:00
UbitUmarov
2c19d08448 cleanup util.cs get dns 2017-05-29 02:07:53 +01:00
UbitUmarov
99111e5052 enclose GetRequestStream on try/catch 2017-05-28 23:51:13 +01:00
UbitUmarov
d1306c8976 a null ref check left behind on previus commits 2017-05-28 02:11:40 +01:00
UbitUmarov
e7c2674dec cleanup (grid)region info endpoint; add log to try to find some xml decode issues 2017-05-26 21:26:51 +01:00
UbitUmarov
8d8236cfb2 missing file change.. actually use watchdog threads on assetsconnector and
avoid null refs on JobEngine
2017-05-26 00:34:46 +01:00
UbitUmarov
d90b68c2a6 change wrong watchdog stopped thread check code, and don't log it 2017-05-26 00:05:35 +01:00
UbitUmarov
772c5b7db0 move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit 2017-05-25 06:05:02 +01:00
UbitUmarov
e5377eb839 use threads from main pool on assetsconnector 2017-05-25 04:51:45 +01:00
UbitUmarov
b6c23fe911 make a few more threads background ones 2017-05-25 02:01:36 +01:00
UbitUmarov
dca3a45803 add a bit more pre exit cleanup 2017-05-24 22:17:04 +01:00
UbitUmarov
f3eb73926e stop a few more threads on exit 2017-05-23 04:05:31 +01:00
UbitUmarov
928733efc9 please DIE! PLEASE?? 2017-05-23 03:26:32 +01:00
UbitUmarov
73222e4dd4 fix IClientIPEndpoint broken by justin long ago.. but stop using it
except on SceneBanner, later it my be also removed from there and
 everywhere
2017-05-22 19:16:42 +01:00
UbitUmarov
fcb435deb4 make sure we drop requests if DoHTTPGruntWork fails 2017-05-22 05:53:59 +01:00
UbitUmarov
a2c2456076 remove LongPoll type and queues. Events should now have reduced latency also. About previus commit, it maybe a modified ingen-e3s-v1.33 script that is broken, and not the original version, can't tell 2017-05-21 02:11:53 +01:00
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
UbitUmarov
156707edfb clear land object on delete 2017-05-14 06:27:29 +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
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
604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov
d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov
a96c0f760a having the file open then let PermissionsToString know about Export 2017-04-30 14:42:39 +01:00
UbitUmarov
0d59a29dc7 save some nanoseconds if unfolding will not change anything ( export default mks it rare, but looks nice) 2017-04-30 14:39:20 +01:00
UbitUmarov
b67904a651 remove a redundant operation 2017-04-30 14:31:46 +01:00
UbitUmarov
522695c821 update folded permitions if taking from world, or after unfold 2017-04-29 22:09:45 +01:00
UbitUmarov
04117d9f75 recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability 2017-04-29 19:07:04 +01:00
UbitUmarov
ba4e13ef55 a few changes to permissions folding... we are testing. at this point only use master for TESTING also 2017-04-28 20:03:44 +01:00
UbitUmarov
1b8c71c965 give more information on Fatal Error during region startup 2017-04-26 16:15:33 +01:00
UbitUmarov
7c5376f224 move mesh pbs creation code out of mesh upload code into to PrimitiveBaseShape.cs 2017-04-25 14:21:01 +01:00