在IIS7 ASP.NET应用程序 - IISRESET后很慢启动 [英] ASP.NET application on IIS7 - very slow startup after iisreset

查看:456
本文介绍了在IIS7 ASP.NET应用程序 - IISRESET后很慢启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET 3.5的网站在Windows 2008上IIS7下运行。

I have an ASP.NET 3.5 website running under IIS7 on Windows 2008.

当我重新启动IIS(IISRESET),然后打一个页面,初始启动实在是太慢了。

When I restart IIS (iisreset), then hit a page, the initial startup is really slow.

我看到下面的活动进程资源管理器:

I see the following activity in Process Explorer:


  • w3wp.exe的鱼卵,但显示0%CPU
    约60秒活动

  • 最后,w3wp.exe的去50%的CPU
    约5秒钟,然后将页
    负载。

我没有看到CPU使用任何其他进程在这段时间无论是。它基本上只是挂起。

I don't see any other processes using CPU during this time either. It basically just hangs.

在所有的时间发生了什么事?我如何追查是什么把所有这个时间呢?

What's going on during all that time? How can I track down what is taking all this time?

推荐答案

我发现有一个网络延迟使得从前端Web服务器到数据库服务器的初始连接。

I found that there was a network delay making an initial connection from the front end web server to the database server.

问题是特有的Windows 2008和我们具体的网络硬件。

The issue was peculiar to Windows 2008 and our specific network hardware.

该决议是禁用Web服务器上以下内容:

The resolution was to disable the following on the web servers:

接收窗口自动调节水平

这篇关于在IIS7 ASP.NET应用程序 - IISRESET后很慢启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆