英文:
Error: "We stopped hearing from agent Hosted Agent."
问题
这是为Dynamics 365 Finance and Operations构建的版本。托管经典管道,数周运行良好,突然间出现此错误。已经在能找到的地方增加了超时时间。似乎每次在1小时15分钟时出现超时,这让我觉得可能是参数或限制,但我找不到任何信息。超时发生在X++编译过程中。我对其他客户运行过相同的管道配置,代码规模更大,没有问题,我对可能的原因感到困惑。
我在文档中找到了这个:
私有项目:一个免费并行作业,每次可以运行最多60分钟,直到使用了1,800分钟(30小时)为止。您可以支付额外的并行作业容量。付费并行作业取消了每月时间限制,允许您每个作业运行最多360分钟(6小时)。购买Microsoft托管的并行作业。
但从我所看到的情况来看,我们并未达到这些限制。我不运行并行作业。然而,如果60分钟限制也适用于单线程作业,也许这就是问题所在?有什么想法吗?我需要提供任何额外的细节吗?
英文:
This is a build for Dynamics 365 Finance and Operations. Hosted classic pipeline, ran fine for weeks, but all of a sudden I get this error.
Already increased the timeouts where I could find any.
It appears to conk out each time at 1 hour and 15 minutes, which tells me that it must be either a parameter or a limitation, but I can't find anything.
The timeout happens during the X++ compile process.
I've run this same pipeline config for other customers with much large code bases without problems, and I'm stumped as to what the cause could be.
I found this in the documentation:
Private project: One free parallel job that can run for up to 60 minutes each time, until you've used 1,800 minutes (30 hours) per month. You can pay for additional capacity per parallel job. Paid parallel jobs remove the monthly time limit and allow you to run each job for up to 360 minutes (6 hours). Buy Microsoft-hosted parallel jobs.
But from what I can see we have not hit those limits. I don't run parallel jobs. However if the 60 min limit also applies to single-threaded jobs, maybe that is the issue?
Any ideas? Any additional detail I need to provide?
答案1
得分: 1
忽略单词“parallel”。它只是指出如果您为额外的容量付费,作业可以并行运行。如果您只有一个“并行作业”,实际上没有可用的并行性。
在免费层托管的代理上,单个作业的限制为60分钟,60分钟后将被取消。解决方法是要么托管自己的代理,要么支付Microsoft。
英文:
Ignore the word "parallel". It's just indicating that jobs can run in parallel if you pay them for additional capacity. If you only have a single "parallel job", there's not really any parallelism available.
On the hosted agent at the free tier, a single job is limited to 60 minutes and will be cancelled after 60 minutes have elapsed. The solution is to either host your own agent or pay Microsoft.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论