Very High CPU usage

Discussion in 'Bukkit Discussion' started by Zachar543, Sep 5, 2011.

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

    Zachar543

    1. CentOS 5.4
    2. x64
    3.
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
    4. RemoteToolKit
    5. 1060
    6.
    Code:
     java -Djline.terminal\=jline.UnsupportedTerminal -server -d64 -Xincgc -Xms1024M -Xmx1536M -jar craftbukkit.jar
    7.
    Code:
    RawcriticsOreObfuscationPluginSpout: 1.6.2.2.4
    mcbans                             : 2.9.2
    AutoMessage                        : 1.5
    WorldEdit                          : 4.6
    BlockHat                           : 1.4
    MobDisguise                        : 1.6
    iConomy                            : 5.01
    Spout                              : 1.0.5.221
    WorldGuard                         : 5.2.2
    Commands Logging                   : 1.0
    Redeemer                           : 1.0
    ColoredSigns                       : 1.1
    PerformanceTweaks                  : 0.08
    mcMMO                              : 1.0.50
    LogBlockQuestioner                 : 0.02
    RetractableBridge                  : 1.3.7
    NoCheat                            : 2.01b
    WebAuction                         : 0.1.8
    RemoteToolkitPlugin                : 0.45b
    PorteCoulissante                   : 1.2.2
    Permissions                        : 3.1.5
    CommandBook                        : 1.5.2-customized
    BorderGuard                        : 4.11
    iChat                              : 2.3.3-p3
    SpoutFlight                        : 0.11
    LWC                                : 3.3
    MagicSpells                        : 1.0.2
    LogBlock                           : 1.26
    
    8. None
    9. CB build 935-1060, RamDisk, No plugins, Different startup lines, ...
    10. All of them

    Server Specs:
    - 2GB Ram
    - 60 GB HDD
    - 2.4 GHz (single core of an AMD Opteron 6136)
    - DotBlock VPS
    - CentOS 5.4

    Most of the day the java process is using 75-99% of the CPU with between 5-7 people online. I have tried almost everything and nothing seems to help. Has this happened to anyone else? Has anyone fixed it?
     
  2. Offline

    Vhab

    That's kinda what MC does, hog your CPU.
    I know it doesn't really sound that helpful, but it really may be the natural load.

    edit: I noticed you're still using Permissions. You'll need to switch to PermissionsEx, bPermissions or PermissionsBukkit. There's a ton of threads on this subject, so I won't derail further on the subject.
     
  3. Offline

    Zachar543

    I am one of the ones that will hold out with Permissions until I can no longer. (I have my reasons)
    Though, This is not Minecraft's "natural load", I have seen many servers run many more slots on this GHz and this new of a CPU. When I am told that this is "natural" it makes me laugh... 2.4 Ghz should not ever be used on 5 people! If this were true, How would large servers host 100+ on 3.0+ Ghz? That player amount would not scale well. (It would get much worse with each added player)
     
  4. Offline

    sukosevato

    Maybe a plugin is corrupt. I once had a infinite loop in a plugin which caused 100% cpu usage on 3Ghz for 2 players. When removing the plugin everyone went back to normal.

    Not much else you can do except trouble shoot which plugin is the problem. And if without plugins you still can only run with 5 people. Then its probably hardware related.
     
  5. May i ask what the plugin was?
     
  6. Offline

    sukosevato

    Dynmap. Was during the times it wasn't really supported anymore and the developer was inactive for a bit. Around CB800 or so
     
  7. :( I was hoping it was a plugin i was using :p I'm only using about 6 plugins and it is still high cpu.
    WorldEdit
    WorldGuard
    MultiVerse
    Essentials
    EssentialsSpawn
    LogBlock (Remote database so mysql doesnt use the ram/cpu)
    Starts up with 400M ends up using about 600 :confused:?
     
  8. Offline

    floit

    Either remove essentials or worldguard/edit
     
  9. Offline

    sukosevato

    The way i figured out which plugin was causing the trouble was by removing 1 by 1 to see if it stopped. I had 45 plugins and that was a pain to do. But with 6 you should relatively easy find out which one is causing the problem.
     
  10. Offline

    vander_fr

    Just clear all items on the map ;) ( floating items and minecart use a lot a of cpu )

    /remove items 5000
    /remove minecarts 5000

    My server was spaming the overloaded message all the time and any regions were laggy, I just enter there 2 commands and "poop" problem solved ;) No more overloaded message, ever .

    Aslo, install autoclear
    Plz, keep me up to date
     
Thread Status:
Not open for further replies.

Share This Page