为应用程序池“{0}”提供服务的进程与 Windows 进程激活服务发生致命通信错误。如何获取故障转储?
我有一个运行 Windows Server 2008 SP2(64 位)和 IIS7 的实时独立服务器。它在自己的应用程序池中运行一个针对 .NET 3.5 构建的 ASP.NET 网站。在一天中的不同时间随机出现上述错误。这可能每天发生一次或多次。通常,当它发生时,它会以相对较快的速度连续发生两到三次。
查看导致崩溃的进程和日志,似乎没有真正的模式或特定场景导致崩溃。
从搜索来看,大多数建议似乎都是获取故障转储并对其进行分析,但是我正在努力获取一个。
我安装了调试诊断 1.2,并尝试了各种崩溃规则设置,但它们不会创建用户转储。目前,我有一个带有默认高级配置的“所有 IIS/COM+ 相关进程的崩溃规则”。
任何人都可以建议为什么在问题发生时不会创建故障转储?还有其他方法来获取故障转储吗?
编辑:我已经根据此有用的链接安装了调试工具,并且正在运行 ADPlus使用这个命令:
ADPlus -crash -pn w3wp.exe -o c:\ADplusCrashDump
希望当它再次发生时我能得到一个故障转储。 。 。
编辑2:发现一个递归方法调用,在极少数情况下会导致堆栈溢出。希望这个问题能够得到解决。不过,我发现了另一个有用的链接,请参阅此博客文章。
I have a live standalone server running Windows Server 2008 SP2 (64bit) and IIS7. It is running an ASP.NET website built against .NET 3.5 in its own application pool. Randomly at different times of the day, I get the above error. This may occur once per day, or more. Often when it occurs, it will occur two or three times in relatively quick succession.
Looking at processes and logs leading up to the crash there appears to be no real pattern or specific scenario causing it.
From searches, most recommendations appear to be to get a crash dump and analyse it, however I am struggling to get one.
I have Debug Diagnostics 1.2 installed, and have tried various crash rule setups, but they do not create a userdump. Currently I have a 'Crash rule for all IIS/COM+ related processes' with default advanced configuration.
Can anyone suggest why this isn't creating a crash dump when the issue occurs? Is there another way to get a crash dump?
EDIT: I have installed Debugging Tools according to this useful link and am running ADPlus using this command:
ADPlus -crash -pn w3wp.exe -o c:\ADplusCrashDump
Hopefully I will get a crash dump when it reoccurs . . .
EDIT 2: Found a recursive method call, which caused a stack overflow in rare circumstances. Hopefully that is problem solved. I found another useful link however, see this Blog Post.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论