In testing with remote IIS applications, it seems like I keep leaving the agent running after I have disconnected, soaking up CPU until the DLL is renamed or deregistered. I go through the three icons (CPU, Memory, Excpetions) and stop them, but it seems the agent keeps running.
What is the 100% guaranteed to be OFF method for this?
Thanks!
Erik
What is the correct way to stop the remote agent?
-
- Posts: 7
- Joined: Mon Sep 24, 2012 7:31 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: What is the correct way to stop the remote agent?
Hello Erik
You can't unload the agent, but it is not necessary to unload it.
When you do not have profiling running, there should be no overhead:
http://www.yourkit.com/docs/net70/help/overhead.jsp
http://www.yourkit.com/docs/net70/help/threads.jsp
The remaining telemetry (CPU and memory graphs, handles) overhead is absolutely negligible.
Best regards,
Anton
You can't unload the agent, but it is not necessary to unload it.
When you do not have profiling running, there should be no overhead:
http://www.yourkit.com/docs/net70/help/overhead.jsp
You can also turn off thread stack telemetry:I go through the three icons (CPU, Memory, Excpetions) and stop them
http://www.yourkit.com/docs/net70/help/threads.jsp
The remaining telemetry (CPU and memory graphs, handles) overhead is absolutely negligible.
Could you please provide detail. Do you observe abnormal CPU usage of the process which you attribute to the presence of the profiler agent?soaking up CPU
Best regards,
Anton
-
- Posts: 7
- Joined: Mon Sep 24, 2012 7:31 pm
Re: What is the correct way to stop the remote agent?
So, when you say
I'm pretty sure that I had clicked stop on everything, but I'll recheck. We have Cacti running, so for sure we had very high CPU. I was 90% sure I turned everything off via the GUI and then disconnected.
Thanks,
Erik
Do you mean that the client display is disconnected, or do you mean when I've clicked all the stop icons?When you do not have profiling running
I'm pretty sure that I had clicked stop on everything, but I'll recheck. We have Cacti running, so for sure we had very high CPU. I was 90% sure I turned everything off via the GUI and then disconnected.
Thanks,
Erik
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: What is the correct way to stop the remote agent?
Hello Erik
If there is still an overhead, could you please provide us with the following files:
- a performance snapshot of that application (*.snapshot file) captured at the moment when everything is off but CPU usage is abnormal;
- the profiler agent log file <profiled application's user's home>\.ynp\log\<profiled application PID>.log
Could you please zip them and send attached to [email protected]
Best regards,
Anton
I mean this one: when the profiling modes are off.do you mean when I've clicked all the stop icons?
Please let us know of the results.I'm pretty sure that I had clicked stop on everything, but I'll recheck.
If there is still an overhead, could you please provide us with the following files:
- a performance snapshot of that application (*.snapshot file) captured at the moment when everything is off but CPU usage is abnormal;
- the profiler agent log file <profiled application's user's home>\.ynp\log\<profiled application PID>.log
Could you please zip them and send attached to [email protected]
Best regards,
Anton
-
- Posts: 7
- Joined: Mon Sep 24, 2012 7:31 pm
Re: What is the correct way to stop the remote agent?
There is a lack of understanding on my part which is the heart of the problem. You say:
Thank you,
Erik
And how, exactly, do I achieve that? Is it enough to click the stop icons for CPU, Memory, Threat Tracing and Exception Telemetry or do I need to disable the system variables and restart the application or host?I mean this one: when the profiling modes are off.
Thank you,
Erik
-
- Posts: 7
- Joined: Mon Sep 24, 2012 7:31 pm
Re: What is the correct way to stop the remote agent?
Please remember, my problem is that I think profiling is off, but it doesn't seem to be (from CPU analysis). I could have made a mistake, so I am trying to understand 100% how to turn them off. THEN I can tell if there is a problem after.
Thank you,
Erik
Thank you,
Erik
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: What is the correct way to stop the remote agent?
Yes, it should be enough.Is it enough to click the stop icons for CPU, Memory, Threat Tracing and Exception Telemetry