CPU Usage is at 100%+ and server lags immensely

Discussion in 'Bukkit Help' started by DylanP, May 14, 2011.

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

    DylanP

    A day or so ago I restarted the server, and when it came back up, there was immense lag..I checked htop and CPU usage was at 98%, and continued to rise.

    I have monsters/mobs disabled...BUT I can spawn them with /spawnmob for some reason.

    I am using Java 1.7, and start the server with:
    Code:
    #! /bin/sh
    BINDIR="$(dirname "$(readlink -fn "$0")")"
    cd "$BINDIR"
    java -server -Xmn4G -Xms8G -Xmx14G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX$
    
    Any ideas?
     
  2. Offline

    TBK

    The mob server.properties is just to turn off auto spawn.
    Hope you are running x64 OS and the x64 version of JDK 1.7.0.,otherwise you can't benefit from such a large amount of RAM.
    Which OS are you running? Are you using a RAMdisk?
    Tweaking java - http://www.minecraftforum.net/viewtopic.php?f=1012&t=68128
     
  3. Offline

    DylanP

    Yes, 64bit CentOS. No RAM disk, but i'll try it out.
     
Thread Status:
Not open for further replies.

Share This Page