关于ASP.NET 1.1应用程序回收,加载时间和其他无聊的东西的最后一个问题 [英] One last question about ASP.NET 1.1 application recycling, load time and other boring stuff

查看:85
本文介绍了关于ASP.NET 1.1应用程序回收,加载时间和其他无聊的东西的最后一个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们:

这是我三天内关于这个消息的第三个问题...对不起这个

垃圾邮件行为:-)

我在首页加载方面遇到很多问题。经过一些更改

web.config或者甚至是bin文件夹的内容......

Nathan Sokalski给我一个链接到ILMerge库,我做了一些

测试分组一组没有反射加载的DLL,但是

没有改善加载时间。

我'已经注意到,ASP.NET将bin文件夹上的所有程序集复制到临时ASP.NET文件,位于Windows

文件夹下的Framework文件夹中。我不知道为什么ASP.NET会这样做,但无论如何,我认为这个

行为无法修改。

我的问题是:使用ASP.NET时1.1,有一些自动回收行为吗?我的页面不经常更改。但是我们有一个

的印象,即一天一到两次加载页面的时间就会大大增加,即使这个页面没有很好的处理这个

操作......我错过了什么吗? ASP.NET出于任何原因这样做了吗?


谢谢,


-

Ravi Wallau no****@nospam.org

Dear friends:
This is my third question on this news in three days... Sorry for this
spam behavior :-)
I''ve a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I''ve made some
tests grouping a set of DLL''s that are loaded without reflection, but there
were no improvements on load time.
I''ve noted that ASP.NET copies all assemblies that are on bin folder to
the Temporary ASP.NET Files, located on Framework folder under Windows
folder. I don''t know why ASP.NET does that, but whatever, I think that this
behavior cannot be modified.
My question is: When using ASP.NET 1.1, is there some automatic
recycling behavior? My pages are not changed often. But we have the
impression that, once or twice in a day, the time took to load a page is
heavily increased, even if this page has no great processing on this
operation... Am I missing something? ASP.NET does this for any reason?

Thanks,

--
Ravi Wallau
no****@nospam.org


推荐答案

如果你的应用程序在Server 2000或Server 2003上运行(我相信它们都是
两者,2003年肯定),运行Internet Information Services Manager

(inetmgr),转到运行应用程序的应用程序池,右键单击并选择属性。


现在,您要查看回收和性能选项卡。我猜测,在性能下,您的空闲超时会被检查并设置为b $ b到20分钟左右。如果您的应用程序空闲时间超过

时间,则会关闭,当发送新请求时,您的应用程序将被重新加载。


您可能只想取消选中它,或将其设置为更大的

时间。


HTH,

Darren Kopp
http://blog.secudocs.com/

If your app is running on Server 2000 or Server 2003 (I believe it''s
both, 2003 for sure), run the Internet Information Services Manager
(inetmgr), go to the application pool in which the application is
running, right-click and select properties.

Now you want to check out the Recycling and Performance tabs. I am
guessing that under Performance, your Idle Timeout is checked and set
to something like 20 minutes. If your app is idle for more than that
time, it is closed, and when a new request is sent, your application is
reloaded.

You might want to just uncheck it, or set it to a larger amount of
time.

HTH,
Darren Kopp
http://blog.secudocs.com/


re:
如果你的应用程序在Server 2000或Server 2003上运行
(我相信它'这两个,2003年肯定)


是的,2003年肯定,但不是2000.


W2K运行IIS 5.0,它没有'不使用应用程序池。


Juan T. Llibre,asp.net MVP

aspnetfaq.com: http://www.aspnetfaq.com/

asp.net faq: http://asp.net.do/faq/

foros de asp.net,en espa?ol: http:// asp。 net.do/foros/

================================ ===

" Darren Kopp" <哒******** @ gmail.com>在消息中写道

news:11 ********************** @ g44g2000cwa.googlegr oups.com ...如果您的应用是运行在Server 2000或Server 2003上(我相信它是两者,2003年肯定),运行Internet信息服务管理器
(inetmgr),转到应用程序所在的应用程序池<运行,右键单击并选择属性。

现在您要查看回收和性能选项卡。我猜测在Performance下,你的Idle Timeout被检查并设置为20分钟左右。如果您的应用程序空闲时间超过该时间,则会关闭,当发送新请求时,您的应用程序将重新加载。

您可能只想取消选中或者把它设置为更大的时间。

HTH,
Darren Kopp
http://blog.secudocs.com/
If your app is running on Server 2000 or Server 2003
(I believe it''s both, 2003 for sure)
Yes, 2003 for sure, but not 2000.

W2K runs IIS 5.0, which doesn''t use Application Pools.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
"Darren Kopp" <da********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com... If your app is running on Server 2000 or Server 2003 (I believe it''s
both, 2003 for sure), run the Internet Information Services Manager
(inetmgr), go to the application pool in which the application is
running, right-click and select properties.

Now you want to check out the Recycling and Performance tabs. I am
guessing that under Performance, your Idle Timeout is checked and set
to something like 20 minutes. If your app is idle for more than that
time, it is closed, and when a new request is sent, your application is
reloaded.

You might want to just uncheck it, or set it to a larger amount of
time.

HTH,
Darren Kopp
http://blog.secudocs.com/



我不知道在Windows 2000或Windows XP计算机上看不到这样的东西......

有没有配置在这些服务器上做这样的事情?或者它是否模糊不清?


" Darren Kopp" <哒******** @ gmail.com>在消息中写道

news:11 ********************** @ g44g2000cwa.googlegr oups.com ...
I don''t see nothing like this on Windows 2000 or Windows XP computers... Is
there a configuration to do such thing on these servers? Or is it "obscure"?

"Darren Kopp" <da********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
如果您的应用程序在Server 2000或Server 2003上运行(我相信它们都是,2003年肯定),请运行Internet信息服务管理器
(inetmgr),转到应用程序正在运行的应用程序池,右键单击并选择属性。

现在您要查看回收和性能选项卡。我猜测在Performance下,你的Idle Timeout被检查并设置为20分钟左右。如果您的应用程序空闲时间超过该时间,则会关闭,当发送新请求时,您的应用程序将重新加载。

您可能只想取消选中或者把它设置为更大的时间。

HTH,
Darren Kopp
http://blog.secudocs.com/
If your app is running on Server 2000 or Server 2003 (I believe it''s
both, 2003 for sure), run the Internet Information Services Manager
(inetmgr), go to the application pool in which the application is
running, right-click and select properties.

Now you want to check out the Recycling and Performance tabs. I am
guessing that under Performance, your Idle Timeout is checked and set
to something like 20 minutes. If your app is idle for more than that
time, it is closed, and when a new request is sent, your application is
reloaded.

You might want to just uncheck it, or set it to a larger amount of
time.

HTH,
Darren Kopp
http://blog.secudocs.com/



这篇关于关于ASP.NET 1.1应用程序回收,加载时间和其他无聊的东西的最后一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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