RejectedExecutionException errors in server console

Hi there, I've been trying to pregen/gen some chunks on my server but I get these errors when generating lods. I can't find anything online about it, so I came here for help Error:
>....Exception in thread "DH-PriorityTaskPicker Thread[10185]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@3b44dff1 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@a80e14a[Running, pool size = 4, active threads = 4, queued tasks = 4, completed tasks = 230191]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.tryStartNextTask(PriorityTaskPicker.java:78)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.access$200(PriorityTaskPicker.java:17)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable.run(PriorityTaskPicker.java:217)
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)
>....Exception in thread "DH-PriorityTaskPicker Thread[10185]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@3b44dff1 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@a80e14a[Running, pool size = 4, active threads = 4, queued tasks = 4, completed tasks = 230191]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.tryStartNextTask(PriorityTaskPicker.java:78)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.access$200(PriorityTaskPicker.java:17)
at TRANSFORMER/[email protected]/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable.run(PriorityTaskPicker.java:217)
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)
Full Log: https://mcpaste.io/8fb97081d1ea3176 Modlist: https://mcpaste.io/f5abe649e2e4525c Mutiplayer - Hosted on pebblehost. Thanks for the help and the awesome mod!
MCPaste.io
A easy to use Paste site for Minecraft Server logs.
MCPaste.io
A easy to use Paste site for Minecraft Server logs.
Solution:
The nightly version works without errors! It also seems like lod generation is fully working (albeit, still quite slow).
Jump to solution
25 Replies
beano
beanoOP•3w ago
Oops, forgot to mention I'm on Minecraft 1.21.1, Neoforge 21.1.141, and DH 2.3.2-b (but I had the same issue on older DH versions) (I have the same issue with chunky, dh pregen, and a player generating chunks)
Jckf
Jckf•3w ago
Is your server running under some sort of web hosting panel?
beano
beanoOP•3w ago
It's on pebblehost, so its running on their game hosting panel (probably modified pterodactyl).
Jckf
Jckf•3w ago
Hm. Please post the full /logs
YAGPDB.xyz
YAGPDB.xyz•3w ago
You should send your latest.log file to provide additional useful information. Logs are usually located in the .minecraft/logs directory. On Windows: %appdata%\.minecraft\logs On Linux: ~/.minecraft/logs On Mac: ~/Library/Application Support/minecraft/logs Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed. After uploading the file, click on Save and send the link.
beano
beanoOP•3w ago
Jckf
Jckf•3w ago
This log does not have that error
beano
beanoOP•3w ago
Interestingly, the error doesn't show in latest.log. Only in the server panel. I can send you the logs from the panel, but it will probably be cut off at the start.
Jckf
Jckf•3w ago
What I'm looking for is any error message preceeding this one, to see if the error you posted is a result of something else going wrong first
beano
beanoOP•3w ago
Heres the most I can get out of the console https://mclo.gs/BB4FzoX
Jckf
Jckf•3w ago
Yeah that doesn't help, sadly, since the very first things is the error you posted
beano
beanoOP•3w ago
This one should be better, but pebblehost still cuts off the start https://mclo.gs/WrPNJZN
mclo.gs
Fabric 1.21.1 Server Log [#WrPNJZN]
434 lines | 114 errors
Jckf
Jckf•3w ago
Hm, nothing new to go on. It looks to me like this tasks executor is just saturated and cannot accept all the tasks it is being handed. The errors all state that it has 4 threads and 4 currently queued tasks, with a varying number of already completed tasks. Do the errors eventually stop, or is DH just constantly spamming this?
beano
beanoOP•3w ago
I've been pregenerating (using dh pregen) overnight and still get it errors, roughly 2 per second.
Jckf
Jckf•3w ago
Any apparent issues when in-game, or does everything still work?
beano
beanoOP•3w ago
The only issue I can see is extremely slow lod generation (minutes a chunk). Although, that could just be related to hardware.
Jckf
Jckf•3w ago
That's pretty severe. An RPi 5 can do about 8 LODs per second if the chunks are pre-generated At least with the plugin, but the mod shouldn't be very far off in performance in ither direction
beano
beanoOP•3w ago
hmm, annoying. The TPS stays at 20 with no lag when playing, even when lods are generating, so that hints more at threading issues than performance I could try with the nightly if that helps
Jckf
Jckf•3w ago
Yeah, that's why my initial question was whether it's running under some sort of web panel - because it might be imposing weird restrictions
beano
beanoOP•3w ago
I'll try the nightly just in case. Do you think I should contact pebblehost support, maybe its a known issue with their panel?
Jckf
Jckf•3w ago
Let's try @James Seibel GMT-5 first. He's on vacation, but maybe he's got a spare moment 🤞
beano
beanoOP•3w ago
sounds good!
Solution
beano
beano•3w ago
The nightly version works without errors! It also seems like lod generation is fully working (albeit, still quite slow).
Jckf
Jckf•3w ago
Oh, nice! I had seen this error once before, but not any specific fix related to it But I guess it must have been known then Great!
beano
beanoOP•3w ago
Thanks for the help!

Did you find this page helpful?