Performance Monitoring: Context Proxies

dotnet framework

    Sponsored Links

    Next

  • 1. Remoting and Windows 98
    =?Utf-8?B?U3RldmUgQmFya2Vy?= < XXXX@XXXXX.COM > wrote in news: XXXX@XXXXX.COM : > Hi guys! > > Just a quick one... > > Any reason why the following line of code would fail under Windows 98 > SE: > > ChannelServices.RegisterChannel(new IpcChannel("Server"), false); > > Is Ipc remoting supported on Windows 98 machines? If so, what > components do I need to install? According to MSDN: Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition What error are you getting?
  • 2. how to raise event on one client and handle it on other Client
    This is a multi-part message in MIME format. HI All, Could anybody tell me how to raise event on one client and handle it on other Client using remoting and vb.net. Both client applications are on different machine. I will be highly thankful to all Regards pankaj <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV>HI All,<BR><BR>Could anybody tell me how to raise event on one client and handle it on other Client using remoting and vb.net.<BR>Both client applications are on different machine.<BR><BR><BR>I will be highly thankful to all<BR><BR>Regards<BR>pankaj</DIV></BODY></HTML>
  • 3. Execution doesn't return from server after VS 2005 upgrade
    We have upgraded our remoting solution to Visual Studio 2005. Everything seems to run as usual except for for the execution of a time consuming SQL Server stored procedure. The procedure, that has cause no problem in VS2003, takes an hour and a half to run and after the upgrade, the execution of the application will not return to the client, which makes the client hang, waiting for the server to return execution. However, the SP has run as it should and is committed, and after some checking I know that all code lines in the remote object (that runs the SP) have been executed. Still, execution is not returned to the client. Are there any news in VS2005 remoting that I've missed? Some new timeout that should be set (none is set in the current config file)? Regards /Grober
  • 4. Delegate Function
    Is it possible to have a Delegate Function raised on the server (different appdomain) that prompts a client for a response and then when it has received that response continues with its processing. I have been trying to get this working for about a month now, and am still struggling. I am using a wrapper method to pass the function between appdomains The Invoke method to display the modal form BUT the server side thread doesn't seem to wait for a response..... Any help would be really appreciated.

Performance Monitoring: Context Proxies

Postby v3ct0r m4yh3m » Wed, 13 Oct 2004 06:50:19 GMT

After monitoring my remoting application with Performance Monitor, I've 
noticed that the count on the ContextProxies counter is only going up. Every 
call increments this number and it will never go down. Does anyone know if 
the ContextProxies counter simply adds new proxies created, or is this 
telling me that my app is not letting go of a remote object.

Thanx in advance. 



Re: Performance Monitoring: Context Proxies

Postby Ken Kolda » Wed, 13 Oct 2004 07:37:21 GMT

Here's what I get when I got to that counter in PerfMon and hit the Explain
button:

"This counter displays the total number of remoting proxy objects created in
this process since the start of the process. Proxy object acts as a
representative of the remote objects and ensures that all calls made on the
proxy are forwarded to the correct remote object instance."

Sounds like what you're seeing is the expected behavior.

Ken








Every



Re: Performance Monitoring: Context Proxies

Postby Sm9zaHVhIEJlbGRlbg » Wed, 13 Oct 2004 07:59:08 GMT

That's what I was thinking but unfortunately, the memory usage keeps rising 
on every call and I can't figure out what is not letting go. Crap... Stupid 
Memory Leaks.








Re: Performance Monitoring: Context Proxies

Postby Ken Kolda » Wed, 13 Oct 2004 08:35:15 GMT

Is this memory leak on the client or the server? Usually I would expect to
see the Context Proxies count climb most on the client since it's the one
creating proxies, especially if you use a lot of CAOs.

As for memory leaks, keep in mind that, once remoted, objects won't be
released by the remoting system for about 5 minutes after they're last
accessed unless you're managing the lifetime manually or have changed the
default options. So, if you've got a lot of CAO creation going on, you'll
probably climb quickly for a while before leveling off as the objects get
destroyed.

One thing you can also check on in PerfMon is the GC generation info. Are a
lot of objects making it into generation 1 and 2? Is the gen 2 heap growing
and growing? If so, this will cause what looks like a memory leak since the
GC will collect only gen 0 until absolutely necessary to move to the later
generations (or until you force it by calling GC.Collect()).

Ken






rising
Stupid

Explain
created in
the



I've
know if



Re: Performance Monitoring: Context Proxies

Postby Sm9zaHVhIEJlbGRlbg » Wed, 13 Oct 2004 08:45:01 GMT

The memory increase is 90% on the client side and I think you're right, I'm 
not testing long enough. Honestly I know very little about the garbage 
collection but I will throw in the gc counters and let it go for a while.












Similar Threads:

1.Monitor Performance of ADO and ASP without Performance-Counter

Hi,

i'm currently working on a way to determine current
database-connection-usage (Unpooled Connection, Pooled Connections,
...) and website monitoring (threadcount, ...) without using the
WindowsNT-Performance-Counters.

I want to use this for instrumentation purposes (so i can tell anywhere
in my .net code e.g. how many database connections are currently in use
by the aspnet_wp - process).

I want to keep the performance overhead as small as possible - so i
want to avoid using the perfmon infrastructure.

Any suggestions appreciated.

br

HPW

2.monitoring performance with performance counters on iis6

Hi,

I don't know if this is the right newsgroup for my question.

In our company we have a production server with IIS6 and it host 20 
websites. Each website has a it own application pool.
If I look in the taskmanager of the I see that there is a website that uses 
270Mb memory.
I know the PID of the process so I know with  pool that uses this memory.

If i open perfmon and select the category ASPNET app v1.1.4322 when
I look to the instance list I see with instance simelar to 
_LM_W3SVC_1303973812_root. If I search in the metadatabase of iis6 I know I 
can know with application pool it is.

But my problem is the follow when I select the category .NET CLR Memory and 
look at the instances list
I see a list simelar to this w3wp, w3wp#1 w3wp#2, ... . I there no way to 
know with application pool belong to w3wp#1.

Thanks.



3.Notifier Context Menu Position with Dual Monitors

I'm writing a windows forms application that involves a notifier icon
with a context menu.  When I run the application and right click the
icon, the placement of the resulting context menu does not appear in a
manner consistent with other application's notifier menus.

I have a dual monitor setup with my taskbar running vertically up the
left side of my right monitor (that is, it basically divides my overall
desktop down the middle).  For all other notifiers for applications
that I have running, the associated context menu opens in such a way
that it appears above and to the right of where I clicked so that the
menu is on the same desktop as the taskbar.

With my notifier, the menu opens above and to the *left* of where I
click, which results in it opening on the other monitor.  Even worse,
if a menu item has a sub-menu, that menu opens not just back on the
right monitor, but also refuses to overlap my taskbar and so opens on
the far right side of it.

If my text art skills are any good, it looks something like the picture
below, where |||||||| is my task bar and "| o    |" is my little
notifier icon.


           ||||||||
menuitem1  ||||||||
menuitem2 >|||||||| submenuitem
           | o    |

I can reproduce this with a very simple windows form application - an
empty form with a NotifyIcon and associated ContextMenuStrip will do
it.  I can post the code if it would help, but everything is just
VS2005 generated designer code with default values.

Anyone know if this is a bug, or just a setting I'm missing somewhere?
I'm going to try switching to a "ContextMenu" rather than
"ContextMenuStrip" and see if that makes a difference, despite
ContextMenuStrip apparently being the recommended way of doing things.

4.Remoting in ASP.NET environment - Delete Context Proxy?

Hi all,

I have an ASP.NET page (web service) which acts as a remoting client.

I'm using a singleton model. The webpage passes an object to the server for 
processing.

In perfmon I've noticed that my context proxies in the host are increasing 
- it seems like the host is not releasing context proxies on the client 
side.

Is there a way on the client (ASP.NET) to close off my remoting connection 
and to remove the context proxy on the server side once I'm done with my 
remote call?

Thanks!

5.Bypassing Proxy server when using Security Context Tokens

I'm attempting to setup our web service clients to not go through a proxy
server if one is setup. On the web serivice client I can supposedly set the
Proxy property to GlobalProxySelection.GetEmptyWebProxy() to bypass any
proxy that is setup in a global machine policy. However before I call my web
service method I get a security context token from the
SecurityContextTokenServiceClient.IssueSecurityContextTokenAuthenticated()
and I can't seem to find a way to have this service use an empty proxy...
Any ideas on how to not go through a proxy server if one is setup?

Thanks
Kyle.


6. Performance monitoring

7. Can't see counters at the performance monitor

8. Performance Monitor Connection Pools



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 31 guest