Crash at ratelimit
hexlocation opened this issue ยท 1 comments
Expected behavior
Just be able to send in chat
Actual behavior
After a while, it gets ratelimited and crashes the server
Steps to reproduce
Chat too much
[07:36:14 ERROR]: Current Thread: ForkJoinPool-1-worker-28
[07:36:14 ERROR]: PID: 368 | Suspended: false | Native: false | State: WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1724)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1623)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: ForkJoinPool-1-worker-29
[07:36:14 ERROR]: PID: 369 | Suspended: false | Native: false | State: TIMED_WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:410)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1726)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1623)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: OkHttp discord.com
[07:36:14 ERROR]: PID: 375 | Suspended: false | Native: false | State: RUNNABLE
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/sun.nio.ch.Net.poll(Native Method)
[07:36:14 ERROR]: [email protected]/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:181)
[07:36:14 ERROR]: [email protected]/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:190)
[07:36:14 ERROR]: [email protected]/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
[07:36:14 ERROR]: [email protected]/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
[07:36:14 ERROR]: [email protected]/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
[07:36:14 ERROR]: [email protected]/java.net.Socket$SocketInputStream.read(Socket.java:966)
[07:36:14 ERROR]: [email protected]/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
[07:36:14 ERROR]: [email protected]/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
[07:36:14 ERROR]: [email protected]/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
[07:36:14 ERROR]: [email protected]/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1455)
[07:36:14 ERROR]: [email protected]/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1059)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.Okio$2.read(Okio.java:140)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.RealBufferedSource.request(RealBufferedSource.java:72)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.RealBufferedSource.require(RealBufferedSource.java:65)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okhttp3.internal.http2.Http2Reader.nextFrame(Http2Reader.java:95)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okhttp3.internal.http2.Http2Connection$ReaderRunnable.execute(Http2Connection.java:608)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
[07:36:14 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: OkHttp ConnectionPool
[07:36:14 ERROR]: PID: 376 | Suspended: false | Native: false | State: TIMED_WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/java.lang.Object.wait(Native Method)
[07:36:14 ERROR]: [email protected]/java.lang.Object.wait(Object.java:472)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okhttp3.ConnectionPool.lambda$new$0(ConnectionPool.java:66)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okhttp3.ConnectionPool$$Lambda$7178/0x00000008021add58.run(Unknown Source)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[07:36:14 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: Okio Watchdog
[07:36:14 ERROR]: PID: 377 | Suspended: false | Native: false | State: TIMED_WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/java.lang.Object.wait(Native Method)
[07:36:14 ERROR]: [email protected]/java.lang.Object.wait(Object.java:472)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:362)
[07:36:14 ERROR]: DiscordSRV-Build-1.24.0.jar//github.scarsz.discordsrv.dependencies.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:313)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: OkHttp discord.com Writer
[07:36:14 ERROR]: PID: 378 | Suspended: false | Native: false | State: WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3463)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1170)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[07:36:14 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[07:36:14 ERROR]: ------------------------------
[07:36:14 ERROR]: Current Thread: OkHttp Http2Connection
[07:36:14 ERROR]: PID: 379 | Suspended: false | Native: false | State: TIMED_WAITING
[07:36:14 ERROR]: Stack:
[07:36:14 ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:401)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:903)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1061)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
[07:36:14 ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[07:36:14 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833)
[07:36:14 ERROR]: ------------------------------
Server software and version
Purpur 1.18.1, java 17
Checks
- I am not using an outdated version of DiscordSRV.
- I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
Anything else
No response
You only posted a useless part of the thread dump, which doesn't show what caused the server to stall. Join https://discordsrv.com/discord for help figuring out what the actual cause of the stall might be