"Cannot lock session" "Too many open files" errors

Discussion in 'Bukkit Help' started by Epics, Feb 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Epics

    http://pastebin.ca/2117465

    Does this every two days or so, crashes my server. Anyone?

    Also getting this twice a day now...
    Code:
    2012-02-10 20:41:37 [SEVERE] java.net.ConnectException: Connection timed out
    2012-02-10 20:41:37 [SEVERE]    at java.net.PlainSocketImpl.socketConnect(Native Method)
    2012-02-10 20:41:37 [SEVERE]    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    2012-02-10 20:41:37 [SEVERE]    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    2012-02-10 20:41:37 [SEVERE]    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    2012-02-10 20:41:37 [SEVERE]    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    2012-02-10 20:41:37 [SEVERE]    at java.net.Socket.connect(Socket.java:529)
    2012-02-10 20:41:37 [SEVERE]    at java.net.Socket.connect(Socket.java:478)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.http.HttpClient.New(HttpClient.java:323)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    2012-02-10 20:41:37 [SEVERE]    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    2012-02-10 20:41:37 [SEVERE]    at net.slipcor.pvparena.core.Tracker.callHome(Tracker.java:60)
    2012-02-10 20:41:37 [SEVERE]    at net.slipcor.pvparena.core.Tracker.run(Tracker.java:70)
    2012-02-10 20:41:37 [SEVERE]    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    2012-02-10 20:41:37 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    2012-02-10 20:41:37 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    2012-02-10 20:41:37 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    ~lots of lost connections, IPs reserved
    2012-02-10 20:41:37 [INFO] xiReverse lost connection: disconnect.endOfStream
    2012-02-10 20:41:37 [INFO] [MCBans] xiReverse has disconnected!
    2012-02-10 20:41:37 [INFO] DP_Alias lost connection: disconnect.endOfStream
    2012-02-10 20:41:37 [INFO] [MCBans] DP_Alias has disconnected!
    2012-02-10 20:41:37 [INFO] [32mGreyBuck[37m: how are u today[0m
    2012-02-10 20:41:37 [INFO] GreyBuck lost connection: disconnect.endOfStream
    2012-02-10 20:41:37 [INFO] [MCBans] GreyBuck has disconnected!
    2012-02-10 20:41:37 [INFO] The_Cold_Lord lost connection: disconnect.endOfStream
    2012-02-10 20:41:37 [INFO] [MCBans] The_Cold_Lord has disconnected!
    2012-02-10 20:41:37 [INFO] NOOBALICIOUS1 lost connection: disconnect.endOfStream
    2012-02-10 20:41:37 [INFO] [MCBans] NOOBALICIOUS1 has disconnected!
    2012-02-10 20:41:38 [INFO] limekid201 lost connection: disconnect.endOfStream
    2012-02-10 20:41:38 [INFO] [MCBans] limekid201 has disconnected!
    2012-02-10 20:41:38 [INFO] noelzelda lost connection: disconnect.endOfStream
    2012-02-10 20:41:38 [INFO] [MCBans] noelzelda has disconnected!
    2012-02-10 20:41:38 [INFO] mir786000 lost connection: disconnect.endOfStream
    2012-02-10 20:41:38 [INFO] [MCBans] mir786000 has disconnected!
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [INFO] Connected players: [0m
    2012-02-10 20:41:38 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  2. Offline

    Nathan C

    Did you increase your file descriptor limit?

    Although it is obviously from a poorly coded plugin, list your plugins.
     
  3. Offline

    Epics

    I was told that it was a plugin from my server host and told me to investigate my recently added plugins. I'm sure if I asked they'd do it, though.
    BorderGuard - 4.20.1
    BOSEconomy - 0.7.3
    PermissionsEx - 1.17
    ChestShop - 3.34
    CombatTag - 3.5
    dynmap - 0.31
    Essentials - 2.8.2
    FoundBoxx - 1.6.1
    Giant Trees - 0.3.3
    HeroScoreboard - 0.2
    Jobs - 2.6.2
    LimitedCreative - 0.9
    LogBlock - 1.41
    Lottery - 0.7.4
    mcbans - 3.6
    NoCheat - 3.2.2
    NoFarm - 3.1
    Minequery 1.5
    OpenInv - 1.7.4
    pvparena - 0.5.11.9
    ScriptBlock - 0.6.1
    SimpleRegionMarket - 1.7.4
    SimpleSpleef - 3.0.2
    SimpleTips - 1.1
    Spout - 737
    StopTalkingAutoBan - 2.0.4r
    VanishNoPickup - 1.9.12
    Vault - 1.2.8
    Votifier - 1.6
    WorldEdit - 5.0
    WorldGuard - 5.3
     
  4. Offline

    Nathan C

    Really hard to tell, but my guess would be heroscoreboard. That plugin keeps a text file for each players deaths and stuff right? If so, remove that plugin and see if it happens anymore.

    Otherwise, any other plugin that creates tons of files. Whenever possible, use MySQL for every plugin you can.
     
  5. Offline

    Epics

    I do usually do that. I really do enjoy that plugin, though.
    What it seems is that it happens after I added SimpleSpleef and pvparena.
    pvparena coded by a staff member and SimpleSpleef seemingly increasingly popular without anyone else having troubles such as myself.

    Sometimes Essentials yells at it, too. I've seen essentials have "too many opens" by that plugin itself. I don't think that'd cause it, though. I mean that's a clean project.
     
Thread Status:
Not open for further replies.

Share This Page