C# Web Service gets stuck waiting for lock, does not return
- by blue
We have a C#(2.0) application which talks to our server(in java) via web services.
Lately we have started seeing following behavior in (ONLY)one of our lab machines(XP):
Once in a while(every few days), one of the webservice request will just get stuck, will not return or timeout.
Following is the stacktrace where it seem to be stuck.
Have no clue what is going on here.
Any pointer would be of great help.
ESP EIP
05eceeec 7c90eb94 [GCFrame: 05eceeec]
05ecefbc 7c90eb94 [HelperMethodFrame_1OBJ: 05ecefbc]
System.Threading.Monitor.Enter(System.Object)
05ecf014 7a5b0034
System.Net.ConnectionGroup.Disassociate(System.Net.Connection)
05ecf040 7a5aeaa7
System.Net.Connection.PrepareCloseConnectionSocket(System.Net.ConnectionReturnResult
ByRef)
05ecf0a4 7a5ac0e1
System.Net.Connection.ReadStartNextRequest(System.Net.WebRequest,
System.Net.ConnectionReturnResult ByRef)
05ecf0e8 7a5b1119
System.Net.ConnectStream.CallDone(System.Net.ConnectionReturnResult)
05ecf0fc 7a5b3b5a System.Net.ConnectStream.ReadChunkedSync(Byte[], Int32,
Int32)
05ecf114 7a5b2b90 System.Net.ConnectStream.ReadWithoutValidation(Byte[], Int32,
Int32, Boolean)
05ecf160 7a5b29cc System.Net.ConnectStream.Read(Byte[], Int32, Int32)
05ecf1a0 79473cab System.IO.StreamReader.ReadBuffer(Char[], Int32, Int32,
Boolean ByRef)
05ecf1c4 79473bd6 System.IO.StreamReader.Read(Char[], Int32, Int32)
05ecf1e8 69c29119 System.Xml.XmlTextReaderImpl.ReadData()
05ecf1f8 69c2ad70 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
05ecf20c 69c292d7 System.Xml.XmlTextReaderImpl.Read()
05ecf21c 69c2929d System.Xml.XmlTextReader.Read()
05ecf220 6991b3e7
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(System.Web.Services.Protocols.SoapClientMessage,
System.Net.WebResponse, System.IO.Stream, Boolean)
05ecf268 69919ed1
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(System.String,
System.Object[])