WorkflowServicehost 00:00:30启动工作流程超时 [英] WorkflowServicehost 00:00:30 Timeout in starting Workflows

查看:81
本文介绍了WorkflowServicehost 00:00:30启动工作流程超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨社区,

我遇到的问题是,终止和启动工作流程后会超时.我创建了一个测试应用程序来重现此行为,并注意到我的错误是我忘记了关闭工作流客户端.因此,在250开始和终止之后 发生超时.

I had the problem that I got a timeout after terminating and starting workflows. I created a test applikation to reproduce this behavoir and noticed that my error was that I had forgotten to Close the Workflow Clients. So after 250 starts and terminates a timeout occured.

修复了该错误之后,我注意到了另一个错误,即在我启动927 Workflow 928之后.工作流发生了00:00:30超时(在我的4核心Intel i7 Maschine上).工作流是按顺序启动的,因此不再有太多消息出现的问题 消息队列.也只有一个开放的连接.

After the Bug was fixed I noticed another Bug that after I started 927 Workflows the 928. Workflow got a 00:00:30 timeout (on my 4 Core Intel i7 Maschine). The workflows are started sequecially so there should be no problem anymore of too many messages in message queue. Also there is just one open connection.

在其他我测试了解决方案的机器上,我在450个工作流开始后超时了.

On other Maschines where I tested the solution I got the timeout after 450 workflow starts.

我看到那里有关于该主题的其他主题,但没有其他主题可以帮助我解决此问题.

I saw there where other threads about this topic but none could help me solving this problem.

我附上了样品溶液

工作流程示例邮政编码

要测试此示例,需要在不进行调试的情况下启动项目,而在通过调试启动项目时,工作流的启动速度非常慢,并且该过程在任务管理器中的线程数达到700,并保留了更多的内存.一个非常讨厌的"bug".窗户 工作流基础.

To test this sample it required to start the project without debugging, when project is startet with debugging the workflows start very slowly and the process gets up to 700 Threads in task manager and reserves much more memory. A very nasty "bug" of windows workflow foundation.

推荐答案

有趣.我运行了您的样本,发现在大约465个工作流程后事情突然停止了.在这一点上,附加和断开它似乎客户端只是在等待Socket.Receive的网络响应,因此似乎在WorkflowServiceHost上有问题 而不是客户端.

Interesting. I ran your sample and saw suddenly things stopped after about 465 workflows. At this point attaching and breaking it looks like the client is just waiting on Socket.Receive for a network response, so it seems likely to be a problem on the WorkflowServiceHost side, not the client side.

到目前为止,您还发现哪些其他链接在谈论这个问题?
蒂姆(Tim)

What other links did you find talking about the problem so far?
Tim


这篇关于WorkflowServicehost 00:00:30启动工作流程超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆