In our TFS setup the Scrum Eventing Service often times out while updating work items. I've been reviewing the messages in the Event Viewer and tracked back on several of the workitem id's i found in there. There seems to be no obviuous reason why it would time out. At first I thought it might be caused by PBI's having a lot of SBI's but it also happens with PBI's having only 2 or 3 linked SBI's.
Any idea why updating a PBI with 2 SBI's would take longer than 2 minutes? When updating the PBI's and SBI's using the ScrumConsistencyCheck tool it never occurs...
Thx in advance,
Peter
Stuart,
Let me give you an update:
Some statistics:
We've currently got about
I cannot send you the complete eventlog but i included some screenshots in the rtf in attachment...
The event was correctly registered, i've put the filter in the rtf document as well.
Thx in advance
Uploading the RTF failed so here goes....
Scrum Version
1.2
Event Subscription
"CoreFields/StringFields/Field[ReferenceName = 'System.WorkItemType']/NewValue" = "Sprint Backlog Item" AND (("ChangedFields/IntegerFields/Field[ReferenceName='Conchango.VSTS.Scrum.WorkRemaining']/OldValue" <> "ChangedFields/IntegerFields/Field[ReferenceName='Conchango.VSTS.Scrum.WorkRemaining']/NewValue") OR (("ChangedFields/StringFields/Field[ReferenceName='System.State']/OldValue" <> "Deleted" AND "ChangedFields/StringFields/Field[ReferenceName='System.State']/NewValue" = "Deleted") OR ("ChangedFields/StringFields/Field[ReferenceName='System.State']/OldValue" = "Deleted" AND "ChangedFields/StringFields/Field[ReferenceName='System.State']/NewValue" <> "Deleted")))
Event captured by Eventing Service
Event Type: InformationEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 24/08/2007Time: 4:05:33User: N/AComputer: S2001330Description:SprintBacklogItemChanged.NotifyeventXml: <?xml version="1.0" encoding="utf-16"?><WorkItemChangedEvent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PortfolioProject>KBC.MisKBC2</PortfolioProject><ProjectNodeId>f94d61c7-9d49-4539-aaa6-a2810bf676c6</ProjectNodeId><AreaPath>\KBC.MisKBC2\Web Application\Tactical</AreaPath><Title>KBC.MisKBC2 Work Item Changed: Sprint Backlog Item 11863 - Mass Prolongation tactical SI Link</Title><WorkItemTitle>Mass Prolongation tactical SI Link</WorkItemTitle><Subscriber>ONT001\TFSSERVICE</Subscriber><ChangerSid>S-1-5-21-911899778-770800173-925700815-7358</ChangerSid><DisplayUrl>http://s2001330:8080/WorkItemTracking/WorkItem.aspx?artifactMoniker=11863</DisplayUrl><TimeZone>W. Europe Daylight Time</TimeZone><TimeZoneOffset>+02:00:00</TimeZoneOffset><ChangeType>Change</ChangeType><CoreFields><IntegerFields><Field><Name>ID</Name><ReferenceName>System.Id</ReferenceName><OldValue>11863</OldValue><NewValue>11863</NewValue></Field><Field><Name>Rev</Name><ReferenceName>System.Rev</ReferenceName><OldValue>13</OldValue><NewValue>14</NewValue></Field><Field><Name>AreaID</Name><ReferenceName>System.AreaId</ReferenceName><OldValue>520</OldValue><NewValue>520</NewValue></Field></IntegerFields><StringFields><Field><Name>Work Item Type</Name><ReferenceName>System.WorkItemType</ReferenceName><OldValue>Sprint Backlog Item</OldValue><NewValue>Sprint Backlog Item</NewValue></Field><Field><Name>Title</Name><ReferenceName>System.Title</ReferenceName><OldValue>Mass Prolongation tactical SI Link</OldValue><NewValue>Mass Prolongation tactical SI Link</NewValue></Field><Field><Name>Area Path</Name><ReferenceName>System.AreaPath</ReferenceName><OldValue>\KBC.MisKBC2\Web Application\Tactical</OldValue><NewValue>\KBC.MisKBC2\Web Application\Tactical</NewValue></Field><Field><Name>State</Name><ReferenceName>System.State</ReferenceName><OldValue>In Progress</OldValue><NewValue>In Progress</NewValue></Field><Field><Name>Reason</Name><ReferenceName>System.Reason</ReferenceName><OldValue>Work has commenced</OldValue><NewValue>Work has commenced</NewValue></Field><Field><Name>Assigned To</Name><ReferenceName>System.AssignedTo</ReferenceName><OldValue>U92575A</OldValue><NewValue>U92575A</NewValue></Field><Field><Name>Changed By</Name><ReferenceName>System.ChangedBy</ReferenceName><OldValue>U92575A</OldValue><NewValue>U92575A</NewValue></Field><Field><Name>Created By</Name><ReferenceName>System.CreatedBy</ReferenceName><OldValue>U94871A</OldValue><NewValue>U94871A</NewValue></Field><Field><Name>Changed Date</Name><ReferenceName>System.ChangedDate</ReferenceName><OldValue>23/08/2007 18:06:13</OldValue><NewValue>23/08/2007 18:06:25</NewValue></Field><Field><Name>Created Date</Name><ReferenceName>System.CreatedDate</ReferenceName><OldValue>1/08/2007 10:24:24</OldValue><NewValue>1/08/2007 10:24:24</NewValue></Field><Field><Name>Authorized As</Name><ReferenceName>System.AuthorizedAs</ReferenceName><OldValue>U92575A</OldValue><NewValue>U92575A</NewValue></Field><Field><Name>Iteration Path</Name><ReferenceName>System.IterationPath</ReferenceName><OldValue>\KBC.MisKBC2</OldValue><NewValue>\KBC.MisKBC2</NewValue></Field></StringFields></CoreFields><ChangedFields><IntegerFields><Field><Name>Work Remaining</Name><ReferenceName>Conchango.VSTS.Scrum.WorkRemaining</ReferenceName><OldValue>13</OldValue><NewValue>12</NewValue></Field></IntegerFields><StringFields /></ChangedFields></WorkItemChangedEvent>tfsIdentityXml: <TeamFoundationServer url="http://S2001330:8080" />
Event Type: InformationEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 24/08/2007Time: 4:05:33User: N/AComputer: S2001330Description:SprintBacklogItemChanged.ParseSprintBacklogItemChangedEventeventWorkItemType: Sprint Backlog ItemprojectName: KBC.MisKBC2sprintBacklogItemId: 11863serverName: http://S2001330:8080isEventForCorrectWorkItemType: True
Messages in Event Log showing MakeTFSConnection 1 thru 7
Event Type: ErrorEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 24/08/2007Time: 4:05:43User: N/AComputer: S2001330Description:MakeTfsConnectionpoint 7
Messages in Event Log showing construction of Projects Collection Messages in Event Log showing UpdateWorkRemaining
Event Type: ErrorEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 24/08/2007Time: 4:05:52User: N/AComputer: S2001330Description:SprintBacklogItemChanged.UpdateWorkRemainingpoint 0
Events of Scrum4TS looping over all Scrum Projects
Event Type: ErrorEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 24/08/2007Time: 4:05:52User: N/AComputer: S2001330Description:SprintBacklogItemChanged.UpdateWorkRemainingProjects[24] = KBC.Vta
This is the last event before TFS Signals timeout after almost 4 minutes Event Type: WarningEvent Source: TFS ServicesEvent Category: NoneEvent ID: 3051Date: 24/08/2007Time: 4:10:30User: N/AComputer: S2001330Description:TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.Technical Information (for the administrative staff):Date (UTC): 24/08/2007 2:10:30Machine: S2001330Application Domain: /LM/W3SVC/3/Root/services-2-128323227031074520Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727Process Details: Process Name: w3wp Process Id: 3624 Thread Id: 2960 Account name: ONT001\TFSSERVICE
Detailed Message: TF50280: Could not connect to the service at: 'http://s2001330/Scrum.Eventing.Service/SprintBacklogItemChanged.asmx'. Check the service configuration.Full Exception:The operation has timed outException Message: The operation has timed out (type WebException)
Exception Stack Trace: at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.TeamFoundation.Server.NotificationClient.Notify(String eventXml, String tfsIdentityXml, SubscriptionInfo SubscriptionInfo)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
I am also having a very similar issue. Our problem began about 3 weeks ago and we have been using Scrum for Team System for 5 months. When Scurm.Eventing.Service begins to fail other applications begin to as well. Currently Scrum.Eventing.Service is running in the TFS AppPool with other critical TFS items. To help with the situation I have set the application pool to recycle every 2 hours. I am currently pondering the possibility of moving Scrum.Eventing.Service into its own AppPool so it does not affect other applications. Does any one have solution for this issue?
Event Type: WarningEvent Source: TFS ServicesEvent Category: NoneEvent ID: 3051Date: 12/28/2007Time: 10:10:18 AMUser: N/AComputer: ****TFS1Description:TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.Technical Information (for the administrative staff):Date (UTC): 12/28/2007 6:10:18 PMMachine: ****TFS1Application Domain: /LM/W3SVC/3/Root/services-2-128433353912659016Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727Process Details: Process Name: w3wp Process Id: 2068 Thread Id: 1552 Account name: *****\svc_tfs
Detailed Message: TF50280: Could not connect to the service at: 'http://****tfs1/Scrum.Eventing.Service/SprintBacklogItemChanged.asmx'. Check the service configuration.Full Exception:The operation has timed outException Message: The operation has timed out (type WebException)
Event Type: ErrorEvent Source: Scrum for Team SystemEvent Category: NoneEvent ID: 0Date: 12/28/2007Time: 10:17:07 AMUser: N/AComputer: ****TFS1Description:Error in Server constructorMessage = External component has thrown an exception., Stack Trace = at new[](UInt32 ) at CPslArray<unsigned __int64>.FAlloc(CPslArray<unsigned __int64>* , UInt32 n) at CPslArray<unsigned __int64>.FAppend(CPslArray<unsigned __int64>* , UInt64* t) at CCurrNodeRules.HrSetRule(CCurrNodeRules* , UInt64 cookie, PsRuleMetadataRecord* pRule) at CPsBusinessRuleEngine.HrBuildAccessToken(CPsBusinessRuleEngine* , Int32 fUseSidSecurity, Char* pszNamePart, Char* pszSid, IUnknown** ppUnkToken) at CCacheManager.HrSetIdentity(CCacheManager* , Char* bstrUserAccountName, Char* bstrUserFriendlyName, Char* bstrUserSid, PsUserDisplayModeEnum displayMode, Boolean fUseSidSecurity) at CProdStudioDataStore.HrRefreshCache(CProdStudioDataStore* , Boolean fResynchOnly, Boolean bInit, Boolean fNoFire, Boolean fByPassFireOnThis, Int32 hCredentials, Char* bstrUserAccountName, Char* bstrUserFriendlyName, Char* bstrUserSid) at CProdStudioDataStore.ConnectEx(CProdStudioDataStore* , Char* bstrUrl, Int32 hCredentials, Char* bstrDefaultCachePath, Char* bstrInstanceId, Char* bstrUserAccountName, Char* bstrUserFriendlyName, Char* bstrUserSid) at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DatastoreClass.ConnectEx(String connectionString, Int32 hCredentials, String defaultCachePath, String instanceId, String userSamName, String userFriendlyName, String userSid) at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.Microsoft.TeamFoundation.Client.ITeamFoundationServerObject.Initialize(TeamFoundationServer teamFoundationServer) at Microsoft.TeamFoundation.Client.TeamFoundationServer.CreateITFSObjectInstance(Type serviceType) at Microsoft.TeamFoundation.Client.TeamFoundationServer.GetService(Type serviceType) at Conchango.TeamSystem.Scrum.Common.Server.MakeTfsConnection(String serverName) at Conchango.TeamSystem.Scrum.Common.Server..ctor(String serverName)