AgentDaemon 49秒已经呗创建,59秒才执行到线程里面去,发生了什么?ERROR agent daemon: Failed to connect to

classic Classic list List threaded Threaded
1 message Options
wz
Reply | Threaded
Open this post in threaded view
|

AgentDaemon 49秒已经呗创建,59秒才执行到线程里面去,发生了什么?ERROR agent daemon: Failed to connect to

wz
[arthas@12570]$ trace net.grinder.AgentDaemon *
Press Q or Ctrl+C to abort.
Affect(class count: 1 , method count: 18) cost in 82 ms, listenerId: 19
`---ts=2021-11-16 22:01:49;thread_name=Agent daemon connecting to port 12003;id=40;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.043042ms] net.grinder.AgentDaemon:access$100()

`---ts=2021-11-16 22:01:49;thread_name=Agent Controller Thread;id=f;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[1.054903ms] net.grinder.AgentDaemon:run()
        `---[0.872557ms] net.grinder.AgentDaemon:run() #94
            `---[0.823385ms] net.grinder.AgentDaemon:run()
                +---[0.0224ms] org.apache.commons.lang.StringUtils:isNotEmpty() #110
                +---[0.013556ms] net.grinder.AgentDaemon$AgentThreadRunnable:<init>() #117
                +---[0.061396ms] net.grinder.AgentDaemon:getGrinderProperties() #118
                |   `---[0.025648ms] net.grinder.AgentDaemon:getGrinderProperties()
                +---[0.015673ms] net.grinder.common.GrinderProperties:getInt() #118
                `---[0.277641ms] org.slf4j.Logger:info() #121

`---ts=2021-11-16 22:01:49;thread_name=Agent Controller Thread;id=f;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[2.628626ms] net.grinder.AgentDaemon:resetListeners()
        +---[0.0214ms] net.grinder.util.ListenerSupport:<init>() #164
        +---[0.084273ms] net.grinder.AgentDaemon:getListeners() #166
        |   `---[0.016251ms] net.grinder.AgentDaemon:getListeners()
        +---[0.043143ms] net.grinder.util.ListenerSupport:apply() #166
        `---[0.208081ms] net.grinder.util.ListenerSupport:apply() #168
            `---[0.137734ms] net.grinder.AgentDaemon:lambda$resetListeners$0()
                +---[0.079467ms] net.grinder.AgentDaemon:getListeners() #169
                |   `---[0.046705ms] net.grinder.AgentDaemon:getListeners()
                `---[0.0158ms] net.grinder.util.ListenerSupport:remove() #169

`---ts=2021-11-16 22:01:49;thread_name=Agent Controller Thread;id=f;is_daemon=false;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.04619ms] net.grinder.AgentDaemon:addListener()
        `---[0.017063ms] net.grinder.util.ListenerSupport:add() #179

`---ts=2021-11-16 22:01:59;thread_name=Agent daemon connecting to port 12003;id=40;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.016442ms] net.grinder.AgentDaemon:setAgent()

`---ts=2021-11-16 22:01:59;thread_name=Agent daemon connecting to port 12003;id=40;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.032173ms] net.grinder.AgentDaemon:access$000()
        `---[0.015797ms] net.grinder.AgentDaemon:getGrinderProperties() #36
            `---[0.003137ms] net.grinder.AgentDaemon:getGrinderProperties()

`---ts=2021-11-16 22:01:59;thread_name=Agent daemon connecting to port 12003;id=40;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.007587ms] net.grinder.AgentDaemon:getListeners()

`---ts=2021-11-16 22:01:59;thread_name=Agent daemon connecting to port 12003;id=40;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@7852e922
    `---[0.056742ms] net.grinder.AgentDaemon:access$200()
        `---[0.038518ms] net.grinder.AgentDaemon:isForceShutdown() #36
            `---[0.019771ms] net.grinder.AgentDaemon:isForceShutdown()

[arthas@12570]$