{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "223124",
   "self": "https://bugs.mojang.com/rest/api/2/issue/223124",
   "key": "BDS-355",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "7",
      "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-02-10T12:56:10.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-355/watchers",
         "watchCount": 2,
         "isWatching": false
      },
      "created": "2019-01-02T09:12:08.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "17409"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2020-02-10T12:56:10.000+0200",
      "status": "5",
      "description": "My server generally runs fine until a player enters a Nether portal, after which the lag increases (or maybe tick rate drops?) significantly.\u00a0 Mobs and players become extremely choppy and block updates (e.g., mining/harvesting) take excessively long to process.\u00a0 This lag persists in the overworld even when players return from the Nether.\u00a0 All clients are on modern Windows 10 PCs and run fine before entering the Nether, so it's not likely a client problem.\u00a0 The only way to clear the lag seems to be to restart the server.",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Entering the Nether creates permanent server lag until restart",
      "creator": "tofulisk",
      "reporter": "tofulisk",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i0wk1r:",
      "environment": "BDS 1.8.0.24 on Ubuntu 18.04 Server",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/509788",
               "id": "509788",
               "author": "tofulisk",
               "body": "Also, server CPU normally runs around 20-25%, but spikes to 100% when the Nether is entered, then drops again to normal after \"generating terrain\" completes on the client.",
               "updateAuthor": "tofulisk",
               "created": "2019-01-02T10:07:20.918+0200",
               "updated": "2019-01-02T10:07:20.918+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/509789",
               "id": "509789",
               "author": "tofulisk",
               "body": "I think I need to further profile CPU/memory as users grow as well.\u00a0 Testing with single player on server, it's not happening.",
               "updateAuthor": "tofulisk",
               "created": "2019-01-02T10:09:06.323+0200",
               "updated": "2019-01-02T10:09:06.323+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/510938",
               "id": "510938",
               "author": "tofulisk",
               "body": "I added memory and the server is still lagging.\u00a0 CPU usage is <25% and memory usage on the host is less than 75% (swap partition space isn't even touched yet), and I'm still getting the lag.",
               "updateAuthor": "tofulisk",
               "created": "2019-01-08T06:02:39.658+0200",
               "updated": "2019-01-08T06:02:39.658+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/511864",
               "id": "511864",
               "author": "ginkeltjes",
               "body": "We have the same problem. When ever someone is entering the Nether the server starts lagging like crazy. It does how ever goes away when people leave the Nether.",
               "updateAuthor": "ginkeltjes",
               "created": "2019-01-12T17:25:45.037+0200",
               "updated": "2019-01-12T17:25:45.037+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/516956",
               "id": "516956",
               "author": "mr_daemon",
               "body": "Also affected on 1.8.1.2 on Ubuntu 18.04 LTS, I've been testing and one single CPU core gets pegged to 100% once someone reaches a specific area of the nether. It will however go back to normal if everyone exits/re-enters. It will also immediately trigger again once players take a few steps in one direction.\n\nMemory remains stable the whole time. Restarting the server while someone is in the nether doesn't seem to help either, as they will immediately trigger the condition again.",
               "updateAuthor": "mr_daemon",
               "created": "2019-02-05T17:08:18.114+0200",
               "updated": "2019-02-05T17:09:05.401+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/517059",
               "id": "517059",
               "author": "mr_daemon",
               "body": "Updated to 1.9.0.15 which released today, the problem is still present and somewhat amplified \u2013 whenever someone loads a dimension of any kind (on connect or through a portal), now all CPU cores of my server are pegged to 100% for an unreasonably long while, and the tickrate gets really horrible. It eventually stabilizes.\n\nThe nether seems to still peg a single core to 100% depending on where you stand inside it.",
               "updateAuthor": "mr_daemon",
               "created": "2019-02-06T03:22:37.857+0200",
               "updated": "2019-02-06T03:22:37.857+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/517340",
               "id": "517340",
               "author": "crezz estamio",
               "body": "You are probably experiencing the effects of mobs not despawning bug do a kill command to pigman and ghasts. that should clear your lag",
               "updateAuthor": "crezz estamio",
               "created": "2019-02-07T03:56:47.372+0200",
               "updated": "2019-02-07T03:56:47.372+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/517360",
               "id": "517360",
               "author": "mr_daemon",
               "body": "I went in and /kill'd all entities, upon return new mobs had spawned in and the problem is indeed gone for now.\n\nThanks!",
               "updateAuthor": "mr_daemon",
               "created": "2019-02-07T04:46:22.204+0200",
               "updated": "2019-02-07T04:46:22.204+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/223124/comment/631806",
               "id": "631806",
               "author": "ionicecko",
               "body": "Looks like this one got sorted!\n\nCould a mod please close this issue.",
               "updateAuthor": "ionicecko",
               "created": "2020-02-10T07:06:03.381+0200",
               "updated": "2020-02-10T07:06:03.381+0200"
            }
         ],
         "maxResults": 9,
         "total": 9,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-355/votes",
         "votes": 2,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 1,
      "total": 1,
      "histories": [
         {
            "id": "1431416",
            "author": "mega_spud",
            "created": "2020-02-10T12:56:10.521+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "7",
                  "toString": "Invalid"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}