使用IIS Web服务器与持久连接重置TCP连接的原因和修复 [英] Reasons and Fix for TCP connection Reset with Persistent connection with IIS Web server

查看:525
本文介绍了使用IIS Web服务器与持久连接重置TCP连接的原因和修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


IIS何时会重置具有持久连接的TCP连接.客户端每隔30秒或更短的时间向我们的IIS网络服务器发送一次请求aspx页面的请求.

请任何人帮助您解决此TCP RST问题.

系统属性:

Windows Server 2003 SP2
iis6.0

在此先感谢.

Hi
When does IIS will reset the TCP connection which has persistent connection.Client sends request for an aspx page to our IIS webserver for every 30 seconds or less.

Please can anyone help how to fix this TCP RST issue.

System Properties:

windows server 2003 sp2
iis6.0

Thanks in advance.

推荐答案

它具有什么样的连接,可以确保连接是持久的?例如,HTTP请求是无状态的并且不是持久性的,即使您每30秒发出一次.

就连通性而言,持久性并不等同于一个小兄弟ing着你咬一口甜甜圈的持久性. ; o)

多久重置一次?

一些可能的原因是:
1)您的应用程序池中的设置告诉网络服务器在x次连接或x倍的时间后重新启动
2)发生错误,导致正在挂起的东西被迫过早关闭.

您可能应该检查日志,看看正在记录什么错误/信息,因为IIS在执行启动/关闭/重置任务时会写入日志.

干杯,
-詹姆斯
What kind of connection does it have that you can be sure that the connection is persistent? For example, HTTP requests are stateless and not persistent, even when you make them once every 30 seconds.

Persistent, as far as connectivity goes, does not equate to the persistence of a little brother nagging you for a bite of your donut. ;o)

How often does it reset?

Some likely causes are:
1) Settings in your app pool tell the webserver to restart it after x connections or x amount of time
2) There is an error occurring that is hanging something that is forcing a premature shutdown.

You should likely check your logs and see what error/info is being logged as IIS will write to the log when it performs startup/shutdown/reset tasks.

Cheers,
-James


这篇关于使用IIS Web服务器与持久连接重置TCP连接的原因和修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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