问题
I have a lot of WF instances hosted in IIS/WAS which are in a running (idle) state which will not do anything even though they don't have such a long delay or any active bookmark.
Tracking is enabled (HealthMonitoringProfile).
As the tracking data is deleted, they end up without any tracked instance or events.
The only way to make them work again is to suspend and resume them, but this is sometimes failing and is always a pain.
Has anyone had this issue? any help?
Thanks in advance
回答1:
In that case they are most likely triggering an error and abort leaving their state. As there is no trigger for them to start executing they just sit there and do nothing. The default option is to AbandonAndSuspend so you can resume them. You need to figure out what is causing them to fault and normally you can see that in the traced information.
回答2:
Solution is here: AppFabric / WF 4.0 instances stuck despite no bookmark and pending timer
来源:https://stackoverflow.com/questions/5961629/abandoned-instances-that-will-not-continue-execution-zombie-instances