0

我们有一个 Web 应用程序部署到在 IIS 7.5 Windows Server 2008R2 中运行的多台服务器上,每台服务器都具有相同的配置,并且流量由 Big-IP 负载平衡器引导。

IIS 应用程序池的空闲超时和 Web 应用程序会话状态超时都设置为 35 分钟,在每台服务器中应用了相同的设置。我们有一个超时页面,当用户空闲时间达到 35 分钟时显示超时错误。

但是,用户会收到运行时错误Access Denied. Action not authorized!。通过将应用程序池空闲超时值设置为比应用程序会话状态超时值更短的时间,我们能够在我们的测试环境中重现此错误。因此,似乎发生运行时错误是因为应用程序池在会话超时之前超时。

我怀疑 Big-IP 有一个持久性会话空闲超时设置,该设置设置为更短的时间段,并且会触发 Big-IP 使用户会话超时。有谁知道如何检索此会话空闲超时值以及如何将其设置为自定义值?

4

1 回答 1

0

This is an old question, but it's a common problem with load balanced sites. There are two settings to be aware of that could be contributing to this issue.

The first is the actual persistence timeout. You can check the persistence setting for a given site on the Big-IP by choosing the appropriate virtual server, then going to the resources tab. Check the value of the Default Persistence Profile. Then look under Local Traffic > Profiles > Persistence to see what timeout this particular profile corresponds to.

The other thing to check is the TCP idle timeout. By default this is 5 minutes, so it's common for it to kill long running database transactions. To find out what this is set to, under the virtual server, check the Protocol Profile. Then go to Local Traffic > Profiles > Protocol > TCP and find Idle Timeout in the profile.

于 2014-08-30T15:41:40.420 回答