Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

What is the correct way to stop the remote agent?

Moderators: Vladimir Kondratyev, Anton Katilin

What is the correct way to stop the remote agent?

Postby eriksquires » Mon Sep 24, 2012 8:00 pm

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
eriksquires
 
Posts: 7
Joined: Mon Sep 24, 2012 7:31 pm

Re: What is the correct way to stop the remote agent?

Postby Anton Katilin » Mon Sep 24, 2012 8:54 pm

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

I go through the three icons (CPU, Memory, Excpetions) and stop them

You can also turn off thread stack telemetry:
http://www.yourkit.com/docs/net70/help/threads.jsp

The remaining telemetry (CPU and memory graphs, handles) overhead is absolutely negligible.

soaking up CPU

Could you please provide detail. Do you observe abnormal CPU usage of the process which you attribute to the presence of the profiler agent?

Best regards,
Anton
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: What is the correct way to stop the remote agent?

Postby eriksquires » Tue Sep 25, 2012 1:35 pm

So, when you say
When you do not have profiling running


Do you mean that the client display is disconnected, or do you mean when I've clicked all the stop icons?

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
eriksquires
 
Posts: 7
Joined: Mon Sep 24, 2012 7:31 pm

Re: What is the correct way to stop the remote agent?

Postby Anton Katilin » Tue Sep 25, 2012 4:00 pm

Hello Erik

do you mean when I've clicked all the stop icons?

I mean this one: when the profiling modes are off.

I'm pretty sure that I had clicked stop on everything, but I'll recheck.

Please let us know of the results.

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 support@yourkit.com

Best regards,
Anton
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: What is the correct way to stop the remote agent?

Postby eriksquires » Tue Sep 25, 2012 4:04 pm

There is a lack of understanding on my part which is the heart of the problem. You say:

I mean this one: when the profiling modes are off.


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?

Thank you,


Erik
eriksquires
 
Posts: 7
Joined: Mon Sep 24, 2012 7:31 pm

Re: What is the correct way to stop the remote agent?

Postby eriksquires » Tue Sep 25, 2012 4:09 pm

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
eriksquires
 
Posts: 7
Joined: Mon Sep 24, 2012 7:31 pm

Re: What is the correct way to stop the remote agent?

Postby Anton Katilin » Tue Sep 25, 2012 4:11 pm

Is it enough to click the stop icons for CPU, Memory, Threat Tracing and Exception Telemetry

Yes, it should be enough.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 2 guests