HighTechTalks DotNet Forums  

CPU at 50%

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss CPU at 50% in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
eusebiu
 
Posts: n/a

Default CPU at 50% - 08-24-2007 , 11:07 AM






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


Reply With Quote
  #2  
Old   
Robson Siqueira
 
Posts: n/a

Default Re: CPU at 50% - 09-12-2007 , 02:04 PM






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

"eusebiu" <MarcuEusebiu (AT) gmail (DOT) com> wrote

Quote:
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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.