Using processor instead of RAM

Discussion in 'Bukkit Help' started by tombik, Dec 17, 2011.

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

    tombik

    Hi, i got this strange problem. I'm running Bukkit server with these plugins:
    [​IMG]
    My problem is, that server is using too much processor insted of RAM, what do you guys think?
    (giving stats:
    RAM: 2609 MiB / 5120 MiB
    Processor: 145%)
    CB:1.0.1-R1)
     
    yottabyte likes this.
  2. Offline

    Nathan C

    That's how Minecraft is now. RAM is barely used and CPU use is through the roof with 1.00.

    HawkEye, xAuth and Citizens would be your most CPU consuming plugins though.

    You can install NoLagg, which keeps chunks in memory and reduces CPU load, whilst using more RAM. Other than that, the only thing you can do is purchase a better CPU.
     
  3. Offline

    tombik

    @Nathan C Yea, i use NoLagg sometimes to reduce but i don't like it much. I know that previous version of MC(bukkit) needed more RAM, not CPU.
     
  4. Offline

    MikeA

    I use 1.0.0-RB and my CPU never goes past 90% with 40 players online, though it uses around 6GB RAM. Your processor probably isn't the best.
     
  5. Offline

    tombik

    Man, is i7-2600K @ 3.40GHz bad?
     
  6. Offline

    MikeA

    I didn't say i7's were bad in general, I just think that their bad for hosting a game server. Their a desktop processor basically. Try using an AMD...
     
  7. Offline

    tombik

    Thanks god, i finally get err message: (any ideas?)​
    Code:
    2011-12-19 18:45:36 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start0(Native Method)
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start(Thread.java:640)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.d(NetworkManager.java:243)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:145)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.Packet254GetInfo.a(SourceFile:16)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-19 18:45:36 [SEVERE] Exception in thread "Connection #1006 read thread"
    2011-12-19 18:45:36 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:640)
        at net.minecraft.server.NetworkManager.d(NetworkManager.java:243)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:145)
        at net.minecraft.server.Packet254GetInfo.a(SourceFile:16)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-19 18:45:36 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start0(Native Method)
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start(Thread.java:640)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:182)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.h(NetworkManager.java:159)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:263)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:77)
    2011-12-19 18:45:36 [SEVERE] Exception in thread "Listen thread"
    2011-12-19 18:45:36 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start0(Native Method)
    2011-12-19 18:45:36 [SEVERE]     at java.lang.Thread.start(Thread.java:640)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkManager.<init>(NetworkManager.java:69)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetLoginHandler.<init>(NetLoginHandler.java:27)
    2011-12-19 18:45:36 [SEVERE]     at net.minecraft.server.NetworkAcceptThread.run(SourceFile:49)
    2011-12-19 18:45:40 [INFO] Read timed out
    2011-12-19 18:45:40 [SEVERE] java.net.SocketException: Socket closed
    2011-12-19 18:45:40 [SEVERE]     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
    2011-12-19 18:45:40 [SEVERE]     at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    2011-12-19 18:45:40 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    2011-12-19 18:45:40 [SEVERE]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    2011-12-19 18:45:40 [SEVERE]     at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    2011-12-19 18:45:40 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:104)
    2011-12-19 18:45:59 [INFO] Read timed out
     
  8. Offline

    TnT

    The out of memory error is either caused by not allocating enough memory in your start line, or from a plugin acting badly. Read time outs are definitely caused by a plugin.

    I suggest updating your server to the latest RB and updating ALL your plugins to the version that supports the latest RB.
     
  9. Offline

    tombik

    I'll try that and keep you posted. Thanks for reply.
     
  10. Offline

    JohnTheRipper

    Intel CPUs are far superior to AMD CPUs in general. An i7-2600 will blow away anything else save a high end Xeon or one of those 16+ core new AMD CPUs (well, technically the 12 thread i7s would beat it, but nobody wants to fork over $1k+ for a single desktop CPU). I know of several people and providers offering/using them, and they're actually quite amazing processors. I have one in my desktop, it's awesome.

    Now, if you're talking about desktop vs server CPUs... Well, I don't see any advantage to AMD, they're mostly desktop, most of the server CPUs these days are made by Intel, with the exception of a few AMD offerings.
     
Thread Status:
Not open for further replies.

Share This Page