本文介绍了IIS:空闲超时VS回收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS中有两个领域(当然,两个以上)可能发生的回收:

In IIS there are two areas (well, more than two) where recycling can occur:

1)中的过程模型部分下 - >空闲超时(默认20分钟)

1) Under the "Process Model" section -> "Idle Timeout" (default 20 minutes)

2)的回收部分下 - >常规时间间隔(默认1740米)

2) Under the "Recycle" section -> "Regular Time Interval" (default 1740 m)

我的问题是...

一)什么是两种方法之间的差异?结果
b)是什么设置他们的负面影响为0?

a) What are the differences between the two methods?
b) What are the negative implications of settings them to 0?

谢谢!

推荐答案

空闲超时是,如果不采取行动已从您的Web应用程序要求,它的进程就会降低,释放一切从内存

Idle Timeout is if no action has been asked from your web app, it the process will drop and release everything from memory

回收是在哪里加工的关闭并再次启动了应用程序强制行动,内存泄露的目的和系统的健康

Recycle is a forced action on the application where your processed is closed and started again, for memory leaking purposes and system health

两者的负面影响通常是使用你的会议和应用程序状态丢失,如果你惹回收到更快的时间。(登录的用户等将被注销,如果他们在那里要退房的所有将已丢失这就是为什么回收是在这样一个大的超时值,空闲超时并不重要,因为没有人会登录无论如何图20分钟无动作,他们还不是血拼

The negative impact of both is usually the use of your Session and Application state is lost if you mess with Recycle to a faster time.(logged in users etc will be logged out, if they where about to "check out" all would have been lost" that's why recycle is at such a large time out value, idle timeout doesn't matter because nobody is logged in anyway and figure 20 minutes an no action they are not still "shopping"

正将摆脱空闲超时时间,如果它不是一个非常活跃的网站,用户将不得不等待它,如果你有1用户每次加载您的网站将响应其第一响应速度更快20分钟让说。这样一个网站,让他不到1次在20分钟内居然你想提高这个值作为网站有从头加载为每个用户。但如果你将其设置为0过了很久,在code的内存泄漏可能会超过一定的时间,完全接管服务器。

The positive would be get rid of the idle time out as your website will respond faster on its "first" response if its not a highly active site where a user would have to wait for it to load if you have 1 user every 20 minutes lets say. So a website that get his less then 1 time in 20 minutes actually you would want to increase this value as the website has to load up again from scratch for each user. but if you set this to 0 over a long time, any memory leaks in code could over a certain amount of time, entirely take over the server.

这篇关于IIS:空闲超时VS回收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 04:14
查看更多