Need help troubleshooting server crashes

Discussion in 'Spigot Plugin Help' started by Tyloon1e, Jun 4, 2018.

  1. Hello!

    My server has recently been crashing roughly every 2-3 hours.

    Code (Text):
    ---- Minecraft Crash Report ----
    // Oops.

    Time: 6/4/18 4:35 PM
    Description: Exception in server tick loop

    java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:717)
        at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:367)
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
        at java.lang.Thread.run(Thread.java:748)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
        Minecraft Version: 1.12.2
        Operating System: Linux (amd64) version 4.9.87-xxxx-std-ipv6-64
        Java Version: 1.8.0_171, Oracle Corporation
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 6761898664 bytes (6448 MB) / 8547467264 bytes (8151 MB) up to 8547467264 bytes (8151 MB)
        JVM Flags: 2 total; -Xmx8192M -Xms8192M
        IntCache: cache: 0, tcache: 0, allocated: 29, tallocated: 77
        CraftBukkit Information:
       Running: CraftBukkit version git-Spigot-2086bb0-8cc5a7e (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) false
       Plugins: { PlaceholderAPI v2.8.7 me.clip.placeholderapi.PlaceholderAPIPlugin [[extended_clip]], SuperTrailsPro vv1.0.5 me.kvq.supertrailspro.SuperTrails [[kvq]], CoreProtect v2.14.2 net.coreprotect.CoreProtect [Intelli], LuckPerms v4.2.17 me.lucko.luckperms.bukkit.LPBukkitBootstrap [Luck], Skript v2.2-dev34 ch.njol.skript.Skript [Njol, Mirreski, bensku, TheBentoBox, tim740, Tuke-Nuke, TheLimeGlass, xXAndrew28Xx, Sashie, RoyCurtis, nfell2009, Syst3ms, Snow-Pyon], VKAutoPickup v6.12.0 com.vk2gpz.autopickup.AutoPickup [vk2gpz], SkQuery v3.6.0-Lime com.w00tmast3r.skquery.SkQuery [LimeGlass, w00tmast3r], BuycraftX v10.6.0 net.buycraft.plugin.bukkit.BuycraftPlugin [Buycraft], EasyBackup v2.7.1 me.forseth11.EasyBackup.EasyBackup [Forseth11], Votifier v2.3.7 com.vexsoftware.votifier.NuVotifierBukkit [ParallelBlock, blakeman8192, Kramer, tuxed], ProtocolLib v4.4.0-SNAPSHOT-b392 com.comphenix.protocol.ProtocolLib [dmulloy2, comphenix], VotingPlugin v5.13.1 com.Ben12345rocks.VotingPlugin.Main [Ben12345rocks], MVdWPlaceholderAPI v2.5.1 be.maximvdw.placeholderapi.PlaceholderAPI [Maximvdw], FastAsyncWorldEdit v18.04.13-049aff4-1063-19.4.26 com.boydti.fawe.bukkit.BukkitMain [Empire92], FeatherBoard v4.7.0 be.maximvdw.featherboard.FeatherBoard [Maximvdw], Casino v1.0-SNAPSHOT me.drawe.casino.Casino [], Vault v1.5.6-b49 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], ProtocolSupport v4.29-dev protocolsupport.ProtocolSupport [_Shevchik_, 7kasper, MrPowerGamerBR, gdude2002], AAC v3.3.14 me.konsolas.aac.AAC [konsolas], SpecateMode v1.0-SNAPSHOT me.drawe.specatemode.SpecateMode [], AuctionHouse v3.3 net.cfilatov.auctionhouse.AuctionHouse [], LauncherX v1.2.0 com.robinmc.launcherx.Main [Derkades], EZPrestige v1.2.2 me.clip.ezprestige.EZPrestige [extended_clip], EZRanksPro v1.7.0 me.clip.ezrankspro.EZRanksPro [extended_clip], WorldEdit v6.1.8-SNAPSHOT;cd4729f com.sk89q.worldedit.bukkit.WorldEditPlugin [], Essentials v2.15.0.3 com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam, md678685], AnimatedNames v6.2.0 be.maximvdw.animatednames.AnimatedNames [Maximvdw], AACAdditionPro v3.12.2 de.photon.AACAdditionPro.AACAdditionPro [Photon], LiteBans v2.2.10 litebans.G [Ruan], Citizens v2.0.22-SNAPSHOT (build 1493) net.citizensnpcs.Citizens [aPunch, fullwall], ProtocolSupportStuff v1.0.2 net.pocketdreams.protocolsupportstuff.ProtocolSupportStuff [], PlotSquared v18.02.02-73d0068-1961 com.plotsquared.bukkit.BukkitMain [Citymonstret, Empire92, MattBDev], WorldGuard v6.2.1;84bc322 com.sk89q.worldguard.bukkit.WorldGuardPlugin [], ServerSigns v4.5.1 de.czymm.serversigns.ServerSignsPlugin [CalibeR50, Exloki], EssentialsSpawn v2.15.0.3 com.earth2me.essentials.spawn.EssentialsSpawn [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], TitleManager v2.0.8 io.puharesource.mc.titlemanager.TitleManagerPlugin [Puharesource], Multiverse-Core v2.5.0-b727 com.onarandombox.MultiverseCore.MultiverseCore [Rigby, fernferret, lithium3141, main--, dumptruckman], Skellett v1.9.6b com.gmail.thelimeglass.Skellett [LimeGlass], Shopkeepers v1.86 com.nisovin.shopkeepers.ShopkeepersPlugin [nisovin, blablubbabc], MoreVaultPlus v2.6.4d me.onenrico.morevaultplus.main.Core [Onenrico], ChestShop v3.9.2-SNAPSHOT (build 76) com.Acrobot.ChestShop.ChestShop [Acrobot, https://github.com/ChestShop-authors/ChestShop-3/contributors], HolographicDisplays v2.2.6 com.gmail.filoghost.holographicdisplays.HolographicDisplays [], ChatControl v7.8.23 me.kangarko.chatcontrol.ChatControl [kangarko], CrateReloaded v1.3.98.3 cratereloaded.b [Will], TokenEnchant v12.6.3 com.vk2gpz.tokenenchant.TokenEnchant [vk2gpz], BossShopPro v1.9.8 org.black_ixx.bossshop.BossShop [Black_ixx], PrisonMines v3.0.5 net.lightshard.prisonmines.PrisonMines [Twyzl], SkUniversal v2.2 us._donut_.skuniversal.SkUniversal [_Donut_], PlotMines v3.5.5 com.gianscode.plotmines.PlotMines [Tom7653], EZBlocks v1.5.0 me.clip.ezblocks.EZBlocks [extended_clip], LeaderHeads v3.1.8.2 me.robin.leaderheads.LeaderHeads [RobiRami], ProQuests v2.0.4.5 com.culleystudios.proquests.ProQuests [JC_Plays_MC],}
       Warnings: DEFAULT
       Reload Count: 0
    Can anyone help?

    I'm aware of what the error says, but my machine has more than enough RAM available which is why I don't understand this issue. A certain plugin might be interfering.

    These are my timings: https://timings.spigotmc.org/?url=kabanilene
     
    #1 Tyloon1e, Jun 4, 2018
    Last edited: Jun 4, 2018
  2. Probably your system is out of memory. 8Gb JVM in a 8GB OS, reduce it to 6Gb or 4Gb to leave free memory for the OS^^
     
  3. Thank you for the reply.

    The weird thing is that my system has almost 20GB memory available and 32GB in total. My servers are only using 12GB.
     
  4. Maximvdw

    Benefactor

    Create a memory dump
     
  5. How exactly do I do that?