ASP.NET重启问题 [英] ASP.NET Restart Problem

查看:79
本文介绍了ASP.NET重启问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们遇到了以下有关ASP.NET的问题:我们的

ASP.NET应用程序,用.NET 1.1平台编写,并在IIS 5.0中托管

环境,遇到频繁的会话超时问题。在跟踪之后,我们发现它应该是由ASP.NET应用程序重启引起的。 (每当超时发生时,

增加了ASP.NET 1.1.4322中ASP.NET 1.1.4322的应用程序重新启动的计数器)。


从MSDN文档中,我们发现可能的原因是:

- web.config或machine.config中的更改

- 更改在\bin文件夹中的文件中

- Web应用程序文件夹下的新文件夹

- Web应用程序文件夹下的文件更改

此外,MS KB还告诉我们抗病毒产品可能产生的影响。但是,我们已经消除了上述因素(没有添加文件/

修改,反病毒产品关闭),问题仍然存在。


所以,我们想要求以下内容:

1.我们想知道asp.net应用程序

重新启动的确切/详细原因(例如,如果由文件更改引起,哪个文件?什么应用程序

更改了该文件?),有没有我们可以找到的地方/日志文件?

2.有没有任何理由支持上面列出的那些这将导致

重启?

3.任何关闭ASP.NET重启功能的方法

4.如果关闭什么是副作用


以下是操作系统环境的更多细节:

- Windows Server 2000 Sp4(英文)

- .NET 1.1(除非通过windows下载,否则不会明确应用修补程序

update)

- IIS 5.0(除非通过windows下载,否则不会显式应用修补程序

更新)

We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem. After tracing, we
find that it should be caused by "ASP.NET Application Restart" (proved by
incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in
"Performance" whenever the timeout happens).

From MSDN documentation, we find that the possible reasons are:
- changes in web.config or machine.config
- changes in files in \bin folder
- new folder under web application folder
- changes of files under web application folder
Besides, MS KB also tells us of the possible effect of anti-virus
product. However, we have eliminated the above factors (no files added /
modified, anti-virus product shut down), and the problem remains.

So, we want to ask for the following:
1. We want to know the exact / detailed reason why asp.net application
would restart (e.g. if caused by files changes, which file? what application
changes that file?), is there any place / log file we can find for that?
2. is there any reason behinds those listed above that would cause the
restart?
3. Any method to turn off the ASP.NET restart function
4. If it is turned off, what will be the side effect

The following is more details of the OS environment:
- Windows Server 2000 Sp4 (Eng.)
- .NET 1.1 (no hotfix applied explicitly unless downloaded through windows
update)
- IIS 5.0 (no hotfix applied explicitly unless downloaded through windows
update)

推荐答案

查看网络服务器上的应用程序日志。它列出了重启asp.net进程的原因




-

问候,

Alvin Bruney

[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]

得到花絮?在此处获取... http://tinyurl.com/27cok

amdishigh <是******* @ newsgroups.nospam>在消息中写道

新闻:40 ********************************** @ microsof t.com ...
have a look at your application log on the webserver. it lists the reason
for the asp.net process restart.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"amdishigh" <am*******@newsgroups.nospam> wrote in message
news:40**********************************@microsof t.com...
我们遇到了以下与ASP.NET有关的问题:我们的ASP.NET应用程序,用.NET 1.1平台编写,并在IIS 5.0中托管
环境,遇到频繁的会话超时问题。在跟踪之后,我们发现它应该是由ASP.NET应用程序重启引起的。 (每当发生超时时,
在性能中对ASP.NET 1.1.4322的应用程序重新启动进行增量计数器验证)。

来自MSDN文档,我们发现可能的原因是:
- web.config或machine.config中的更改
- \bin文件夹中文件的更改
- Web应用程序文件夹下的新文件夹
- Web应用程序文件夹下文件的更改
此外,MS KB还告诉我们防病毒产品的可能影响。但是,我们已经消除了上述因素(没有添加文件/
修改,反病毒产品关闭),问题仍然存在。

因此,我们想要求以下内容:
1.我们想知道asp.net应用程序重新启动的确切/详细原因(例如,如果由文件更改引起,哪个文件?
应用程序
会更改该文件?),有没有我们能找到的地方/日志文件?
2.上面列出的那些会导致
重启的原因是什么?
3.任何转向的方法关闭ASP.NET重启功能
4.如果关闭,会产生什么副作用

以下是操作系统环境的更多细节:
- Windows Server 2000 Sp4(英文)
- .NET 1.1(除非通过windows下载,否则不会明确应用修补程序
- IIS 5.0(除非通过windows下载,否则不会显式应用修补程序
更新)

We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem. After tracing,
we
find that it should be caused by "ASP.NET Application Restart" (proved by
incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in
"Performance" whenever the timeout happens).

From MSDN documentation, we find that the possible reasons are:
- changes in web.config or machine.config
- changes in files in \bin folder
- new folder under web application folder
- changes of files under web application folder
Besides, MS KB also tells us of the possible effect of anti-virus
product. However, we have eliminated the above factors (no files added /
modified, anti-virus product shut down), and the problem remains.

So, we want to ask for the following:
1. We want to know the exact / detailed reason why asp.net application
would restart (e.g. if caused by files changes, which file? what
application
changes that file?), is there any place / log file we can find for that?
2. is there any reason behinds those listed above that would cause the
restart?
3. Any method to turn off the ASP.NET restart function
4. If it is turned off, what will be the side effect

The following is more details of the OS environment:
- Windows Server 2000 Sp4 (Eng.)
- .NET 1.1 (no hotfix applied explicitly unless downloaded through windows
update)
- IIS 5.0 (no hotfix applied explicitly unless downloaded through windows
update)



嗨Alvin,


感谢您的回复。但是我们应该看一下什么来源?是ASP.NET [Version No]吗? (我们的版本号是1.1.4322.0)?我们的问题 - ASP.NET AppDomain重新启动 - 不会在此源中创建新条目。我们应该配置任何开关来打开这个登录吗?


问候,

Patrick


" Alvin Bruney [MVP] QUOT;写道:
Hi Alvin,

Thank you for your reply. But what source should we look at? Is it "ASP.NET [Version No]" (our version no is 1.1.4322.0)? Our problem - ASP.NET AppDomain Restart - does not make a new entry there of this source. Should we configure any switch to turn this logging on?

Regards,
Patrick

"Alvin Bruney [MVP]" wrote:
看看你的网络服务器上的应用程序日志。它列出了重启asp.net进程的原因。
-
问候,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
有花絮?在此处获取... http://tinyurl.com/27cok
" ; amdishigh" <是******* @ newsgroups.nospam>在消息中写道
新闻:40 ********************************** @ microsof t.com。 ..
have a look at your application log on the webserver. it lists the reason
for the asp.net process restart.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"amdishigh" <am*******@newsgroups.nospam> wrote in message
news:40**********************************@microsof t.com...
我们遇到了以下有关ASP.NET的问题:我们的ASP.NET应用程序,用.NET 1.1平台编写,并托管在IIS 5.0环境中,体验频繁的会话超时问题。在跟踪之后,我们发现它应该是由ASP.NET应用程序重启引起的。 (每当发生超时时,
在性能中对ASP.NET 1.1.4322的应用程序重新启动进行增量计数器验证)。

来自MSDN文档,我们发现可能的原因是:
- web.config或machine.config中的更改
- \bin文件夹中文件的更改
- Web应用程序文件夹下的新文件夹
- Web应用程序文件夹下文件的更改
此外,MS KB还告诉我们防病毒产品的可能影响。但是,我们已经消除了上述因素(没有添加文件/
修改,反病毒产品关闭),问题仍然存在。

因此,我们想要求以下内容:
1.我们想知道asp.net应用程序重新启动的确切/详细原因(例如,如果由文件更改引起,哪个文件?
应用程序
会更改该文件?),有没有我们能找到的地方/日志文件?
2.上面列出的那些会导致
重启的原因是什么?
3.任何转向的方法关闭ASP.NET重启功能
4.如果关闭,会产生什么副作用

以下是操作系统环境的更多细节:
- Windows Server 2000 Sp4(英文)
- .NET 1.1(除非通过windows下载,否则不会明确应用修补程序
- IIS 5.0(除非通过windows下载,否则不会显式应用修补程序
更新)

We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem. After tracing,
we
find that it should be caused by "ASP.NET Application Restart" (proved by
incremented counter for "Application Restarts" of "ASP.NET 1.1.4322" in
"Performance" whenever the timeout happens).

From MSDN documentation, we find that the possible reasons are:
- changes in web.config or machine.config
- changes in files in \bin folder
- new folder under web application folder
- changes of files under web application folder
Besides, MS KB also tells us of the possible effect of anti-virus
product. However, we have eliminated the above factors (no files added /
modified, anti-virus product shut down), and the problem remains.

So, we want to ask for the following:
1. We want to know the exact / detailed reason why asp.net application
would restart (e.g. if caused by files changes, which file? what
application
changes that file?), is there any place / log file we can find for that?
2. is there any reason behinds those listed above that would cause the
restart?
3. Any method to turn off the ASP.NET restart function
4. If it is turned off, what will be the side effect

The following is more details of the OS environment:
- Windows Server 2000 Sp4 (Eng.)
- .NET 1.1 (no hotfix applied explicitly unless downloaded through windows
update)
- IIS 5.0 (no hotfix applied explicitly unless downloaded through windows
update)




嗨Patrick,


至于asp.net应用程序重启问题。是的,您在第一封邮件中列出的原因几乎涵盖了所有一般原因。另外,

您还可以查看< processModel>在

machine.config文件中设置并且this元素具有某些特定属性,例如

1. responseDeadlockInterval属性,它指定了时间间隔,

标准流程模型格式(hr:min:sec),之后如果满足以下条件,流程将重新启动


a。有排队请求。

b。在此间隔期间没有响应。默认值为3

分钟。


2.memoryLimit属性,指定允许的最大内存大小,

占百分比总系统内存,在ASP.NET启动新进程并重新分配现有请求之前,工作进程可以使用


默认为60%。如果应用程序的使用量超过此限制,则应用程序也将重新启动。


#< processModel>元素
http://msdn.microsoft .com / library / en ... cessmodelSecti

on.asp?frame = true


另外,一般来说这样的应用程序重启行为可能在服务器的EventViewers中有一些日志

信息。您可以在EventViewer的

应用程序节点中进一步检查它是否可以提供任何

线索。谢谢。


问候,


Steven Cheng

微软在线支持


安全! www.microsoft.com/security

(此帖子按原样提供,不作任何保证,并且不授予

权利。)


在ASP.NET上获取预览whidbey
< a rel =nofollowhref =http://msdn.microsoft.com/asp.net/whidbey/default.aspxtarget =_ blank> http://msdn.microsoft.com/asp.net/whidbey /default.aspx
Hi Patrick,

As for the asp.net application restart problem. Yes, the reasons you listed
in the first message covered almost all the general causes. In addition,
you may also have a look at the <processModel> setting in the
machine.config file and the this element has some certain attributes for
example, the
1. responseDeadlockInterval attribute which specifies the time interval,
in standard process model format (hr:min:sec), after which the process will
be restarted if the following conditions are met:
a.There are queued requests.
b.There has not been a response during this interval. The default is 3
minutes.

2.memoryLimit attribute which specifies the maximum allowed memory size,
as a percentage of total system memory, that the worker process can consume
before ASP.NET launches a new process and reassigns existing requests. The
default is 60 percent. If the application''s memeory use exceed this
limitation, the application will also restart.

#<processModel> Element
http://msdn.microsoft.com/library/en...cessmodelSecti
on.asp?frame=true

In addition, generally such application restart behavior may have some logs
info in the Server''s EventViewers. You can have a further check in the
Application node of the EventViewer to see whether it can provide any
clues. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


这篇关于ASP.NET重启问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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