Bukkit needs to use MORE resources...

Discussion in 'Bukkit Help' started by Shuski, Mar 25, 2012.

Thread Status:
Not open for further replies.
  1. Hello. After updating everything to 1.2.4. the server has been stuck on 3 - 9 TPS all day (About 7 hours now). Nothing has changed. Just updated to 1.2.4 using, at the time, the latest dev-build of bukkit.

    The CPU usage is around 30% on a 6 core server. And 1GIG RAM out of 3GB alloted usage with 13 players online. All doing their thing in different parts of the map.

    I have access to task manager and such and can install programs etc etc...VPS basically.

    So the server is using hardly any memory/CPU. Yet is running at average 7TPS...
    Anyway to force the task/bukkit to use more resources...

    Even if you can. 7TPS is low...On 1.2.3 we were steady at 19.5TPS.

    Any reason for the server to just drop TPS like this?
     
  2. Offline

    bastion

    I have not noticed any loss of tps does it do that on a test server with no plugins?
     
  3. I will be doing a full test and examination tomorrow. Just wondered if there was a way to increase CPU usage...
    Another problem we get. When we were first generating the land. THe server would either lock up or lagg badly when generating new land. Even though the CPU would be around 20% and RAM usage was 1.5Gig...yet the TPS went for a walk...
     
  4. Offline

    bastion

    I have noticed lag when generating new terrain, but that is not all that new with 1.2.4, its kinda been that way all along at least for me. Someday maybe they will enable multiple threads and that may get reduced.
     
  5. Offline

    TheBeast808

    No.
    "The CPU usage is around 30% on a 6 core server"
    There is your problem. Bukkit, and Minecraft mostly runs on one core. That means, no matter how powerful our VPS is, you can only use 1/6th of your processing power for the main server thread. Likely, your VPS has a lot of cores because each core is weak (1-2GHz).
     
  6. I didn't know it only used 1 core...I thought 2...

    Anyway, each core is clocked at 2.1GHz.
    But that really doesn't explain the TPS drop =/
    That core isn't under that much stress...30% is for when it's busy...20 - 25 players at most. Or when land is being generated.


    EDIT: Question...what CAUSES TPS to drop? Besidess landgeneration...

    What specific events in bukkit use up the most resources?

    By events I mean the API ones...player_move(event blah blah) etc... (,< -Listeners)
     
  7. Offline

    TheBeast808

    Minecraft does use more than one, but the other cores aren't used that much. The main server thread, which does the majority of work, is in one thread which means it is on one core.

    Many things can cause TPS drops:
    - Growth
    - Chunk generation
    - Too many drops
    - Too many mobs
    - Too many entities in general
    - Your HDD is too slow for your server and CPU time is being wasted
    - Redstone creations with fast clocks
    - Plugins
     
  8. Offline

    MonsieurApple

    You haven't said what plugins you're using. That is key when debugging issues like this.

    If I had to guess, it's an out of date plugin messing up.
     
Thread Status:
Not open for further replies.

Share This Page