Insane CPU usage on debian bukkit server

Discussion in 'Bukkit Help' started by delirium, Jan 4, 2013.

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

    delirium

    Hey all,

    I'm having problems with the CPU usage of a craftbukkit server. After 10+ players join the server, CPU usage goes insane (95+%).

    [​IMG]

    Here's the information needed:

    1. Debian 6.0.6
    2. x64
    3. 1.7.0

    Code:
    Linux gs-server-1 3.6.8-custom #1 SMP Mon Dec 3 17:26:22 EET 2012 x86_64 GNU/Linux
    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. No
    5. 1.4.6-R0.3
    6. java -Xmx12G -Xms12G -jar craftbukkit.jar -nojline (tried different variables for Xmx and Xms - none of them helped)
    7. -->
    Code:
    Anti_BlockPhysicsEvent
    AntiBot
    AntiCreeper
    AntiFire
    AntiRelog
    AuthMe-2.6.6
    AutoAnnouncer
    ChatManager
    ChestShop3-46
    CookieMonster
    CoreProtect_1.73
    CWDeath
    EssentialsAntiBuild
    EssentialsChat
    Essentials
    EssentialsProtect
    EssentialsSpawn
    Factions
    FigAdmin
    ForgeDeaths
    iConomy
    Lockette
    MobHealth-5.3.3
    Modifyworld
    Multiverse-Core-2.4
    Orebfuscator
    PermissionsEx
    PlayerHeads
    PluginList
    PvPTime
    Residence
    Simple-AutoSave
    Timeismoney
    Tim
    TreeAssist
    Vault
    WGCommandFlags
    WorldEdit
    WorldGuard
    
    8. No error logs.
    9. Tried using java 1.6.0 and 1.7.0. With 1.7.0 CPU usage is lower, but once 25+ players join, the usage goes insane again. Added -nojline -> no change.
    10. No. I haven't
     
  2. Offline

    _squiby_

    That's a lot of unnecessary plugins.
    Anti_BlockPhysicsEvent + AntiCreeper + AntiFire --> included in WorldGuard
    EssentialsChat -> ChatManager
    EssentialsAntiBuild + EssentialsProtect -> Modifyworld, WorldGuard, Lockette
    Simple-AutoSave -> bukkit.yml, Essentials (backups section)

    I had similar problems, somehow overlappings in the "operational range" of plugins slow down the server.
     
  3. Offline

    frdmn

    Insane? Not really. When i run a "top" on my Debian dedicated box (4gb ram, 2 cpu) i also have about 50-120 % cpu usage if there are about 10-15 players online. Thats... erm... normal. Do you got lag ingame? Or is it just the "insane" percentage?
     
  4. Offline

    _squiby_

    I got the same equipment, but only 70 - 85% usage with all slots occupied (64)
     
  5. Offline

    frdmn

    Well, i have 53 plugins running and 10 worlds ingame... In addition: you might have a better CPU than i do ;)
     
  6. Offline

    delirium

    No ingame lag. However other game servers on the same machine start having problems (short freezes, higher ping etc..).
     
  7. Offline

    _squiby_

    Inform your hosting provider.
     
  8. Offline

    delirium

    So I'll inform myself. Now what :)?
     
  9. Offline

    Nathan C

    What CPU model does your server have?
     
  10. Offline

    delirium

    E5420 @ 2.50GHz

    Just one note: Kernel has been modified and optimized for good HLDS performance.

    Code:
    xxxx@xxxx~# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -20 | grep java | grep -v grep
    184 27557 root    java -Xmx12G -Xms12G -jar craftbukkit.jar -nojline nogui
    
    184, which means 184%, which is insane. Top also shows 150+ CPU %.
     
  11. Offline

    delirium

    I really doubt there's no solution for this problem?
     
Thread Status:
Not open for further replies.

Share This Page