Mojira Archive
MC-275981

Server is constantly failing to save chunks

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.

Invalid

Nicoder

2024-08-24, 08:39 PM

2024-09-03, 09:24 PM

2024-09-03, 09:24 PM

0

2

Unconfirmed

(Unassigned)

files, ioexception, java-error, saving, server

1.21.1

-