What are these hundreds of timer threads for?

Discussion in 'Bukkit Help' started by Hakaslak, Apr 18, 2011.

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

    Hakaslak

    [​IMG]

    They all say variations of:

    Code:
    Name: Timer-366
    State: WAITING on java.util.TaskQueue@b50c64
    Total blocked: 0  Total waited: 11
    
    Stack trace:
    java.lang.Object.wait(Native Method)
    java.lang.Object.wait(Object.java:504)
    java.util.TimerThread.mainLoop(Timer.java:526)
    java.util.TimerThread.run(Timer.java:505)
    
     
  2. Offline

    cjc343

    You have a plugin that uses timers to delay or repeat actions. It seems like you may have one that's misbehaving.
     
  3. Offline

    Hakaslak

    Is there a way I can track down which plugin is causing this?
     
  4. Offline

    cjc343

    Divide your plugins into half, remove half, test. Repeat until you find it.

    It would probably also help to list all your plugins in this thread. If someone else has the same issue, it could make it easier to find the plugins you have in common.
     
  5. Offline

    Hakaslak

    Will do, thanks!

    I think part of the issue I am running into is that the process on my machine is not performing full GCs at all, so old gen is never cleaned out and only young gen is having GC run on them. If I trigger a full GC manually a large majority of those threads are removed. I am unsure how to get G1GC to perform full GCs, or why it isn't doing so now but I'm busy reading newsgroups regarding this issue.
     
Thread Status:
Not open for further replies.

Share This Page