{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "251054",
   "self": "https://bugs.mojang.com/rest/api/2/issue/251054",
   "key": "BDS-1134",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "5",
      "customfield_10500": null,
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2020-06-21T05:59:27.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1134/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2019-07-16T18:14:57.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "17604"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2020-06-21T05:59:27.000+0300",
      "status": "5",
      "description": "This issue affects\u00a01.12.0.28 of bedrock_server\n\nDespite setting max-threads, bedrock_server still uses 11 threads",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "277381",
         "277380",
         "277382",
         "277379",
         "277383",
         "277384",
         "227046",
         "227045",
         "277385",
         "227047"
      ],
      "summary": "Server appears not to honour max-threads (1.12.0.28)",
      "creator": "bytespider",
      "reporter": "bytespider",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i118fb:",
      "environment": "lscpu\nArchitecture:        x86_64\nCPU op-mode(s):      32-bit, 64-bit\nByte Order:          Little Endian\nCPU(s):              1\nOn-line CPU(s) list: 0\nThread(s) per core:  1\nCore(s) per socket:  1\nSocket(s):           1\nNUMA node(s):        1\nVendor ID:           GenuineIntel\nCPU family:          15\nModel:               6\nModel name:          Common KVM processor\nStepping:            1\nCPU MHz:             1899.999\nBogoMIPS:            3799.99\nHypervisor vendor:   KVM\nVirtualization type: full\nL1d cache:           32K\nL1i cache:           32K\nL2 cache:            4096K\nL3 cache:            16384K\nNUMA node0 CPU(s):   0\nFlags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc nopl xtopology cpuid pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti\n\n\nlsmem\nRANGE                                 SIZE  STATE REMOVABLE BLOCK\n0x0000000000000000-0x000000007fffffff   2G online        no  0-15\n\nMemory block size:       128M\nTotal online memory:       2G\nTotal offline memory:      0B\n\n\nlsb_release -a\nNo LSB modules are available.\nDistributor ID:\tUbuntu\nDescription:\tUbuntu 18.04.2 LTS\nRelease:\t18.04\nCodename:\tbionic\n",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/642800",
               "id": "642800",
               "author": "ionicecko",
               "body": "Hi Rob,\n\nIs this still an issue in 1.14.32.1?\n\nI've messed with the max-threads option and it appears to have a significant impact on load distribution for me when generating chunks.\n\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-03-04T15:09:32.811+0200",
               "updated": "2020-03-04T15:09:32.811+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/655253",
               "id": "655253",
               "author": "ionicecko",
               "body": "I've not heard back from you in a while.\n\nIn order to keep the Bedrock Dedicated Server project running smoothly I'm going to request this issue be closed as *Awaiting Response*.\n\nNever fear though! If this is still affecting you in the latest version (and is related to Bedrock Dedicated Server and not the Minecraft Bedrock game) all you have to do is comment and it will reopen.\n\nIf your issue does still exist but is related to the game and not the server software please head over to the [Minecraft (Bedrock codebase) project|https://bugs.mojang.com/projects/MCPE/summary].\n\nIonic\n\n*Quick Links*:\n\ud83d\udcd3 [Issue Guidelines|https://bugs.mojang.com/projects/BDS/summary] -- \ud83d\udcac [Community Support|https://minecrafthopper.net/help/technical-support-resources/] -- \ud83d\udce7 [Customer Support|https://help.minecraft.net/hc/en-us/requests/new] -- \ud83d\udcd6 [BDS Wiki|https://minecraft.gamepedia.com/Bedrock_Dedicated_Server] -- \ud83d\udcd6 [FAQs|https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-]",
               "updateAuthor": "ionicecko",
               "created": "2020-03-28T16:14:19.273+0200",
               "updated": "2020-03-28T16:14:19.273+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656045",
               "id": "656045",
               "author": "bytespider",
               "body": "No, It's still not fixed, It appears now it spins up 14 treads. !25 thread running.png|thumbnail!  !1 thread running.png|thumbnail!  !1 thread.png|thumbnail!  !25 thread.png|thumbnail!  !4 thread.png|thumbnail!  !4 thread running.png|thumbnail! ",
               "updateAuthor": "bytespider",
               "created": "2020-03-30T13:31:14.280+0300",
               "updated": "2020-03-30T13:31:14.280+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656048",
               "id": "656048",
               "author": "bytespider",
               "body": "Heres another display of active threads for a process. In this instance, Max Threads was 1. I would expect to see the main process, IO thread, REST thread, Level DB thread MC server thread, and one bedrock_server thread.\n\nOr am I incorrect?\n\n !Screen Shot 2020-03-30 at 11.39.43.png|thumbnail! ",
               "updateAuthor": "bytespider",
               "created": "2020-03-30T13:40:49.245+0300",
               "updated": "2020-03-30T13:43:29.538+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656176",
               "id": "656176",
               "author": "ionicecko",
               "body": "I honestly couldn't tell you if thats expected or not, I don't really understand the relationship between how many threads BDS needs to run and what the max-threads option should entail.\n\nMy testing just involved testing it with 1, then upping that number and checking if the number of active threads changed.\n\nIf you know how this stuff should work and you're confident this is a bug I'm happy to raise it for you.\n\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-03-30T18:43:27.545+0300",
               "updated": "2020-03-30T18:43:27.545+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656179",
               "id": "656179",
               "author": "bytespider",
               "body": "You can see in my screenshots that the number of threads did not change.\n\nI'm pretty convinced this is a bug.",
               "updateAuthor": "bytespider",
               "created": "2020-03-30T18:46:04.830+0300",
               "updated": "2020-03-30T18:46:04.830+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656191",
               "id": "656191",
               "author": "ionicecko",
               "body": "One last question before I go back and test it, are you still running on a 1 core virtual?\n\nLike I mentioned I tested it and saw a significant difference in threads when changing that setting so we\u2019ll likely need to narrow it as much as we can before I can confirm it. \n\nOn first glance (and I\u2019m on my phone thanks to an internet outage so can\u2019t really see the screenshots) the only difference I can see is that I would have been running on a 4-6 core ESXi 18.04.3 virtual whereas your environment notes from your initial report have a 1 socket, 1 core, 1 thread virtual.\n\nI can imagine a scenario where the app won\u2019t accept a setting that would be deleterious to normal operation, that\u2019s obviously pure speculation though and completely debunked if your new tests are on a higher spec VM :P\n\nIonic\n\n",
               "updateAuthor": "ionicecko",
               "created": "2020-03-30T19:09:28.827+0300",
               "updated": "2020-03-30T19:09:28.827+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656192",
               "id": "656192",
               "author": "bytespider",
               "body": "No, it was still 1 socket 1 core 1 thread but I will test on higher specs and report back.",
               "updateAuthor": "bytespider",
               "created": "2020-03-30T19:11:55.149+0300",
               "updated": "2020-03-30T19:11:55.149+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/251054/comment/656211",
               "id": "656211",
               "author": "bytespider",
               "body": "Update:\n\n1 socket, 4 cores, 1 thread. Things do change in terms of initial threads. max-threads=1 or 2 I get 11 threads, 3 gets 12, >=4 13 threads.\n\nI'm unable to test how it affects gameplay as I only have a low spec tablet with the game currently.\n\nPerhaps go ahead and close this since I'm the only one affected in over 8 months",
               "updateAuthor": "bytespider",
               "created": "2020-03-30T19:48:50.274+0300",
               "updated": "2020-03-30T19:48:50.274+0300"
            }
         ],
         "maxResults": 9,
         "total": 9,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-1134/votes",
         "votes": 1,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 7,
      "total": 7,
      "histories": [
         {
            "id": "1456019",
            "author": "ionicecko",
            "created": "2020-03-04T15:09:40.139+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "awaiting-response"
               }
            ]
         },
         {
            "id": "1486364",
            "author": "ocelotonesie",
            "created": "2020-03-28T16:44:24.740+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "1487922",
            "author": "bytespider",
            "created": "2020-03-30T13:30:57.225+0300",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277379",
                  "toString": "25 thread running.png"
               },
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277380",
                  "toString": "1 thread running.png"
               },
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277381",
                  "toString": "1 thread.png"
               },
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277382",
                  "toString": "25 thread.png"
               },
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277383",
                  "toString": "4 thread.png"
               },
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277384",
                  "toString": "4 thread running.png"
               }
            ]
         },
         {
            "id": "1487923",
            "author": "arisabot",
            "created": "2020-03-30T13:31:05.304+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "1487926",
            "author": "bytespider",
            "created": "2020-03-30T13:40:42.991+0300",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "277385",
                  "toString": "Screen Shot 2020-03-30 at 11.39.43.png"
               }
            ]
         },
         {
            "id": "1488203",
            "author": "ionicecko",
            "created": "2020-03-30T18:41:40.613+0300",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "awaiting-response",
                  "to": null,
                  "toString": ""
               }
            ]
         },
         {
            "id": "1665967",
            "author": "ionicecko",
            "created": "2020-06-21T05:59:27.845+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "5",
                  "toString": "Cannot Reproduce"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}