In IIS7, the processModel.idleTimeout
property can be set in an application pool. A worker process will shut down after this specified period of inactivity.
However, I use Application_Start
to run a number of jobs. If there is no visitor to the website the jobs would be disposed and will not run on time.
In IIS 7, the Regular Time Interval (periodicRestart
), that specifies when process recycling happens, must be bigger than the idleTimeout
.
Is it safe enough if I set larger values for the idleTimeout
and periodicRestart
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…