Error on Server Start - (Too many open files)

Discussion in 'Bukkit Help' started by lucasdidur, Jan 18, 2012.

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

    lucasdidur

    Code:
    2012-01-18 21:20:38 [SEVERE] java.net.SocketException: Too many open files
     
    2012-01-18 21:20:38 [SEVERE]at java.net.PlainSocketImpl.socketAccept(Native Method)
    2012-01-18 21:20:38 [SEVERE]at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:375)
    2012-01-18 21:20:38 [SEVERE]at java.net.ServerSocket.implAccept(ServerSocket.java:470)
    2012-01-18 21:20:38 [SEVERE]at java.net.ServerSocket.accept(ServerSocket.java:438)
    2012-01-18 21:20:38 [SEVERE]at net.minecraft.server.NetworkAcceptThread.run(SourceFile:35)
    

    Show Spoiler

    Code:
     
    2012-01-18 21:20:37 [SEVERE] [Stats-0.99.2] Error getting SQL-connection: opening db: 'plugins/Stats/stats.db': Too many open files
    2012-01-18 21:20:37 [SEVERE] java.sql.SQLException: opening db: 'plugins/Stats/stats.db': Too many open files
    2012-01-18 21:20:37 [SEVERE]at org.sqlite.Conn.open(Conn.java:114)
    2012-01-18 21:20:37 [SEVERE]at org.sqlite.Conn.<init>(Conn.java:57)
    2012-01-18 21:20:37 [SEVERE]at org.sqlite.JDBC.createConnection(JDBC.java:77)
    2012-01-18 21:20:37 [SEVERE]at org.sqlite.JDBC.connect(JDBC.java:64)
    2012-01-18 21:20:37 [SEVERE]at java.sql.DriverManager.getConnection(DriverManager.java:620)
    2012-01-18 21:20:37 [SEVERE]at java.sql.DriverManager.getConnection(DriverManager.java:222)
    2012-01-18 21:20:37 [SEVERE]at com.nidefawl.Stats.datasource.StatsSQLConnectionManager.getConnection(StatsSQLConnectionManager.java:32)
    2012-01-18 21:20:37 [SEVERE]at com.nidefawl.Stats.Stats.onEnable(Stats.java:439)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
    



    Show Spoiler

    Code:
     
    2012-01-18 21:20:37 [SEVERE] java.io.FileNotFoundException: plugins/NoCheat/default_actions.txt (Too many open files)
    2012-01-18 21:20:37 [SEVERE]at java.io.FileOutputStream.open(Native Method)
    2012-01-18 21:20:37 [SEVERE]at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
    2012-01-18 21:20:37 [SEVERE]at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
    2012-01-18 21:20:37 [SEVERE]at java.io.FileWriter.<init>(FileWriter.java:90)
    2012-01-18 21:20:37 [SEVERE]at cc.co.evenprime.bukkit.nocheat.config.DefaultConfiguration.writeDefaultActionFile(DefaultConfiguration.java:238)
    2012-01-18 21:20:37 [SEVERE]at cc.co.evenprime.bukkit.nocheat.config.ConfigurationManager.initializeActions(ConfigurationManager.java:92)
    2012-01-18 21:20:37 [SEVERE]at cc.co.evenprime.bukkit.nocheat.config.ConfigurationManager.<init>(ConfigurationManager.java:77)
    2012-01-18 21:20:37 [SEVERE]at cc.co.evenprime.bukkit.nocheat.NoCheat.onEnable(NoCheat.java:93)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
    2012-01-18 21:20:37 [SEVERE]at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    2012-01-18 21:20:37 [SEVERE]at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    


    What is going on, the server will not start. This happens with all the plugins have configuration files.
    I'm using the last Bukkit 1.1.
     
  2. Offline

    Clucky

    lucasdidur
    I'm getting the same error, and I'm still using the recommended build 1.0.1. IDK WTF happened, it just started doing this today, it was fine a few hours ago. Im also noticing some problem with SQL and SQLite.

    List your plugins and i'll list mine.
    Plugins (open)

    Achievements v0.99.1-b0
    AdvancedBans v0.4
    AutoSave v2.0.1
    BananaChunk v4.6
    bLog v1.1.0
    BukkitHTTPD v0.1.8
    CartJump v1.0
    CFBanner v1.9.3
    Command iConomy v8
    commandBlocks v1.0.0
    CommandBook v1.7
    CustomCrafting v0.6
    DeathTpPlus v3.4.1597
    dynmap v0.28-675
    Dynmap-CommandBook v0.13
    dynmap-residence v0.14.1
    Dynmap-WorldGuard v0.13
    ForeverALoad v0.4
    GiftSend v0.7
    GlobalShop v0.6b2
    hatMe v0.7.4
    HealthBar v0.7
    iConomy v6.0.7b
    ItemDetector v1.0
    ItemID v1.2
    ItemLogger v1.031
    ItemsForXP v2.1
    LogOres v0.8
    LWC v3.53
    MCDocs v11
    MCStats2 v2.6
    Memo v1.0
    MineCal v0.3
    MinecraftViewer v1.0d
    MobDisguise v1.65
    Multiverse-Core v2.2-b447
    NarrowtuxLib v1.2.0
    NoMovedTooQuicklyKick v1.1
    OffLine v1.0
    OpenInv v1.6.5
    OtherDrops v2.0-beta6
    Permissions v2.7.7
    PermissionsBukkit v1.2
    playerList v0.1
    PlayerLogger v0.1a
    PlayerTracker v1.0
    PluginsManager v11.07.26
    PlugMan v1.3.2
    QuickSign v0.6.1
    Rakamak v3.6.1
    Register v1.5
    RemindMe v0.5.1
    Reporter v2.5.1
    Residence v2.4.4
    ResidenceSigns v0.2
    Runecraft v0.9
    SeattleSummer v1.6
    SheepFeed v1.5.1
    Showcase v0.7.9
    SimpleCalc v2.1
    SimpleClans v1.9.3
    Stats v2.0.1
    SuperLog v2.0
    TeleConfirmLite v1.6
    TextPlayer v1.2.0
    Tips v1.0.1
    ToolNotifier v0.4
    UnlimitedLava v1.4.1
    VanishNoPickup v1.9.12
    Vault v1.2.3-b000
    WorldEdit v5.0
    WorldGuard v5.3
    XmlStats v0.3-b52
    YouControl v1.0
     
  3. Offline

    lucasdidur

    This is true, my server restarted, and when he returned nothing is working.
     
  4. Offline

    Clucky

    lucasdidur list plugins, idk if you got that message before I updated my thread. I am thinking it has to do with narrowtuxlib or showcase... again... They keep updating themselves and spout. Narrowtuxlib needs to figure out what he's doing...
     
  5. Offline

    lucasdidur

  6. Offline

    Clucky

    Looks to me like yours starats with HeroChat while mine starts with SimpleClans, both of which are chat altering plugins. Wonder if it culd be them.... I am also seeing a possible problem with permissions, not 100% sure. I gtg out to eat, but I shall return in 1 1/2 hours. If you figure out the problem, please text me at 706-889-2454. Thanks.
     
  7. Offline

    lucasdidur

    Yes, I'm trying to disable the plugins one to one, because without plugins it starts normally.

    I have another server on the same machine, and is starting normally.

    I found the plugin that bug the entire server is

    AutoSave.jar

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  8. Offline

    Clucky

    How strange... it works now... didn't think autosave could do that much damage. Do you have a suggested alternative? Thank you so very much for figuring this out.

    I will notify users on the dev page of autosave

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
Thread Status:
Not open for further replies.

Share This Page