我的团队的Asp.net 5 web应用程序(1.0.0-rc1-update1)在IIS 7.5上(Windows Server 2008 R2)重新启动IIS时和两个负载均衡实例的正常运行期间都会出现w3wp.exe崩溃。
这个问题在我们使用Windows 2012 R2的IIS 8上没有出现。看起来这是IIS 7.5与8之间的HttpPlatformHandler或DNX稳定性问题。其他人是否遇到了这个问题?有没有比升级Windows/IIS版本更简单的解决方法?它似乎不是由我们的应用程序代码确定性触发的。Github问题已经有一段时间没有更新了,不幸的是我们可能没有能力进行崩溃转储分析或进程调试。
关于HttpPlatform日志:
我使用webconfig设置打开了HttpPlatform日志:
似乎与以下github问题中相同的错误相关。错误和故障信息几乎相同:https://github.com/aspnet/IISIntegration/issues/35
'w3wp.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Symbols loaded.
The thread 0x6f54 has exited with code 0 (0x0).
Unhandled exception at 0x000000007717298A (ntdll.dll) in w3wp.exe: 0xC000070A: Status 0x (parameters: 0xFFFFFFFFC0000008, 0x00000000000002F8, 0x00000000003E59F0, 0x000000000038A280, 0x000007FEF4CF88F4).
Exception thrown at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.
Unhandled exception at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.
The program '[4540] w3wp.exe' has exited with code 0 (0x0).
这个问题在我们使用Windows 2012 R2的IIS 8上没有出现。看起来这是IIS 7.5与8之间的HttpPlatformHandler或DNX稳定性问题。其他人是否遇到了这个问题?有没有比升级Windows/IIS版本更简单的解决方法?它似乎不是由我们的应用程序代码确定性触发的。Github问题已经有一段时间没有更新了,不幸的是我们可能没有能力进行崩溃转储分析或进程调试。
关于HttpPlatform日志:
我使用webconfig设置打开了HttpPlatform日志:
<httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="true" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>
在初始化过程中,启动程序通常会进行日志记录,但是当崩溃出现时,不会记录错误日志:
Hosting environment: XXXXXX
Now listening on: http://localhost:XXXX
Application started. Press Ctrl+C to shut down.