server console being spammed

I have issue with DH on server, DH - DistantHorizons-neoforge-fabric-2.3.2-b-1.21.1.jar sha256 c031e36b021c3b95c6a3c0a2ecafa960af07cd8ceda6baf26268f2660e7de713 mc - v1.21.1 neoforge - neoforge-21.1.160 I have removed all other mods before trying it again and reporting here the server console is beeing spammed with this error
3e2b6 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@593c1d2e[Running, pool size = 6, active threads = 6, queued tasks = 6, completed tasks = 121024]
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[12339]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@13d79af5 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@593c1d2e[Running, pool size = 6, active threads = 6, queued tasks = 6, completed tasks = 121025]
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[12343]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@6214
3e2b6 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@593c1d2e[Running, pool size = 6, active threads = 6, queued tasks = 6, completed tasks = 121024]
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[12339]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@13d79af5 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@593c1d2e[Running, pool size = 6, active threads = 6, queued tasks = 6, completed tasks = 121025]
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[12343]" java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@6214
Solution:
welp I found out why there is no difference in configs generated at linux and generated at windows expect the U+000D <Carriage Return> (CR) character and when I added them to all line endings the DH start to work correctly even with LOG_ERROR_TO_CHAT_AND_INFO_TO_FILE unchanged...
Jump to solution
38 Replies
Stephen5311
Stephen53116d ago
Is it loading the LODs chunks sucessfully at least? Is it just a problem of it being spammed? @Magacreo
Magacreo
MagacreoOP6d ago
trying it with friend one moment
Stephen5311
Stephen53116d ago
I know you can turn off the spam if there's log errors here:
No description
Stephen5311
Stephen53116d ago
If it's on server, it'd be in the config folder on the server instead that you'd change
Magacreo
MagacreoOP6d ago
yeah I can see the chunks generated by friend in a galaxy far far away I guess its just spam then
Stephen5311
Stephen53116d ago
No description
Stephen5311
Stephen53116d ago
Make sure the server is off when you change/save the values, or it may not save I know for client config you gotta do that by having MC closed I haven't tried DH on a server yet... I want to do it eventually though. :)
Magacreo
MagacreoOP6d ago
my server config has no such thing as logginglevel nor loglevel Im not sure where should I put it
Stephen5311
Stephen53116d ago
Try Ctrl + F for "warn" or "error" "info" or "debug" Maybe the name was changed to something else (or Grok just used the standard term for most mod's configs)? Unless it doesn't have any config settings for the server log when it's on the server? I think it should be there though if I were to think about it...
Magacreo
MagacreoOP6d ago
No description
No description
Stephen5311
Stephen53116d ago
Yeah, that'd be the spot, nice 👍
Magacreo
MagacreoOP6d ago
what ? which one ?
Stephen5311
Stephen53116d ago
I'm looking, hold on
Magacreo
MagacreoOP6d ago
I might be blind but none of those looks like the correct one
Stephen5311
Stephen53116d ago
Could you send the full config file here? So I can open it I don't have a server to generate one on currently I think it's line 174+ Those are the same log options as in the client That I posted in the screenshot above
Magacreo
MagacreoOP6d ago
oh for f
Stephen5311
Stephen53116d ago
^
Magacreo
MagacreoOP6d ago
wait
Stephen5311
Stephen53116d ago
Yeah, kinda sucks
Magacreo
MagacreoOP6d ago
No description
Stephen5311
Stephen53116d ago
logWorldGenEvent = "DISABLED" Change them all to "DISABLED"
Magacreo
MagacreoOP6d ago
its called message cause I copyed it thru clipboard
Stephen5311
Stephen53116d ago
instead of "LOG_ERROR_TO_CHAT_AND_INFO_TO_FILE" Should be 6 of them Hopefully it works 🙏
Magacreo
MagacreoOP6d ago
moment technical difficulties host crashed lol
Stephen5311
Stephen53116d ago
Should look like this now:
No description
Magacreo
MagacreoOP6d ago
yeah replaced all of them
No description
Stephen5311
Stephen53116d ago
I used the Replace tab : ) Sometimes useful lol
Magacreo
MagacreoOP6d ago
nope did not helped DISABLED
Magacreo
MagacreoOP6d ago
No description
Magacreo
MagacreoOP6d ago
No description
Stephen5311
Stephen53116d ago
Hmm... the only other idea: Change to false
No description
Stephen5311
Stephen53116d ago
If this doesn't work, you'll have to probably wait on one of the devs, the good news is since the chunks are loading/working it seems, you can play if you wish I'd also maybe change these 7 values we changed back to their defaults (or just delete the config and regenerate it) if it doesn't work
Solution
Magacreo
Magacreo6d ago
welp I found out why there is no difference in configs generated at linux and generated at windows expect the U+000D <Carriage Return> (CR) character and when I added them to all line endings the DH start to work correctly even with LOG_ERROR_TO_CHAT_AND_INFO_TO_FILE unchanged
Magacreo
MagacreoOP6d ago
nice lol
Stephen5311
Stephen53116d ago
Nice, glad you got it to work without spamming :D If you right click on this "found out why" message, click on Apps -> Mark Solution, could help others
Magacreo
MagacreoOP4d ago
also tis is potentially bug that it breaks on different line endings and yeah I know slow response sorry had a lot to do
Stephen5311
Stephen53114d ago
All good 👍

Did you find this page helpful?