Commit Graph

29258 Commits (d1f7fac570f6655507ab2481b76e525e2d6b2c23)

Author SHA1 Message Date
UbitUmarov ad43cc6784 change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds ) 2017-06-13 19:04:18 +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 f33a871d61 hope gc does remove a little dic and contents 2017-06-13 14:15:28 +01:00
UbitUmarov fd8836e493 dont let time go back 2017-06-13 14:09:34 +01:00
UbitUmarov 9526a96b4f some cleanup 2017-06-13 13:22:01 +01:00
UbitUmarov 3ba63dde6e udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny 2017-06-13 12:17:39 +01:00
UbitUmarov e650a4ff16 remove excessive notion of paralelism 2017-06-13 08:56:21 +01:00
UbitUmarov 25371933b4 update Robust32.exe build files 2017-06-12 20:36:36 +01:00
UbitUmarov 46ba2ead1a add Robust32.exe so recovering the option to run it also in 32bit on windows 2017-06-12 20:28:14 +01:00
UbitUmarov a18d45fbdc fix some issues on ubOde physics shape type changes 2017-06-12 16:19:29 +01:00
UbitUmarov f62400c4ca improve english on few messages (thx) 2017-06-12 13:34:39 +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 617f42bcfa try to mk jenkins happy 2017-06-12 01:32:18 +01:00
UbitUmarov dd7ab862ab stop doing UpdateMovementAnimations on avatar collisions, that may cause incorrect changes 2017-06-12 01:07:38 +01:00
UbitUmarov 953872510f add/replace sources of OpenSim32.exe 2017-06-11 22:36:08 +01:00
UbitUmarov d0afd4335c fix a error message 2017-06-11 22:32:56 +01:00
UbitUmarov 5e83c2e422 forget about stupid mono 32bit 2017-06-11 19:29:59 +01:00
UbitUmarov 8c5f09f44b actually.. its opensim, use same log file name in 32b mode 2017-06-11 18:56:34 +01:00
UbitUmarov bd2da771a4 remove a ref to old 32bitlauncher 2017-06-11 18:38:54 +01:00
Kevin Cozens 46c8c4854e Set the execute bit on the bin/opensim*.sh files 2017-06-11 13:30:12 -04:00
UbitUmarov 7941f8da23 add opensim.sh and opensim32.sh for linux, replacing old opensim-ode.sh 2017-06-11 18:12:25 +01:00
UbitUmarov 08659811c7 put back opensim 32bit launcher, renamed as OpenSim32.exe. This allows opensim to run in 32bit mode on 64bit machines. Possible most opensim regions should be running like this. 2GB of Virtual memory is still a lot on memory 2017-06-11 13:04:34 +01:00
UbitUmarov 5842d5f7b0 revert. The .net concurrent objects look nice, but mono5 cpu load with them does not 2017-06-10 13:58:16 +01:00
UbitUmarov 73aa752034 replace some locked objects by .net4.0 concurrent objects 2017-06-10 04:18:31 +01:00
UbitUmarov b5910cfdb7 merge 2017-06-10 02:48:51 +01:00
UbitUmarov be975d1e89 add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap ) 2017-06-09 23:27:33 +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 f69e48bedc make SendCoarseLocations async, since it is http. Make some actions use thread from pool and not a new one. Threading does need a deep cleanup one of this days. This stops mantis 8183 warnings, but as side effect only 2017-06-09 17:32:07 +01:00
Kevin Cozens 3cddfddc3f Minor changes to commented text in bin/OpenSim.ini.example 2017-06-09 10:14:09 -04:00
Kevin Cozens 0ac6b74c5e Fixed typo in log message 2017-06-09 10:14:09 -04:00
UbitUmarov d12957dc2c still losing time with of halcyon incompatibile oars... cathch exceptions of the function that actually throws; Reduce log spam; don't let a broken MOAP stop all object deserialization. Fixing MOAP does not mean halcyon oars issues are fixed, just one. And really we should not even try to go against halcyon decison to be incompatible.(our MOAP encoding did not change since 2010) 2017-06-09 12:14:13 +01:00
Robert Adams 5bfe8b18fe Another attempt at parsing MOAP <Media> elements in OAR files.
Seems there are multiple interpretations of the format of the content of the
<Media> element in OAR files. OpenSimulator (for reasons lost in the mist of time)
escapes the XML in the element and then reparses it was a separate XmlReader.
Other simulators fill the <Media> element with regular XML.

This patch parses the <Media> escaped XML content as it always has and, if
the parsing fails, falls back to trying to parse the pure XML.
2017-06-08 21:41:34 -07:00
UbitUmarov 1e3a19e673 bug fix plus some cleanup 2017-06-09 00:15:53 +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 29f2421d4f revert fa5bf4fd0b for test 2017-06-08 11:45:33 +01:00
UbitUmarov 7bea4f1578 Merge branch 'master' into httptests 2017-06-07 20:12:49 +01:00
UbitUmarov 02b51b84f4 so no real need for Maintenance thread.. so removed 2017-06-07 19:09:16 +01:00
UbitUmarov 2d93008bd9 course locations is a also heartbeat job (for now sync) 2017-06-07 18:52:56 +01:00
UbitUmarov eca89c6e61 remove some more dead scene options 2017-06-07 18:15:15 +01:00
UbitUmarov c8b3925085 remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then a lot is broken. Remove duplicated CleanTempObjects() call, rename BackupWaitCallback thread as BackupWorker ( still didn't found cause for mantis 8783) 2017-06-07 18:04:02 +01:00
UbitUmarov 7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +01:00
UbitUmarov 8971e9f126 Merge branch 'master' into httptests 2017-06-06 21:47:55 +01:00
UbitUmarov 9011ca8461 set optional group position and rotation before attach to scene 2017-06-06 20:38:17 +01:00
UbitUmarov 773914591d Merge branch 'master' into httptests 2017-06-06 03:28:30 +01:00
UbitUmarov a23f99366f bug fix: handle current region on GetChildAgentsToClose 2017-06-06 03:22:11 +01:00
UbitUmarov 258d169392 Merge branch 'master' into httptests 2017-06-06 00:30:01 +01:00
Robert Adams fa5bf4fd0b Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an OAR file.
The code used to call Serializer.ReadElementContentAsString() and then expected to
pass the XML to PrimitiveBaseShape.FromXml to parse. This would throw as
ReadElementContentAsString does not allow any children of the element.
Reading with Serializer.ReadInnerXml() was the fix.
This was only not a problem because most often shapes don't have media and
most simulators don't output anything if the media array is empty.
2017-06-04 20:51:56 -07:00
UbitUmarov aea282ba38 Merge branch 'master' into httptests 2017-06-03 07:20:31 +01:00
UbitUmarov 4320758d97 remove redundant UpdateMovementAnimations(); 2017-06-03 07:19:20 +01:00