Discussion:
CPU at 50%
(too old to reply)
eusebiu
2007-08-24 15:07:24 UTC
Permalink
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
unknown
2009-11-25 17:31:37 UTC
Permalink
How can I fix this? :(



eusebiu wrote:

CPU at 50%
24-ago-07

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

Previous Posts In This Thread:

On viernes, 24 de agosto de 2007 11:07
eusebiu wrote:

CPU at 50%
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

EggHeadCafe - Software Developer Portal of Choice
Managed Speech API in Windows Vista / .NET 3.0
http://www.eggheadcafe.com/tutorials/aspnet/8ea1429e-0656-4cc8-b2a1-480b2175b894/managed-speech-api-in-win.aspx
Loading...