[Help Please!] java.lang.OutOfMemoryError: unable to create new native thread

Discussion in 'Systems Administration' started by iDavid86920, Feb 12, 2018.

  1. Good to everyone, I hope they are well. It appears that today in the morning they tell me that my network is shut up. I thought it was a failure of my service provider. I have a 16gb Vps of Ram 4vCores and 25gb SSD. When I go to open all the screens, normally, I find the following error. I thought it was a lack of ram memory, since I am very new to this. But when reviewing several times, I found that the ram was optimal by 50%. Many game servers in the network when trying to open had the same error, always. All with the similarity of "java.lang.OutOfMemoryError: unable to create new native thread". I searched the internet and saw that it was probably necessary to increase the processes of users in "etc / security / limited.conf" I did it, increase everything up to 900000000. But nothing was useful and I left it normal. Try putting unlimited processes and nothing. This had never happened to me, it was today in the morning that this happened, I do not know what is happening and I can not open my network. You are in maintenance for this error.

    I would really appreciate someone willing to help me, really thank you very much. In this topic I am very noob so I would appreciate it if you would detail me a bit. Good evening.

    PD: I use a translator, sorry if it is not understood very well.

    ERROR:

    Code (Text):
    ---- Minecraft Crash Report ----
    // Why is it breaking :(

    Time: 2/12/18 3:53 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_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:364)
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
        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.8.8
        Operating System: Linux (amd64) version 3.16.0
        Java Version: 1.8.0_161, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 1487723328 bytes (1418 MB) / 1995964416 bytes (1903 MB) up to 1995964416 bytes (1903 MB)
        JVM Flags: 2 total; -Xmx2G -Xms2G
        IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
        CraftBukkit Information:
       Running: CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) false
       Plugins: { SkinsRestorer v13.3 skinsrestorer.bukkit.SkinsRestorer [Th3Tr0LLeR], OnlyProxyJoin v0.1 de.tutorialmakerhd.onlyproxyjoin.OnlyProxyJoin [TutorialMakerHD], Essentials vTeamCity com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally], AdvanceTab v1.3.1.3 me.joosh.tab.AdvanceTab [_Joosh], EssentialsChat vTeamCity com.earth2me.essentials.chat.EssentialsChat [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally], PermissionsEx v1.23.4 ru.tehkode.permissions.bukkit.PermissionsEx [[t3hk0d3, zml]], SQLibrary v7.1 lib.PatPeter.SQLibrary.SQLibrary [PatPeter], BukkitGames v2.4.0 de.ftbastler.bukkitgames.main.BukkitGames [ftbastler], ViaVersion v1.1.1 us.myles.ViaVersion.ViaVersionPlugin [_MylesC, Matsv], NametagEdit v4.1.4 com.nametagedit.plugin.NametagEdit [sgtcaze, Cory], BuycraftX v10.2 net.buycraft.plugin.bukkit.BuycraftPlugin [Buycraft], BGAbilities v1.1 de.ftbastler.bgabilities.BGAbilities [ftbastler], EssentialsSpawn vTeamCity com.earth2me.essentials.spawn.EssentialsSpawn [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], ProtocolLib v3.6.4 com.comphenix.protocol.ProtocolLibrary [dmulloy2, comphenix], NoPlugins v6.4 me.xanium.noplugin.NoPlugins [Xanium],}
       Warnings: DEFAULT
       Reload Count: 0
       Threads: { RUNNABLE Netty Epoll Server IO #3: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], WAITING Okio Watchdog: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), net.buycraft.plugin.internal.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:338), net.buycraft.plugin.internal.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:313)], RUNNABLE Craft Scheduler Thread - 18: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), de.ftbastler.bukkitgames.h.j.a(Metrics.java:5572), de.ftbastler.bukkitgames.h.j$1.run(Metrics.java:645), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Timer-0: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], RUNNABLE DestroyJavaVM: [], RUNNABLE Craft Scheduler Thread - 22: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), de.tutorialmakerhd.onlyproxyjoin.util.MetricsUtil.postPlugin(MetricsUtil.java:477), de.tutorialmakerhd.onlyproxyjoin.util.MetricsUtil.access$4(MetricsUtil.java:382), de.tutorialmakerhd.onlyproxyjoin.util.MetricsUtil$1.run(MetricsUtil.java:269), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], WAITING NonBlockingInputStreamThread: [java.lang.Object.wait(Native Method), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278), java.lang.Thread.run(Thread.java:748)], RUNNABLE Netty Epoll Server IO #0: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], TIMED_WAITING Craft Scheduler Thread - 17: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Craft Scheduler Thread - 23: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R3.FileIOThread.c(FileIOThread.java:52), net.minecraft.server.v1_8_R3.FileIOThread.run(FileIOThread.java:28), java.lang.Thread.run(Thread.java:748)], RUNNABLE Signal Dispatcher: [], WAITING Thread-5: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:175), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_8_R3.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:25), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R3.DedicatedServer$1.run(DedicatedServer.java:54)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1610), org.bukkit.craftbukkit.v1_8_R3.CraftCrashReport.call(CraftCrashReport.java:29), net.minecraft.server.v1_8_R3.CrashReportSystemDetails.a(SourceFile:78), net.minecraft.server.v1_8_R3.CrashReport.h(CrashReport.java:127), net.minecraft.server.v1_8_R3.CrashReport.<init>(CrashReport.java:34), net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:577), java.lang.Thread.run(Thread.java:748)], RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:255), java.io.BufferedInputStream.fill(BufferedInputStream.java:246), java.io.BufferedInputStream.read(BufferedInputStream.java:265), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2349), net.minecraft.server.v1_8_R3.DedicatedServer$2.run(DedicatedServer.java:79)], RUNNABLE Netty Epoll Server IO #2: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], RUNNABLE Netty Epoll Server IO #1: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], RUNNABLE Spigot Metrics Thread: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), org.spigotmc.Metrics.postPlugin(Metrics.java:430), org.spigotmc.Metrics.access$4(Metrics.java:345), org.spigotmc.Metrics$1.run(Metrics.java:240), java.util.TimerThread.mainLoop(Timer.java:555), java.util.TimerThread.run(Timer.java:505)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.lang.ref.Reference.tryHandlePending(Reference.java:191), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)],}
       Recent tasks from 25169-25199{ViaVersion:us.m[email protected]25199,ViaVersion:us.m[email protected]25201,ViaVersion:us.m[email protected]25203,ViaVersion:us.m[email protected]25205,ViaVersion:us.m[email protected]25207,ViaVersion:us.m[email protected]25209,BuycraftX:n[email protected]25209,ViaVersion:us.m[email protected]25211,ViaVersion:us.m[email protected]25213,ViaVersion:us.m[email protected]25215,ViaVersion:us.m[email protected]25217,ViaVersion:us.m[email protected]25219,ViaVersion:us.m[email protected]25221,ViaVersion:us.m[email protected]25223,ViaVersion:us.m[email protected]25225,ViaVersion:us.m[email protected]25227,ViaVersion:us.m[email protected]25229,BuycraftX:[email protected],BuycraftX:n[email protected]25229,}
        Profiler Position: N/A (disabled)
        Player Count: 0 / 50; []
        Is Modded: Definitely; Server brand changed to 'Spigot'
        Type: Dedicated Server (map_server.txt)
     
  2. It seems to be due to a plugin, from the looks of it ViaVersion may be the cause, try disabling it and see if that fixes it
     
    • Like Like x 1
  3. Thanks for answering.

    I Try what you told me on 2 servers. And it did not work. When opening another server crash another. I think it has nothing to do with plugins, since I did a test removing plugins and nothing.

    Lobby Server error:

    Code (Text):
    ---- Minecraft Crash Report ----
    // You should try our sister game, Minceraft!

    Time: 2/12/18 4:42 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_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:364)
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
        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.8.8
        Operating System: Linux (amd64) version 3.16.0
        Java Version: 1.8.0_161, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 729222232 bytes (695 MB) / 978845696 bytes (933 MB) up to 978845696 bytes (933 MB)
        JVM Flags: 2 total; -Xmx1G -Xms1G
        IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
        CraftBukkit Information:
       Running: CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) false
       Plugins: { CleanroomGenerator v1.0.0 io.nv.bukkit.CleanroomGenerator.CleanroomGenerator [NVX (Neo_Vortex)], AnimationLib v1.6.0 me.megamichiel.animationlib.bukkit.AnimLibPlugin [megamichiel], LastLog v1.1.1 edu.self.startux.lastLog.LastLogPlugin [StarTux], WorldEdit v6.1.5;4651611 com.sk89q.worldedit.bukkit.WorldEditPlugin [], JoinCommands v1.0.0 com.mrinspector.joincommands.JoinCommands [], OnlyProxyJoin v0.1 de.tutorialmakerhd.onlyproxyjoin.OnlyProxyJoin [TutorialMakerHD], NoRain v1.2 de.NeonnBukkit.NoRain.NoRain [NeonnBukkit], Essentials vTeamCity com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally], Announcer v1.4.5 me.declanmc96.Announcer.announcer [declanmc96], NametagEdit v4.1.1 com.nametagedit.plugin.NametagEdit [sgtcaze, Cory], BuycraftX v10.2 net.buycraft.plugin.bukkit.BuycraftPlugin [Buycraft], PlayerOptions v3.6.1 es.officialramos.Main [OfficialRamos], BannerBoard v1.9.8.1 me.bigteddy98.bannerboard.Main [BigTeddy98], ConsoleSpamFix v1.5.0 net.craftersland.consolefix.CSF [CraftersLand], WorldGuard v6.1 com.sk89q.worldguard.bukkit.WorldGuardPlugin [], ProtocolLib v4.3.0 com.comphenix.protocol.ProtocolLib [dmulloy2, comphenix], Multiverse-Core v2.5-b717 com.onarandombox.MultiverseCore.MultiverseCore [Rigby, fernferret, lithium3141, main--], BungeePortals v1.2 net.yofuzzy3.BungeePortals.BungeePortals [YoFuzzy3], NoPlugins v6.4 me.xanium.noplugin.NoPlugins [Xanium], SkinsRestorer v13.3 skinsrestorer.bukkit.SkinsRestorer [Th3Tr0LLeR], TimedRewards v0.1 imabradley.timedrewards.TimedRewards [ImABradley], DoFriends v0.8 me.Doritos.DoFriends.main [], EssentialsProtect vTeamCity com.earth2me.essentials.protect.EssentialsProtect [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], AdvanceTab v1.3.1.3 me.joosh.tab.AdvanceTab [_Joosh], WorldEditCrashFix v1.0 me.itsnature.crashfix.Main [ItsNature], EssentialsChat vTeamCity com.earth2me.essentials.chat.EssentialsChat [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Okamosy, Iaccidentally], MysteryBoxes v1.1.6 me.xericker.mysteryboxes.Main [xeRicker], PermissionsEx v1.23.4 ru.tehkode.permissions.bukkit.PermissionsEx [[t3hk0d3, zml]], EssentialsAntiBuild vTeamCity com.earth2me.essentials.antibuild.EssentialsAntiBuild [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, Iaccidentally], FeatherBoard v3.10.0 be.maximvdw.featherboard.FeatherBoard [Maximvdw], UltimateBossBar v1.5.0 me.megamichiel.ultimatebossbar.UltimateBossBar [megamichiel], CustomJoinItems v1.5.2 com.gmail.filoghost.customjoinitems.CustomJoinItems [], Vault v1.5.6-b49 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], DailyRewards v1.2.11b me.finalvoid.DR [Bloobies], HideStream v3.7 com.mrmag518.HideStream.Main [mrmag518], RewardCodes v1.0.1 com.electro2560.dev.RewardCodes.Main [], ChatColor v2.1 main.ChatColorPlugin [Chemmic], EssentialsSpawn vTeamCity com.earth2me.essentials.spawn.EssentialsSpawn [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], UltraCosmetics v2.3.9 be.isach.ultracosmetics.UltraCosmetics [iSach], HolographicDisplays v2.1.10 com.gmail.filoghost.holographicdisplays.HolographicDisplays [], RewardsPlusPlus v2.1.1 us.luckyclutch.spigot.rewardsplusplus.RewardsPlusPlus [LuckyClutch], Citizens v2.0.16-SNAPSHOT (build 1308) net.citizensnpcs.Citizens [aPunch, fullwall], ChestCommands v3.1.2 com.gmail.filoghost.chestcommands.ChestCommands [], CommandNPC v1.7.2 me.messageofdeath.CommandNPC.CommandNPC [messageofdeath],}
       Warnings: DEFAULT
       Reload Count: 0
       Threads: { TIMED_WAITING pool-21-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522), java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], WAITING Thread-16: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:175), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039), java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492), java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680), sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118), me.megamichiel.ultimatebossbar.DirectoryListener.run(DirectoryListener.java:60), java.lang.Thread.run(Thread.java:748)], RUNNABLE Craft Scheduler Thread - 1: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), net.milkbowl.vault.Metrics.postPlugin(Metrics.java:501), net.milkbowl.vault.Metrics.access$400(Metrics.java:63), net.milkbowl.vault.Metrics$4.run(Metrics.java:275), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], WAITING Okio Watchdog: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), net.buycraft.plugin.internal.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:338), net.buycraft.plugin.internal.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:313)], TIMED_WAITING Craft Scheduler Thread - 11: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING pool-25-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522), java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Timer-0: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], TIMED_WAITING process reaper: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], RUNNABLE Netty Epoll Server IO #0: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Craft Scheduler Thread - 7: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], RUNNABLE Craft Scheduler Thread - 18: [com.electro2560.dev.RewardCodes.Utils.MetricsLite.gzip(MetricsLite.java:421), com.electro2560.dev.RewardCodes.Utils.MetricsLite.postPlugin(MetricsLite.java:370), com.electro2560.dev.RewardCodes.Utils.MetricsLite.access$3(MetricsLite.java:306), com.electro2560.dev.RewardCodes.Utils.MetricsLite$1.run(MetricsLite.java:179), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], RUNNABLE DestroyJavaVM: [], RUNNABLE Craft Scheduler Thread - 19: [com.mrmag518.HideStream.Util.MetricsLite.gzip(MetricsLite.java:382), com.mrmag518.HideStream.Util.MetricsLite.postPlugin(MetricsLite.java:331), com.mrmag518.HideStream.Util.MetricsLite.access$200(MetricsLite.java:52), com.mrmag518.HideStream.Util.MetricsLite$1.run(MetricsLite.java:162), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING OkHttp ConnectionPool: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:460), net.buycraft.plugin.internal.okhttp3.ConnectionPool$1.run(ConnectionPool.java:66), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R3.DedicatedServer$1.run(DedicatedServer.java:54)], TIMED_WAITING Craft Scheduler Thread - 12: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Craft Scheduler Thread - 2: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Craft Scheduler Thread - 9: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Craft Scheduler Thread - 8: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], RUNNABLE Netty Epoll Server IO #1: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], RUNNABLE Craft Scheduler Thread - 0: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), com.comphenix.protocol.metrics.Metrics.postPlugin(Metrics.java:442), com.comphenix.protocol.metrics.Metrics.access$400(Metrics.java:49), com.comphenix.protocol.metrics.Metrics$1.run(Metrics.java:215), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71), org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], RUNNABLE Craft Scheduler Thread - 5:
        Type: Dedicated Server (map_server.txt)

    Spigot dont let me post more text. If u need more say me thanks.

     
     
    #3 iDavid86920, Feb 12, 2018
    Last edited: Feb 12, 2018
  4. Try starting with fresh server settings
     
  5. Thanks for taking the time to respond again.

    Hugh, I really think it has nothing to do with the server. It is rather with Java or the operating system. In the same way, thank you very much.
     
  6. it is a memory exception aka ram, I think there is a memory leak somewhere
     
  7. Thanks again for taking the time to respond.

    I really check the memory and it works well, up to 50%. I read that this does not occur due to lack of memory in several post on the internet.
     
  8. A memory leak can occur especially in a plugin when it is coded in a way that uses memory but does not release the used memory properly thus the memory is used up without being able to be reused until the program is stopped or computer is rebooted
     
  9. Thanks for taking the time to respond again!

    Huhg, the truth is very strange, this had never happened and I had not made any changes to the plugin servers. Although I think now if maybe a plugin was remotely changed or poorly updated eating memory as you say. Although I do not know since the problem arises when opening more than certain servers that could normally open earlier. I mean if I close a server, another works but if I open 2 one falls down. I do not know if I explain myself very well.
     
  10. could be that the servers are using too much memory per server try making each server use half of what they currently use
     
  11. Thanks for taking the time to respond again!

    As I said before, the server has ram left over. I do not think it's that :/
     
  12. Hmm, how much ram do you allocate to each server anyway?
     
  13. Thanks for taking the time to respond again!

    Murder: 1gb
    Hg: 2gb
    Lobby: 1gb
    [bungeecord] Puente: 1gb
    Pvp: 2gb
    skypvp: 1gb
    skywars: 3gb
    survival: 3gb
    [Login] logueo: 1gb

    Total: 15gb

    And i have 16gb of ram. And now is in 53% of use.
     
  14. Try setting skywars and survival to 2GB instead of 3GB, ram usage increases when players are on you need more than 1GB leftover
     
  15. Thanks for taking the time to respond again!

    Already try that closing servers and nothing. And the error happens without the need of players. Right now in maintenance the modalities are closed when opening others and so on. This did not happen yesterday, it is suddenly today.
     
  16. Its not about RAM, your Server rans out of Threads. Something is creating Threads and your Server can't handle it.
    You need to monitor your Threads with htop.
     
    • Agree Agree x 1
    • Winner Winner x 1
  17. Thanks for answering!

    I really know what it has to do with that since I've read it. Please, I am very new, you would really help me a lot if you tell me the steps to solve this please I beg you. Thank you.
     
  18. MikeA

    Retired Supporter

    Well, either two things;
    a.) Your MC server has a memory leak somewhere, or something generic like many people loading many chunks is using lots of memory. Use VisualVM maybe to troubleshoot memory usage.
    b.) Your VPS is running out of physical memory. It would be either something on your VPS running that's using it (maybe background java process that didn't stop?) or your VPS can't actually use anymore memory from the host (oversold OpenVZ maybe?)
     
  19. Thanks for answering!

    I do not think the ram is the problem. The ram is good. And i recently reinstall java. The problem is the threads but I do not know how to solve it and manage them or what to do with them. I'm desperate. I have my network in maintenance and I am with my arms crossed...
     
  20. Thanks a lot to everybody who help me. In the end, my service provider solved the problem by increasing the number of processes. Thanks to the spigot community. Greetings.
     

Share This Page