<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:24:19 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-19101] Entering a nether portal causes 100% CPU every time</title>
                <link>https://bugs.mojang.com/browse/BDS-19101</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;Any player entering a nether portal causes 4000% CPU (100% across all CPUs) usage. The server does not crash but recovers after a few minutes and the nether successfully loads. The problem is that it should not take 40 cores 2-3 minutes to load the nether every time and for every player. There are no errors in the log. This is an almost new server, the nether was created near the spawn.&lt;/p&gt;</description>
                <environment>Bedrock Server v1.20.62.03&lt;br/&gt;
Proxmox running linux container running docker container with 40 CPU cores&lt;br/&gt;
Plenty of SSD hard drive space&lt;br/&gt;
Plenty of RAM&lt;br/&gt;
Local gigabit networking&lt;br/&gt;
Thread count set to 0</environment>
        <key id="552018">BDS-19101</key>
            <summary>Entering a nether portal causes 100% CPU every time</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="4" iconUrl="https://bugs.mojang.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="anladwig">anladwig</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2024 04:58:33 +0100</created>
                <updated>Fri, 10 Jan 2025 04:02:43 +0100</updated>
                                            <version>1.20.62</version>
                    <version>1.20.81</version>
                    <version>1.21.0</version>
                    <version>1.21.1</version>
                    <version>1.21.3</version>
                    <version>1.21.23</version>
                                                            <votes>15</votes>
                                    <watches>16</watches>
                                                                            <comments>
                            <comment id="1374180" author="JIRAUSER531060" created="Fri, 10 Jan 2025 04:01:36 +0100"  >&lt;p&gt;I have this issue on my BDS as well and made a ticket about it last year here: &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-19244&quot; title=&quot;High render distance causes long Nether loading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-19244&quot;&gt;BDS-19244&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Interestingly, my server&apos;s issue is a bit different than the ones described here and at &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-19359&quot; title=&quot;Nether lags dedicated servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-19359&quot;&gt;BDS-19359&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have the long nether loading time, which is alleviated when turning the render distance down. Also have chunks that refuse to load for 30+ seconds, which is present even with lowest render distance. (server render distance is 24 by default, I tried turning it to 5, same result.)&lt;/p&gt;

&lt;p&gt;However, eating and flying are normal (not laggy as described in the other ticket). And notably, server CPU usage does not spike to 100% but goes up to around 60% for the duration of loading.&lt;/p&gt;

&lt;p&gt;My server is hosted by Bisect Hosting and the &quot;client-side-chunk-generation&quot; option is not present in my server properties file&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/601375/601375_cpu+usage.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="1355434" author="JIRAUSER793188" created="Sun, 15 Sep 2024 18:43:17 +0200"  >&lt;p&gt;Confirming I still have this issue on v1.21.23. Running on a Debian 12 VM on ESXi with plenty of power. All of my server players have this issue. I&#8217;ve had this issue running the server on Windows 11, Windows Server 2019, and Debian 12. Tried multiple setting and VM adjustments as well as kernel level adjustments and nothing seems to make it better. Just massive usage every time entering the nether. I&#8217;ll have 48 GHz of CPU Usage pulled just by my Minecraft VM.&lt;/p&gt;</comment>
                            <comment id="1350185" author="JIRAUSER791186" created="Thu, 22 Aug 2024 00:01:27 +0200"  >&lt;p&gt;Having the same issue. Teleporting to the nether causes 100% CPU usage (all cores) for a good 30 seconds. The other players in the overworld experience severe lag.&lt;/p&gt;</comment>
                            <comment id="1348415" author="proulx417" created="Sun, 18 Aug 2024 05:43:34 +0200"  >&lt;p&gt;client-side-chunk-generation-enabled true or false cause same issue with my server i&apos;v 3 server with same nether bug on linux centos&lt;/p&gt;</comment>
                            <comment id="1341178" author="cornerhard" created="Wed, 24 Jul 2024 23:08:09 +0200"  >&lt;p&gt;Thank you for the details and the repro video! We will take a look&lt;/p&gt;</comment>
                            <comment id="1340925" author="JIRAUSER700858" created="Wed, 24 Jul 2024 02:13:46 +0200"  >&lt;p&gt;I can confirm this issue occurs on Windows 11 23H2 running 1.21.3 BDS with client-side-chunk-generation-enabled=true.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I also experienced that after immediately loading into the Nether, the portal, all other structures, and excavating is reverted to the original Nether landscape. After 30-60 seconds, the Nether loads with the structures and excavating, and you &quot;teleport&quot;/snap to the portal.&lt;/p&gt;

&lt;p&gt;Below is a link to a video showing the lag described above.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://youtu.be/xxw9vdYZ3Bs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://youtu.be/xxw9vdYZ3Bs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Dedicated Server Specs are below.&lt;/p&gt;

&lt;p&gt;Device name &#160; &#160;minecraftserver&lt;br/&gt;
Processor &#160; &#160;Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz &#160; 3.00 GHz&lt;br/&gt;
Installed RAM &#160; &#160;32.0 GB (31.8 GB usable)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1339658" author="urbanducksf" created="Thu, 18 Jul 2024 04:40:30 +0200"  >&lt;p&gt;To add some data from my experience:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Newly created worlds&lt;/li&gt;
	&lt;li&gt;Tested BDS on:
	&lt;ul&gt;
		&lt;li&gt;debian 12 LXC (12 CPU Cores)&lt;/li&gt;
		&lt;li&gt;ubuntu 22.04 LXC (12 CPU Cores)&lt;/li&gt;
		&lt;li&gt;Windows 10 VM (12 CPU Cores)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Tested using `max-threads` set to 4, 8, 12, and 0.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In all instances, all threads use 100% CPU.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Some interesting observations:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The greater the view distance, the longer it takes to load the Nether.&lt;/li&gt;
	&lt;li&gt;It appears the more chunks previously generated in the Nether, the longer it takes to load.&lt;/li&gt;
	&lt;li&gt;The more threads I assign to a world, the longer it takes to load the Nether.&lt;/li&gt;
	&lt;li&gt;The CPU usage when navigating around the Nether (generating new chunks), is much higher than in the Overworld (when generating new chunks).&#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;Stepstoreproduce%3A&quot;&gt;&lt;/a&gt;Steps to reproduce:&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Create new world from fresh unzip of bds server download, using the default `server.properties`.&lt;/li&gt;
	&lt;li&gt;Edit `server.properties` and set to creative mode, cheats enabled&lt;/li&gt;
	&lt;li&gt;Start server&lt;/li&gt;
	&lt;li&gt;Join world with Windows client set to 32 view distance&lt;/li&gt;
	&lt;li&gt;Back at server console, give user OP&lt;/li&gt;
	&lt;li&gt;Back at client, Create a portal&lt;/li&gt;
	&lt;li&gt;Enter portal (At this point it doesn&apos;t take too long)&lt;/li&gt;
	&lt;li&gt;Fly around nether to generate some chunks, in all directions away from portal.&lt;/li&gt;
	&lt;li&gt;Return to Overworld&lt;/li&gt;
	&lt;li&gt;Enter portal to Nether&lt;/li&gt;
&lt;/ol&gt;


&lt;h3&gt;&lt;a name=&quot;Expected%3A&quot;&gt;&lt;/a&gt;Expected:&lt;/h3&gt;

&lt;p&gt;Nether should load in a few seconds&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Actual%3A&quot;&gt;&lt;/a&gt;Actual:&lt;/h3&gt;

&lt;p&gt;It now takes longer to load the Nether. &#160;&lt;/p&gt;

&lt;p&gt;Sometimes the Nether appears, but you cannot interact with it, nor can you open your inventory. &#160;After a while (10 - 60 seconds), you are teleported back to the portal and you can now interact with the Nether.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1338648" author="JIRAUSER713762" created="Fri, 12 Jul 2024 20:43:43 +0200"  >&lt;p&gt;Further update, I enabled client-side-chunk-generation-enabled on the server that I help run, with render distance set at 20, and this actually caused a lot more issues than when it was disabled.&lt;/p&gt;

&lt;p&gt;Not only was the nether laggy, but the overworld starting lagging more, with chunks taking anywhere up to 30 seconds to load in.&lt;/p&gt;

&lt;p&gt;After disabling the client-side-chunk-generation-enabled, the world goes back to only lagging when players go to the nether.&lt;/p&gt;</comment>
                            <comment id="1338466" author="JIRAUSER713762" created="Thu, 11 Jul 2024 23:17:43 +0200"  >&lt;p&gt;Can confirm this is still an issue in version 1.21.2.02&lt;/p&gt;

&lt;p&gt;Something to note; this issue not only occurs in brand new worlds, but also effects both Modded and un-modded Worlds.&lt;/p&gt;</comment>
                            <comment id="1338042" author="JIRAUSER555914" created="Wed, 10 Jul 2024 15:12:42 +0200"  >&lt;p&gt;&lt;b&gt;Thank you for your report!&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;However, this issue has been temporarily closed as &lt;b&gt;&lt;font color=&quot;#ff5722&quot;&gt;Awaiting Response&lt;/font&gt;&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Is this issue occurring also in newly created worlds?&lt;/p&gt;

&lt;p&gt;This ticket will automatically reopen when you reply.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
 &#128211; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/4408887473421&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &#8211; &#128172; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support&lt;/a&gt; &#8211; &#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Project Summary&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Suggestions&lt;/a&gt; &#8211; &#128214; &lt;a href=&quot;https://minecraft.wiki&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1332285" author="JIRAUSER783369" created="Tue, 18 Jun 2024 14:29:08 +0200"  >&lt;p&gt;For what it&apos;s worth, my 1.21.1.03 BDS has the same issue, but a perf recording during the issue period where a client is nether portaling mostly shows that the CPU &quot;usage&quot; is actually just threads spin-waiting on lock contention.&lt;/p&gt;

&lt;p&gt;client-side-chunk-generation-enabled=true&lt;/p&gt;

&lt;p&gt;for me, but it shouldn&apos;t matter greatly in this particular portaling event, the surrounding areas on both sides of the portal have been mutated and stored into the leveldb already so need to be fetched from the server anyways rather than the client generating its own.&lt;/p&gt;

&lt;p&gt;The performance is extremely bad at all of the client view distances I tried from 24-50, and entering the nether portal takes 20-30 seconds.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;edit: I spun up my world on Windows Server 2022 and it has the same issue, it&apos;s not exclusively a linux issue.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;577372_thumb&quot; href=&quot;https://bugs.mojang.com/secure/attachment/577372/577372_image-2024-06-18-05-24-34-858.png&quot; title=&quot;image-2024-06-18-05-24-34-858.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;577372&quot; file-preview-title=&quot;image-2024-06-18-05-24-34-858.png&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/thumbnail/577372/_thumb_577372.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="1332167" author="cornerhard" created="Tue, 18 Jun 2024 01:46:36 +0200"  >&lt;p&gt;If&#160;&lt;tt&gt;client-side-chunk-generation-enabled&lt;/tt&gt; isn&apos;t set to &quot;true&quot; in the server.properties, it can take quite a long time for CPU performance to settle if render distances are high. &lt;/p&gt;

&lt;p&gt;If you&apos;re experiencing this, please post a comment with whether you&apos;re using &lt;tt&gt;client-side-chunk-generation-enabled&lt;/tt&gt; and mention what your max render distance setting is.&lt;/p&gt;</comment>
                            <comment id="1330448" author="cornerhard" created="Wed, 12 Jun 2024 22:47:52 +0200"  >&lt;p&gt;Thanks for the report. We will take a look.&lt;/p&gt;</comment>
                            <comment id="1329503" author="JIRAUSER782133" created="Sun, 9 Jun 2024 06:38:06 +0200"  >&lt;p&gt;can confirm that&lt;/p&gt;

&lt;p&gt;server.properties:&lt;br/&gt;
client-side-chunk-generation-enabled=&lt;b&gt;false&lt;/b&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
reduce time to load nether while entering portals.&lt;br/&gt;
overwise, sometimes (below 50% cases) - player can hear footsteps sounds for a minute or so, and then after loading to Nether can fall down to lava through blocks below the portal.&lt;br/&gt;
&#160;&lt;br/&gt;
So, developers, server need more time to load - just add more seconds in a process, or make some subrouting to check memory loading.&lt;br/&gt;
High CPU = unzipping and reading too more chunks in one moment.&lt;br/&gt;
&#160;&lt;br/&gt;
IMO&lt;/p&gt;</comment>
                            <comment id="1329187" author="JIRAUSER773323" created="Fri, 7 Jun 2024 22:41:33 +0200"  >&lt;p&gt;@greymagic27 This does not happen outside of BDS&lt;/p&gt;</comment>
                            <comment id="1329183" author="JIRAUSER773323" created="Fri, 7 Jun 2024 22:39:28 +0200"  >&lt;p&gt;Still occurring in &lt;b&gt;1.20.81.01&lt;/b&gt;&lt;/p&gt;</comment>
                            <comment id="1326828" author="JIRAUSER553298" created="Thu, 30 May 2024 16:06:19 +0200"  >&lt;p&gt;This issue is still occurring on 1.20.81&#160;&lt;/p&gt;</comment>
                            <comment id="1315672" author="JIRAUSER776496" created="Fri, 12 Apr 2024 02:48:34 +0200"  >&lt;p&gt;This problem has occurred on my server since many updates ago, probably 6 months or more. It seemed to get better with 1.20.64, slow to load through nether portals but did not crash the server. But since updating to 1.20.73, the crashes have started occurring again. Previous to 1.20.64, the crash would cause me to be at the entrance portal&apos;s coords in the dimension I was meant to be exiting to, so e.g. I go into portal in overworld at 100 64 2000, and end up on relog in the nether at 100 64 2000. Now when the server crashes it just takes me back in time by 30 seconds or so. CPU jumps to 700%, sometimes it will crash, other times is just takes ages to load as others see. Cannot replicate on single player world when use downloaded copy of the world and some portals perform better than others with varying levels of builds on either side of the portal. Server is hosted through Nodecraft, performance other than this portal issue is very good. Can answer questions if more info required.&lt;/p&gt;</comment>
                            <comment id="1315549" author="JIRAUSER738282" created="Thu, 11 Apr 2024 14:08:37 +0200"  >&lt;p&gt;Pls fix that!&lt;/p&gt;</comment>
                            <comment id="1311439" author="JIRAUSER738282" created="Sat, 23 Mar 2024 01:03:15 +0100"  >&lt;p&gt;It also happening on 1.20.71&lt;/p&gt;</comment>
                            <comment id="1308677" author="JIRAUSER773323" created="Mon, 11 Mar 2024 02:14:39 +0100"  >&lt;p&gt;Not to my knowledge, however I did confirm that changing the thread count setting in the server config from 0 to 8 means that it only uses 800% CPU.&lt;/p&gt;</comment>
                            <comment id="1308468" author="greymagic27" created="Sat, 9 Mar 2024 13:39:28 +0100"  >&lt;p&gt;Does this issue occur outside of BDS?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="556503">BDS-19244</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="560736">BDS-19359</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="601375" name="cpu usage.png" size="12374" author="RogueCheddar" created="Fri, 10 Jan 2025 04:01:55 +0100"/>
                            <attachment id="577372" name="image-2024-06-18-05-24-34-858.png" size="245880" author="clockfort" created="Tue, 18 Jun 2024 14:24:35 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1265097</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12700" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Description</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>[Briefly describe the bug here]&lt;br/&gt;
&lt;br/&gt;
*Steps to Reproduce:*&lt;br/&gt;
# [Step 1]&lt;br/&gt;
# [Step 2]&lt;br/&gt;
# [Step 3]&lt;br/&gt;
&lt;br/&gt;
*Observed Results:*&lt;br/&gt;
[Describe what happens]&lt;br/&gt;
&lt;br/&gt;
*Expected Results:*&lt;br/&gt;
[Describe what should happen]&lt;br/&gt;
&lt;br/&gt;
*Screenshots/Videos attached:* [please attach an image or short video]&lt;br/&gt;
&lt;br/&gt;
*Notes:*</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i2givb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>