Re: CPU at 50%

Tech-Archive recommends: Fix windows errors by optimizing your registry



Are you closing the channel and freeing the object reference when the calls
within the web service finishes?

"eusebiu" <MarcuEusebiu@xxxxxxxxx> wrote in message
news:1187968043.687565.117930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello...

I have a web application that is calling a method from a web service.
This webservice has a class that is a client class in a remoting
scenario. The problem is that, after the remote server responds to the
client's(the web service) request and the web method returns a
value(true/false) that is send to the web page, a thread is reserving
50% of CPU. I've looked after this thread with ProcessExplorer lookgin
inside the RemoteServer Application and it's a thread from
mscorwks.dll!CreateApplicationContext and it's state is Ready. If I
set a brake point on the call to remote server and the servers
responds, the CPU usage is normal(the remoting server application is
accting normally) but after the WS is sending the response to the web
page, the CPU usage is at 50% - but I see this value and the thread
looking at Remoting server....

The Stack for that thread is :

0.ntkrnlpa.exe!KiUnexpectedInterrupt+0x121
1.ntkrnlpa.exe!ZwYieldExecution+0x1c5e
2.hal.dll+0x2ef2
3.System.ni.dll+0x98546
4.mscorwks.dll!DllRegisterServerInternal+0x1997
5.mscorwks.dll!DllRegisterServerInternal+0x1917
6.mscorwks.dll!TranslateSecurityAttributes+0x385a2
7.mscorwks.dll!TranslateSecurityAttributes+0x38a03
8.System.ni.dll+0x67674b
9.mscorwks.dll!GetCompileInfo+0x148ea


Can someone give me a hint?

Thanks



.



Relevant Pages

  • ASP.NET WebService Response - CPU at 50%
    ... I have a web application that is calling a method from a web service. ... This webservice has a class that is a client class in a remoting ... after the remote server responds to the ... sending the response to the web page, the CPU usage is at 50%. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET WebService Response - CPU at 50%
    ... I have a web application that is calling a method from a web service. ... This webservice has a class that is a client class in a remoting ... after the remote server responds to the ... sending the response to the web page, the CPU usage is at 50%. ...
    (microsoft.public.dotnet.framework.aspnet)
  • CPU at 50%
    ... I have a web application that is calling a method from a web service. ... This webservice has a class that is a client class in a remoting ... after the remote server responds to the ...
    (microsoft.public.dotnet.framework.remoting)
  • CPU at 50%
    ... I have a web application that is calling a method from a web service. ... This webservice has a class that is a client class in a remoting ... after the remote server responds to the ...
    (microsoft.public.dotnet.framework.remoting)
  • Y have the same problem with remoting in .net 2.0
    ... I have a web application that is calling a method from a web service. ... This webservice has a class that is a client class in a remoting ... after the remote server responds to the ... 50% of CPU. ...
    (microsoft.public.dotnet.framework.remoting)