Random, Server Crushing Lag (URGENT)

Hello, I have random unexplained lag in my server which happened a few hours ago while the server was running. I have no idea why they happen Here are the reports: (see comments)
39 Replies
tengrieli
tengrieliOP•2w ago
[13:05:06] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 8236ms or 164 ticks behind
[13:05:06] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 8236ms or 164 ticks behind
The server started crashing since then
tengrieli
tengrieliOP•2w ago
tengrieli
tengrieliOP•2w ago
tengrieli
tengrieliOP•2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Snow Kit
Snow Kit•2w ago
is it almost exactly every 5 minutes? if so, that's autosave
tengrieli
tengrieliOP•2w ago
Looks like it I didnt have that issue before I had it even fixed
Snow Kit
Snow Kit•2w ago
CurseForge
Server Performance - Smooth Chunk Save[Forge/Fabric]
Enables lag-free continuous chunk saving, increasing server TPS 59.6M Downloads | Mods
tengrieli
tengrieliOP•2w ago
server side right? didnt find anything on it I am gonna try it now
Snow Kit
Snow Kit•2w ago
yeah it is
tengrieli
tengrieliOP•2w ago
thank you, I'll update you didnt work, CPU and RAM use is still maxed out lots of lag
Snow Kit
Snow Kit•2w ago
can I see a new profile then?
tengrieli
tengrieliOP•2w ago
Gotta restart server, it wont let me run it 5 min. Caught this during bootup
[15:17:53] [Server thread/WARN] [mixin/]: @Redirect conflict. Skipping smoothchunk.mixins.json:ChunkMapSlowUnload from mod smoothchunk->@Redirect::getSize(Ljava/util/Queue;)I with priority 1000, already redirected by c2me-opts-scheduling.mixins.json:general_overheads.MixinThreadedAnvilChunkStorage from mod c2me_opts_scheduling->@Redirect::redirectUnloadSize(Ljava/util/Queue;)I with priority 1100
[15:17:53] [Server thread/WARN] [mixin/]: @Redirect conflict. Skipping smoothchunk.mixins.json:ChunkMapSlowUnload from mod smoothchunk->@Redirect::getSize(Ljava/util/Queue;)I with priority 1000, already redirected by c2me-opts-scheduling.mixins.json:general_overheads.MixinThreadedAnvilChunkStorage from mod c2me_opts_scheduling->@Redirect::redirectUnloadSize(Ljava/util/Queue;)I with priority 1100
[15:18:04] [Server thread/INFO] [Discord Integration/]: Started
[15:18:05] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 454832 bytes (in 46 string chunks with the size of 10000)
[15:18:05] [Server thread/INFO] [surveyor/]: [Surveyor] Loading data for minecraft:server_faucet_test_level
[15:18:05] [Server thread/INFO] [surveyor/]: [Surveyor] Finished loading data for minecraft:server_faucet_test_level
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: No need to regenerate local commands
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: No need to regenerate global commands
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command list with ID 1331558379147104399
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO]
[15:18:04] [Server thread/INFO] [Discord Integration/]: Started
[15:18:05] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 454832 bytes (in 46 string chunks with the size of 10000)
[15:18:05] [Server thread/INFO] [surveyor/]: [Surveyor] Loading data for minecraft:server_faucet_test_level
[15:18:05] [Server thread/INFO] [surveyor/]: [Surveyor] Finished loading data for minecraft:server_faucet_test_level
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: No need to regenerate local commands
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: No need to regenerate global commands
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command list with ID 1331558379147104399
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO]
[Discord Integration/]: Added command uptime with ID 1331558379147104400
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command settings with ID 1331558379147104401
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command linkcheck with ID 1331558379147104402
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command link with ID 1331558379147104403
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command kick with ID 1331558379147104404
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command stop with ID 1331558379704815616
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command kill with ID 1331558379704815617
[15:18:12] [Server thread/INFO] [hexcasting/]: We're on the server! Loaded 155 regular actions, 14 per-world actions, and 2 special handlers
[15:18:12] [Server thread/INFO] [patchouli/]: Sending reload packet to clients
>....[15:18:12][FINE/customnpcs][noppes.npcs.controllers.DialogController:41] Loading Dialogs
[15:18:12][FINE/customnpcs][noppes.npcs.controllers.DialogController:43] Done loading Dialogs
[15:18:12] [Server thread/WARN] [ModernFix/]: Dedicated server took 318.644 seconds to load
[15:18:12] [Server thread/INFO] [mixin/]: Mixing common.MixinServerStatus from mixins/common/nochatreports.mixins.json into net.minecraft.network.protocol.status.ServerStatus
>....Items Registered
[15:18:14] [Server thread/INFO] [Chunk Activity Tracker/]: Loading data for 78515 chunks for filePath './current_world/chunk_activity_info/overworld.dat' took 167 milliseconds
[15:18:14] [Server thread/INFO] [Chunk Activity Tracker/]: Saving data for 78515 chunks for dimension 'overworld' took 164 milliseconds
[15:18:14] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 2249ms or 44 ticks behind
[Discord Integration/]: Added command uptime with ID 1331558379147104400
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command settings with ID 1331558379147104401
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command linkcheck with ID 1331558379147104402
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command link with ID 1331558379147104403
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command kick with ID 1331558379147104404
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command stop with ID 1331558379704815616
[15:18:05] [DiscordIntegration-Core WorkerThread/INFO] [Discord Integration/]: Added command kill with ID 1331558379704815617
[15:18:12] [Server thread/INFO] [hexcasting/]: We're on the server! Loaded 155 regular actions, 14 per-world actions, and 2 special handlers
[15:18:12] [Server thread/INFO] [patchouli/]: Sending reload packet to clients
>....[15:18:12][FINE/customnpcs][noppes.npcs.controllers.DialogController:41] Loading Dialogs
[15:18:12][FINE/customnpcs][noppes.npcs.controllers.DialogController:43] Done loading Dialogs
[15:18:12] [Server thread/WARN] [ModernFix/]: Dedicated server took 318.644 seconds to load
[15:18:12] [Server thread/INFO] [mixin/]: Mixing common.MixinServerStatus from mixins/common/nochatreports.mixins.json into net.minecraft.network.protocol.status.ServerStatus
>....Items Registered
[15:18:14] [Server thread/INFO] [Chunk Activity Tracker/]: Loading data for 78515 chunks for filePath './current_world/chunk_activity_info/overworld.dat' took 167 milliseconds
[15:18:14] [Server thread/INFO] [Chunk Activity Tracker/]: Saving data for 78515 chunks for dimension 'overworld' took 164 milliseconds
[15:18:14] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 2249ms or 44 ticks behind
maybe its relevant, idk (final lines after booting)
Snow Kit
Snow Kit•2w ago
it might still be fine
tengrieli
tengrieliOP•2w ago
im profiling now, cpu use is at 10% which is fine, but after some time it shoots up to 400% (which is my maximum on pebblehost) it shot up at 400% now after 4 minutes now I cant end the profiler
[15:25:05] [spark-async-sampler-worker-thread/WARN] [spark/]: Timed out waiting for world statistics
[15:25:05] [spark-async-sampler-worker-thread/WARN] [spark/]: Timed out waiting for world statistics
I guess I gotta start again
tengrieli
tengrieliOP•2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
tengrieli
tengrieliOP•2w ago
It just crashed too
Snow Kit
Snow Kit•2w ago
maybe try without c2me c2me hasn't always been the most stable historically
tengrieli
tengrieliOP•2w ago
I already tried disabling it before, I will try again
tengrieli
tengrieliOP•2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Snow Kit
Snow Kit•2w ago
can you do /spark profiler start --alloc to start the profiler and profile memory allocations (memory pressure) instead of CPU usage.
tengrieli
tengrieliOP•2w ago
Will do, my bad
Snow Kit
Snow Kit•2w ago
oh you're all good, both are useful, but useful for different things
tengrieli
tengrieliOP•2w ago
keeps crashing, had to send you the live one, might crash soon. https://spark.lucko.me/EEIWdlEsBg
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
tengrieli
tengrieliOP•2w ago
wait I think I hit it wrong 😭 its a profile again /spark profiler start --alloc --timeout 300
Carl-bot
Carl-bot•2w ago
Spark Profiler
Spark can be used to see why your server or client is lagging. Users can share a spark report via /spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support. Download | Website | Docs
From An unknown user
Admincraft Canned Responses
tengrieli
tengrieliOP•2w ago
@Snow Kit Considering that this wasnt a problem 2 days ago, do you think I can fix the issue by making a fresh save? Like, download the map, download player data, wipe the server then upload them again with the mods
Snow Kit
Snow Kit•2w ago
I don't believe so
tengrieli
tengrieliOP•2w ago
okay I will try a 4th time to get the alloc
tengrieli
tengrieliOP•2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
tengrieli
tengrieliOP•2w ago
@Snow Kit the best one I got is this..
Snow Kit
Snow Kit•2w ago
it just doesn't seem to add up really
tengrieli
tengrieliOP•2w ago
I guess its a mob related issue I will remove a bunch of modded creatures
Snow Kit
Snow Kit•2w ago
the allocations aren't going up enough fast enough so that's not actually the cause
tengrieli
tengrieliOP•2w ago
should I send you my modpack?
TurboVadim
TurboVadim•2w ago
Modrinth
Radium - Minecraft Mod
Radium is an Unofficial Fork of CaffeineMC's "Lithium", made to work with Forge Mod Loader.
TurboVadim
TurboVadim•2w ago
And also you should lower simulation distance just a little bit
TurboVadim
TurboVadim•2w ago
25% of time spent executing datapacks commands
No description
tengrieli
tengrieliOP•2w ago
thank you very much, though in hindsight I believe I am gonna get rid of sinytra connector and all the other fabric mods. I am gonna rework my modack and remove most of the modded mobs that should help I believe
TurboVadim
TurboVadim•2w ago
Yeah, probably

Did you find this page helpful?