Expected Behavior:
Chunks would save appropriately, without a hitch.
Actual Behavior:
I get this huge error message no matter what I do.
[13:22:30] [IO-Worker-1940/ERROR]: Failed to store chunk [14, -1]
java.io.IOException: Operation timed out
at java.base/sun.nio.ch.UnixFileDispatcherImpl.pwrite0(Native Method) ~[?:?]
at java.base/sun.nio.ch.UnixFileDispatcherImpl.pwrite(UnixFileDispatcherImpl.java:71) ~[?:?]
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:135) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:102) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:72) ~[?:?]
at java.base/sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:1028) ~[?:?]
at java.base/sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:1012) ~[?:?]
at dwp.a(SourceFile:423) ~[server-1.21.jar:?]
at dwp$a.close(SourceFile:396) ~[server-1.21.jar:?]
at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:249) ~[?:?]
at java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:190) ~[?:?]
at java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:190) ~[?:?]
at dwq.a(SourceFile:83) ~[server-1.21.jar:?]
at dwl.a(SourceFile:266) ~[server-1.21.jar:?]
at dwl.b(SourceFile:256) ~[server-1.21.jar:?]
at bpm$b.run(SourceFile:60) ~[server-1.21.jar:?]
at bpk.h(SourceFile:91) ~[server-1.21.jar:?]
at bpk.a(SourceFile:146) ~[server-1.21.jar:?]
at bpk.run(SourceFile:102) ~[server-1.21.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[13:22:30] [IO-Worker-1940/ERROR]: Failed to save chunk 14,-1
java.util.concurrent.CompletionException: java.io.IOException: Operation timed out
at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:368) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:377) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:1097) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194) ~[?:?]
at dwl.a(SourceFile:270) ~[server-1.21.jar:?]
at dwl.b(SourceFile:256) ~[server-1.21.jar:?]
at bpm$b.run(SourceFile:60) ~[server-1.21.jar:?]
at bpk.h(SourceFile:91) ~[server-1.21.jar:?]
at bpk.a(SourceFile:146) ~[server-1.21.jar:?]
at bpk.run(SourceFile:102) ~[server-1.21.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.io.IOException: Operation timed out
at java.base/sun.nio.ch.UnixFileDispatcherImpl.pwrite0(Native Method) ~[?:?]
at java.base/sun.nio.ch.UnixFileDispatcherImpl.pwrite(UnixFileDispatcherImpl.java:71) ~[?:?]
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:135) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:102) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:72) ~[?:?]
at java.base/sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:1028) ~[?:?]
at java.base/sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:1012) ~[?:?]
at dwp.a(SourceFile:423) ~[server-1.21.jar:?]
at dwp$a.close(SourceFile:396) ~[server-1.21.jar:?]
at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:249) ~[?:?]
at java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:190) ~[?:?]
at java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:190) ~[?:?]
at dwq.a(SourceFile:83) ~[server-1.21.jar:?]
at dwl.a(SourceFile:266) ~[server-1.21.jar:?]
... 8 more
Steps to Reproduce:
Unknown. This simply started happening one day while my server was running, and now it continues to happen pretty much every few seconds in the background. In terms of potential workarounds or solutions, I've got nothing either. I've tried disconnecting & reconnecting, I've tried killing all entities, and I've tried restarting the server. The problem persists after all three of these.
Linked issues
Attachments
Comments


@kelianor
Just uploaded my log file. I had to zip it because otherwise it would exceed the 10MB limit
We do not have enough information to find the cause of this issue.
It seems like this error is only happening for certain chunks. Is there anything notable in these chunks that could cause the issue?
Please attach the affected (zipped) world file. If the file size is too large, please upload it somewhere else and then link to it here.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers like Hypixel, please contact them first as they run modified server software.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Could you please attach your full log file? Also relates to MC-249431.