eusebiu
2007-08-24 15:07:24 UTC
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
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