TerrorByte
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by TerrorByte on 11/25/2023 in #djs-questions
Receiving "ShardingReadyTimeout" even though ready event is firing
Hi there! I'm dealing with a strange problem and I'm not sure how to handle it. I'm receiving a ShardingReadyTimeout error, but the ready event is being fired before the error is occuring, so I therefore not sure how to handle it. I'm pretty sure it's being caused by my event handler, but I'm not sure why or how. Essentially, when the bot is actually created, it's firing a
loadEvents
method which is loading all the event files within my event directory, and attaching them to the client object.
An event has a type of:
My index.ts, which is the sharding manager:
My client.ts, which is the actual bot code:
I'm extending the discord.js Client
object to support some of my own functionality, so here is that file:
12 replies
AAdmincraft
•Created by TerrorByte on 7/19/2023 in #questions
Garbage Collection is running, but it’s running extremely slow
23 replies
AAdmincraft
•Created by TerrorByte on 7/18/2023 in #questions
Continuous Purpur Thread Dumps, related to memory?
I keep having these weird thread dumps and OOM crashes on my server which are causing it to lock down entirely, requiring me to have to use the kill button in Pterodactyl. I have configured Aikars flags to limit the RAM usage of the server (I pay for 6 GB, Xmx is set to 5GB), and I've tried doing some profiling to no avail. All I know is that each thread dump referenced the UUID of one of our Admins who was just exploring. Any ideas? I'm at a loss, I really don't know what's going on at this point. I thought it may have been BlueMap because it's the most "resource intensive" thing I've done recently but I uninstalled that plugin and still have issues. I've also tried pregenerating chunks with Chunky, but I think that may be making it worse.
Plugin List:
Output of /version:
And a snippet of the logs that keep being spit out has been attached as well.
52 replies