*非常*缓慢的初始页面加载 [英] *very* slow initial page load

查看:43
本文介绍了*非常*缓慢的初始页面加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望其他人看到类似的东西。


我们遇到了aspnet,iis6和w2k3的奇怪问题。我有一个小网站写的

在白天工作正常。然而每天早上

初始页面加载可能需要10分钟到一个多小时。


在此期间似乎没有任何事情发生。第一页加载简单地说是非常慢。它似乎挂起,直到其他人试图加载

default.aspx,虽然有一段时间新的会话确实

没有得到一个回应。我知道,这没有意义。


我使用Curl设置了一个页面爬虫,并没有设法改变它的

行为。我尝试在凌晨4点运行一个任务来加载default.aspx,几分钟后再运行一个

的第二个任务。这没有丝毫影响。两个

任务只是坐在那里等待响应,直到上午7:02。在6:49,用户

打开default.aspx,在7:02全部三个(2x Curl会话和用户

会话)收到回复。


任何人都可以提出任何建议,用户会变得讨厌....

Ian Murphy

解决方案

你在页面加载中做了什么?


Ollie


" Ian Murphy" < ia*@integra.antispam.-xp.com>在留言中写道

新闻:ae **************************** @ 40tude.net ... < blockquote class =post_quotes>希望别人看到类似的东西。

我们遇到了aspnet,iis6和w2k3的奇怪问题。我已经写了一个小网站,白天工作正常。然而,每天早上初始页面加载可能需要10分钟到一个多小时。

在此期间似乎没有任何事情发生。第一页加载简直非常慢。它似乎挂起,直到其他人试图加载
default.aspx,尽管有一段时间新的会话
也没有得到响应。我知道,这没有意义。

我使用Curl设置了一个页面爬虫,但没有设法改变它的行为。我尝试运行一个任务,在凌晨4点加载default.aspx,几分钟后再执行第二个任务。这没有丝毫影响。
这两项任务只是坐在那里等待响应,直到早上7:02。在6:49用户
打开default.aspx并在7:02所有三个(2x卷曲会话和用户
会话)收到回复。

任何人都可以提出任何建议用户越来越讨厌....

Ian Murphy



问题是页面实际上没有打开,并非

执行缓慢。根本没有回复。


我有一个简单的两帧页面,没有代码,两个帧指向两个

单独的.aspx页面,都没有其中也有回应。


有没有办法调试发生了什么?


Ian


我还应该补充一点,这是一台运行速度相当快的机器。

显然,sharepoint系统在自己的应用程序池中运行。我有

为我的应用程序设置一个单独的池:


每900分钟回收一次

最大内存使用量200mb

20分钟不活动后关闭进程

限制队列到4000个请愿(无效,这是一个内部网应用程序)

最多1个工作进程


Ian


Hopefully someone else has seen something similar.

We are experiencing an odd problem with aspnet, iis6 and w2k3. I have
written a small site which works fine during the day. Each morning however
the initial page load can take anything from 10 minutes to over an hour.

Nothing seems to occur during this time. The first page load is simply
incredibly slow. It seems to ''hang'' until someone else tried to load the
default.aspx, though there is a period of time during which new sessions do
not get a response either. I know, this doesn''t make sense.

I set up a page crawler using Curl which hasn''t managed to afect its
behaviour. I tried running a task to load the default.aspx at 4am and a
second task a few minutes later. This hasn''t had the slightest effect. Both
tasks simply sat there waiting for a response until 7:02am. At 6:49 a user
opened default.aspx and at 7:02 all three (2x Curl sessions and the user
session) recieved a response.

Can anyone suggest anything, the users are getting nasty....
Ian Murphy

解决方案

what are you doing in the page load?

Ollie

"Ian Murphy" <ia*@integra.antispam.-xp.com> wrote in message
news:ae****************************@40tude.net...

Hopefully someone else has seen something similar.

We are experiencing an odd problem with aspnet, iis6 and w2k3. I have
written a small site which works fine during the day. Each morning however
the initial page load can take anything from 10 minutes to over an hour.

Nothing seems to occur during this time. The first page load is simply
incredibly slow. It seems to ''hang'' until someone else tried to load the
default.aspx, though there is a period of time during which new sessions do not get a response either. I know, this doesn''t make sense.

I set up a page crawler using Curl which hasn''t managed to afect its
behaviour. I tried running a task to load the default.aspx at 4am and a
second task a few minutes later. This hasn''t had the slightest effect. Both tasks simply sat there waiting for a response until 7:02am. At 6:49 a user
opened default.aspx and at 7:02 all three (2x Curl sessions and the user
session) recieved a response.

Can anyone suggest anything, the users are getting nasty....
Ian Murphy



The problem is that the page is not actually opening, not that the
execution is slow. There is no response at all.

I have a simple two frame page, no code, the two frames point to two
separate .aspx pages, neither of which respond either.

Is there any way of debugging what is going on?

Ian


I should also add that this is a fairly fast machine running sharepoint.
The sharepoint system runs in its own application pool, obviously. I have
set up a separate pool for my application with:

Recycle process every 900 minutes
Max memory usage 200mb
Close process after 20 minutes of inactivity
limit queue to 4000 petitions (no effect, this is an intranet app)
Max 1 worker process

Ian


这篇关于*非常*缓慢的初始页面加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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