Alexcrmresultantsnl
Fri May 02 13:45:01 CDT 2008
Fixed it: .net 3.0 Sp1 did the trick, somehow....
"Alex (crm-resultants.nl)" wrote:
> Migrated crm 32b to x64 version but that did not help:
> 11 the same errormessages are logged in the eventlog during the 100% CPU time:
>
> Event Type: Error
> Event Source: MSCRMAsyncService
> Event Category: None
> Event ID: 17411
> Date: 2-5-2008
> Time: 10:13:20
> User: N/A
> Computer: TD4-CRM1
> Description:
> Host TD4-CRM1: failed while monitoring asynchronous operations queue.
> Exception: System.InvalidOperationException: There was an error generating
> the XML document. ---> System.Net.WebException: The request was aborted: The
> request was canceled.
> at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer,
> Int32 offset, Int32 size, AsyncCallback callback, Object state)
> at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
> at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
> at System.IO.StreamWriter.Write(Char value)
> at System.Xml.XmlTextWriter.InternalWriteEndElement(Boolean longFormat)
> at
> System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String
> name, String ns, Object o, Boolean xsiType)
> at
> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write123_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
> at
> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write570_ConditionExpression(String
> n, String ns, ConditionExpression o, Boolean isNullable, Boolean needType)
> at
> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write571_FilterExpression(String
> n, String ns, FilterExpression o, Boolean isNullable, Boolean needType)
> at
> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write575_QueryExpression(String
> n, String ns, QueryExpression o, Boolean isNullable, Boolean needType)
> at
> Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1628_RetrieveMultiple(Object[] p)
> at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
> --- End of inner exception stack trace ---
> at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
> at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
> at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Serialize(SoapClientMessage message)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
> at Microsoft.Crm.SdkTypeProxy.CrmService.RetrieveMultiple(QueryBase query)
> at
> Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.RetrieveMultiple(QueryBase query)
> at
> Microsoft.Crm.Asynchronous.UpdateContractStatesOperation.ExpireContracts()
> at
> Microsoft.Crm.Asynchronous.UpdateContractStatesOperation.InternalExecute(AsyncEvent asyncEvent)
> at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent
> asyncEvent)
> at
> Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.ProcessAsyncEvent(AsyncEvent asyncEvent)
> at
> Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.InvokeHandlerInPool(Object state)
> at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
> at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object
> state)
>
>
>
>
> In the CRMDiagTool :
>
>
> >AsyncHandler::UpdateContractStatesOperation could not complete because of exception There was an error generating the XML document.
> [2008-05-01 18:53:32.2] Process:CrmAsyncService
> |Organization:e0e61756-dab3-4350-a712-481acbf018c9 |Thread: 7 |Category:
> Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
> UpdateContractStatesOperation.InternalExecute
> at UpdateContractStatesOperation.InternalExecute(AsyncEvent asyncEvent)
> at AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
> at PoolHandler.ProcessAsyncEvent(AsyncEvent asyncEvent)
> at PoolHandler.InvokeHandlerInPool(Object state)
> at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback
> callback, Object state)
> at _ThreadPoolWaitCallback.PerformWaitCallback(Object state)
>
>
> "Alex (crm-resultants.nl)" wrote:
>
> >
> >
> > "Robert MacLean" wrote:
> >
> > > "Alex (crm-resultants.nl)" <Alexcrmresultantsnl@discussions.microsoft.com>
> > > wrote in message news:24DE208A-C9E1-4488-BCB7-7F26F6BAAC98@microsoft.com...
> > > > Hi,
> > > >
> > > > We now have implemented a couple of single server/processor 4.0
> > > > installations.
> > > > But often (on 64bit OS) we see MSCRMAsyncService eating up all CPU and a
> > > > lot
> > > > of memory from time to time; making working with CRM impossible. Could not
> > > > be
> > > > that the service is bussy on something, because CRM is installed from
> > > > scratch
> > > > with no data.
> > > >
> > > > Anyone?
> > >
> > > Anything listed in system jobs (settings area) that corresponds to the time
> > > of these spikes?
> > >
> > > --
> > > Robert MacLean
> > >
http://www.sadev.co.za
> > >
> >
> > No settings done what soever. Clean install.
> > It does this behavior a couple of times only on x64 systems and only after
> > reboot of CRM server: The process eats all CPU for about 5 minutes. During
> > this the process uses about 700 Mb extra internal memory and releases it
> > again.
> >
> >
> >