- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我有一个在集群中运行的全状态服务结构应用程序。我有大约 20 个全状态应用程序在同一个集群中运行。我已将 TraceEventSession 用于关联目的。我的集群有 10 个节点。当我部署应用程序时,我能够看到 TPL session 在性能监视器中处于事件状态。当集群中部署的应用程序数量增加时,我开始收到指定的错误
Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)
System.Runtime.InteropServices.COMException (0x800705AA): Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.Diagnostics.Tracing.Session.TraceEventSession.EnableProvider(Guid providerGuid, TraceEventLevel providerLevel, UInt64 matchAnyKeywords, TraceEventProviderOptions options) at TestApp.Service.Program.Main() in C:\Agent_work\12\s\TestApp\TestApp.Service\Program.cs:line 61
这是我在 program.cs 中编写的用于启用 tpl session 的代码
session = new TraceEventSession("TestApp_TplSession");
session.EnableProvider(TplEtwProviderTraceEventParser.ProviderGuid, TraceEventLevel.Verbose,
(ulong)TplEtwProviderTraceEventParser.Keywords.TasksFlowActivityIds);
session.EnableProvider(ServiceEventSource.Current.Name);
我不确定在同一个集群中会部署多少状态的全服务应用。我将如何摆脱这个错误?
最佳答案
Windows 限制可以同时运行 64 个 ETW session 。考虑使用在每个节点上运行的单个无状态应用来创建单个 session 。
关于c# - ServiceFabric 应用程序中的 TraceEventSession 使用引发资源不足错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39980899/
我们目前正在调查为什么当节点的 CPU 使用率达到 100% 时我们的集群无法正确进行负载平衡。 现在,当我通过服务结构资源管理器查看集群并单击“详细信息”时,会显示指标信息。 (例如计数、Prima
每当我从另一个调用一个服务结构服务时,代理上的第一个调用非常慢,即比所有后续调用慢 100 倍。我已经把时间记录在调用之前的时间,然后是被调用的服务方法中的时间,这很容易超过 60 秒!服务结构集群是
我们正在开发一个处理 Excel 文件并输出输出的应用程序。可用性并不是一个很大的要求。 我们可以在夜间关闭虚拟机并在早上再次打开吗?这种设置可以与服务结构一起使用吗?如果可以的话,有什么办法可以安排
我正在尝试在 Azure VM(Windows Datacenter 2016)上安装 ServiceFabric SDK 以配置我们的 TFS 构建代理。但是当我启动安装时出现错误。我尝试重新安装
我对在本地主机上使用 SSL 在本地集群上运行 SF 有一些误解。Microsoft 创建了 greate article about configuring HTTPS on your endpoi
在 Azure 服务结构中的服务之间共享大文件的正确架构/方法是什么。我们有一项无状态服务(A)和一项有状态服务(B)。用户将使用无状态服务上传文件(例如.csv格式),有状态服务将对其进行处理并将处
在 Azure 中管理将代码更改部署到开发、测试和生产环境的好方法是什么? Azure/Service Fabric 站点提供了一篇文章,用于在操作指南 - 管理应用程序生命周期 ( https://
我有一个在集群中运行的全状态服务结构应用程序。我有大约 20 个全状态应用程序在同一个集群中运行。我已将 TraceEventSession 用于关联目的。我的集群有 10 个节点。当我部署应用程序时
我目前正在 Azure ServiceFabric 上使用 ReliableActors 框架构建应用程序。随着我们的规模扩大,我正在考虑进行蓝/绿部署。我可以看到如何使用无状态系统来做到这一点。有没
我有一个使用服务结构的现有系统。一切正常,除非在服务发布期间服务不可用并且任何解决方案都返回错误。 这是可以预期的,但是如果在这段时间内调用只是等待或超时,那将是很好的选择。在这段时间内,我的错误日志
已关闭。此问题需要 debugging details 。目前不接受答案。 编辑问题以包含 desired behavior, a specific problem or error, and the
我想使用 azure ad 和 powershell 将应用部署到我的服务结构。 我已经设置了所需的 Azure AD 应用程序,但我不知道如何以编程方式登录 Azure AD 帐户,以便可以从 CD
我正在玩服务结构,有一个包含两个参与者和一个服务的包,在构建时,我的应用程序的 list 文件会自动更新为:
我感兴趣的是为什么我们可能会使用其中一种而不是另一种,即这些方法的优点和缺点。 据我了解,两者都提供故障处理和端点解析。我的假设是对外部客户端(集群外)使用 ReverseProxy,对集群内使用 S
我正在研究 Service Fabric(我的第一个 Service Fabric 项目)。我收到这个奇怪的错误,提示 Microsoft.ServiceFabric.Data.Impl.pdb 未加
我正在研究 Service Fabric(我的第一个 Service Fabric 项目)。我收到这个奇怪的错误,提示 Microsoft.ServiceFabric.Data.Impl.pdb 未加
这是我的设置 IdentityServer 4 作为无状态可靠的 ASP.NET Core 服务。WebAPI 作为可靠的 ASP.NET Core 服务。 将它们与 JS 客户端一起使用,它现在可以
所以如果我有一个 Actor 并且我使用以下行: await RegisterReminderAsync("My Reminder", new byte[0], TimeSpan.FromDa
我有一个独立的 ServiceFabric 集群(3 个节点)。我为服务器和客户端授权创建了 SSL 证书。然后我将证书指纹分配给集群配置。一切正常(集群运行状况良好,我的应用程序也正常运行。但是 M
我有一个使用在 Service Fabric 上运行的 EventFlow 的 ETW 监听器。 这是我的配置文件(eventFlowConfig.json): { "inputs": [
我是一名优秀的程序员,十分优秀!