w3wp.exe 和页面错误
我正在使用的网络服务器遇到问题,而且我似乎无法解决这个问题。 服务器运行 Server 2003 和 IIS6。 我在中等流量站点上的 w3wp 进程的 CPU 使用率达到 100%,并且出现巨大的页面错误(PF Delta 约为 15k)。 有时,当我们有大约 800 个在线用户时,该进程使用大约 200 个线程。 主站点是一个 ASP.NET 站点,但高流量来自其附属的 phpBB 论坛。 如果这有什么区别的话,这一切都是通过 Plesk 安装运行的。
我已经在 MySQL 和 PHP 中进行了所有可能的优化,以尝试加快网站速度,但我觉得我错过了更大的问题,即服务器配置。
我已经设置了应用程序池来运行更多工作进程,并在虚拟机中达到一定数量后回收它们。 我已经使用 MS 调试工具完成了整个过程,并检查了 ASP.NET 代码是否存在问题,似乎没有任何问题让我惊讶。
是否有一个清单列出了我应该考虑的其他可能原因,因为我已经没有想法了。 我不得删除 Plesk 或 IIS,或对软件堆栈进行任何重大更改。
I am having problems with a web server that I am working on, and I just can't seem to figure this one out. The server is running Server 2003 and IIS6. My w3wp process on a medium traffic site has hit 100% CPU usage, and is having huge page faults (PF Delta is around 15k). At times where we have around 800 users online, the process uses around 200 threads. The main site is an ASP.NET site, but the high traffic comes from the phpBB forum attached to it. This is all ran through a Plesk install, if that makes any difference.
I've done every possible optimisation in MySQL and PHP to try and speed up the site, but I feel as though I am missing the bigger problem, which has to be the server configuration.
I have set up the app pool to run more worker processes, and recycle them after they hit a certain amount in VM. I have been through the processes with the MS Debugging tools, and have checked the ASP.NET code for problems, and there don't seem to be any that jump out at me.
Is there a checklist for what other possible causes I should be looking at, as I am running out of ideas. I am not allowed to remove Plesk, or IIS, or make any dramatic changes to the software stack.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
约翰是对的。 检查 ASP.NET 代码是否存在问题并且没有发现任何问题并不能成为您认为存在服务器配置问题的理由。 您需要让该应用程序的开发人员参与调试他们的代码。 他们很可能(因为您没有权限)深入分析它以了解发生了什么,并修改他们的软件来修复它。 不要仅仅因为您没有能力调查和解决实际问题就走上“服务器配置”之路。 你会发现自己走上了一条盲路,并且非常沮丧。
John's right. Examining the ASP.NET code for problems and having nothing jump out at you isn't a reason to believe that you have a server configuration issue. You need to involve the developers of this application in debugging their code. They will most likely (since you don't have permission to) profile it in depth to see what's going on and modify their software to fix it. Don't go down the "server configuration" road just because you don't have the power to investigate and fix the actual problem. You'll find yourself down a blind path and very frustrated.
w3wp.exe 是运行 ASP.NET 应用程序的工作进程。 如果它是分页的,或者以 100% CPU 运行,则意味着您的 ASP.NET 应用程序正在分页,或者以 100% CPU 运行。
您必须找出您的应用程序出了什么问题。 这不是IIS的问题。
w3wp.exe is the worker process running your ASP.NET application. If it's paging, or running at 100% CPU, that means your ASP.NET application is paging, or running 100% CPU.
You'll have to find out what's wrong with your application. It's not an IIS issue.