Work around by " Due to heavy load, the latest workflow operation has been queued. "

转载 2015年07月08日 00:19:28

I hope most of the users and developers might have come across above note and worried about it. There can be any of following reasons for the cause of above note:

  1. A workflow being executed on a large number of items.
  2. Multiple workflows instances are being initiated on the same site within a small amount of time.
  3. Performance stress of SharePoint farm environment.
  4. When an item is added to the library it takes some times to initiate the workflow.
  5. When Workflow mail generating is not very fast due to heavy load on server.
  6. When Workflows take more time to Initiate the workflow on current item.
  7. Sometimes with out any reason “Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time”. message will be shown though the workflow might have already initiated.

The above points does mean always we have to add more hardware to the current farm environment but might be a reason sometimes when a farm environment running with limited RAM on them. But initially before considering an additional hardware try to change following configurations for workflow:

  • Increase Throttle Size
  • Increase Batch Size
  • Time Out
  • Workflow Timer Interval
  • AutoCleanUpDays

Increase Throttle Size

The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.

Use below PowerShell command to get the current Throttle Size:

Get-SPFarmConfig | Select WorkflowPostponeThreshold

Use below PowerShell command to set new Throttle Size:

Set-SPFarmConfig -WorkflowPostponeThreshold 100

Increase Batch Size

This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.

Use below PowerShell command to get the current Batch Size:

Get-SPFarmConfig | Select WorkflowBatchSize

Use below PowerShell command to set new Batch Size:

Set-SPFarmConfig -WorkflowBatchSize 200

Time Out

This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.

Use below STSADM command to get the current Time Out value:

stsadm -o getproperty -pn workflow-eventdelivery-timeout

Use below STSADM command to get the current Time Out value:

stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″

Workflow Timer Interval

This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.

Use below STSADM command to get the current Workflow Timer Interval value:

stsadm -o getproperty -pn job-workflow -url <Web Application Url>

Use below STSADM command to get the current Workflow Timer Interval value:

stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>

相关文章推荐

Log 分析:Due to heavy load, the latest workflow operation has been queued...

http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-oper...

Caused by: android.database.StaleDataException: Attempted to access a cursor after it has been close

03-24 10:35:43.322 818-818/indoorlocalization.qianniu.com.indoorlocalization E/AndroidRuntime: FATAL...

Source insight上修改samba共享ubuntu上内核源程序文件出现"Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to

阅读内核代码习惯和喜欢使用source insight。如果能在source insight上修改内核代码,同时又不需要把修改的内核代码再拷贝到虚拟ubuntu上去那就方便了。于是想通过用samba与...
  • reille
  • reille
  • 2011-06-03 17:42
  • 18536

mysql出现Connection.close() has already been called. Invalid operation in this state.

今天上服务器发现tomcat 里面报如下错误 但是网站并没有挂 后来找了原来 16-Nov-2016 11:43:08.437 警告 [http-nio-8989-exec-5] com.mchan...

The operation cannot be completed because the DbContext has been disposed

第99行换成: ZhaopinDbContext db = new ZhaopinDbContext(); 错误消失,页面显示正常了。到这里问题已经解决,是否就应该翻篇了呢。no,这不是一个程序员...

How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8

As announced earlier today on the Building Windows 8 blog, a Windows 8 consumer preview is avail...

SIOCSIFFLAGS: Operation not possible due to RF-kill

问题描述:SIOCSIFFLAGS: Operation not possible due to RF-kill         计算机系统:ubuntu12.04-LTS           ...

A fatal error has been detected by the Java Runtime Environment:

今天在用Junit做单元测试,发现出现了一下奇葩的问题: 打开它所说的Log文件,具体错误如下: # # A fatal error has been detected by the J...

Fedora 17 下运行Kettle遇到"A fatal error has been detected by the Java Runtime Environment"

遇到此问题十分纠结,具体的报错信息如下: # A fatal error has been detected by the Java Runtime Environment: # # SIGS...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)