NserviceBus scheduler stops executing job

纵然是瞬间 提交于 2020-01-02 12:21:12

问题


One of our agents has a job that runs every 5 seconds, which seems to stop for no apparent reason. There are no exceptions being thrown, another scheduled task, a heartbeat that confirms that the agent is running correctly, still works, and there are no error messages in the windows event log. The scheduled task runs correctly for a few days, but then stops for no apparent reason, as if the scheduler forgets to start the task again.

I have no debug information, since there are none, so my question is if anyone else has experienced this? Can it be caused by a scheduled task running for too long, or taking up too many resources? As in, the scheduled tasks don't terminate correctly (for some reason) and then the scheduler being unable to allocate a thread to start a new task?

There is a parallel discussion about this on the NServiceBus Google groups: https://groups.google.com/forum/#!topic/particularsoftware/0GAI9oqmp74


回答1:


A bug has been filed in the NServiceBus repo: https://github.com/Particular/NServiceBus/issues/2133



来源:https://stackoverflow.com/questions/23732174/nservicebus-scheduler-stops-executing-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!