问题标签 [web-garden]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
63 浏览

asp.net-mvc - ASP.NET MVC Signalr reconnect and negotiate throwing a System.OutOfMemoryException

I have an ASP.NET MVC application working on a Web Garden configuration. The application pool identity is set to a custom domain account (with local administator permissions). Application pool has 4 worker processes. Session state mode is set to serverState using the ASP.NET State service which runs on the same machine (not remote one).

Regarding to signalr I have noticed an OutOfMemoryException in the event log when trying to reconnect and negotiate and I am not being able to detect what is happening. Any help will be highly appreciated.

Some texts below in the errors are in Spanish (Sorry).

Below the reconnect error:

And below the signalr negotitate error (Event id 1309):

0 投票
0 回答
424 浏览

asp.net-mvc - IIS:无法向会话状态服务器发出会话状态请求

我有一个配置为使用 Web Garden 运行的 ASP.NET MVC 应用程序。会话状态模式在 web.config 中设置为 StateServer,使用如下:

ASP.NET 状态服务在同一台机器(不是远程机器)上运行,因此上面的 ip 在端口 42424 上设置为 127.0.0.1。它被配置为自动并且它始终在运行。

应用程序池的最大工作进程设置为 4。

我经常在事件日志中收到很多关于状态服务器的警告消息。在错误下方(事件 ID 1310):

我已确保 ASP.NET State 服务已启动并正在运行,并且客户端和服务器端口是正确的,分别为 127.0.0.1 和 42424。我还有注册表项 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection。该键存在并且设置为 0,因为 ASP.NET State 服务在同一台机器上运行(无需将其设置为 1)。

所以,我不明白为什么要检查状态服务器.....有什么想法吗?我花了很多天谷歌搜索,但我无法解决这个问题。