最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

IIS日志Timer_MinBytesPerSecond,Timer_ConnectionIdle的解決方法

  發(fā)布時(shí)間:2012-08-22 15:43:13   作者:佚名   我要評(píng)論
Description: The Error means The connection with the server has been terminated. 問(wèn)題描述:這個(gè)錯(cuò)誤是由于服務(wù)器連接被中斷導(dǎo)致的
Description: The Error means The connection with the server has been terminated.
問(wèn)題描述:這個(gè)錯(cuò)誤是由于服務(wù)器連接被中斷導(dǎo)致的。

If you check out the C:"Windows"system32"LogFiles"HTTPERR"httperr*.log files on the distribution server, you'll likely see either Timer_MinBytesPerSecond errors or Timer_ConnectionIdle errors. These are caused by IIS' default settings, contained within its metabase, which define the minimum traffic flow rate for a connection to be kept alive and the maximum idle time allowed before a connection is dropped. For some reason, SUS servers seem to take their good old time while downloading updates, and these parameters are exceeded and the distribution server drops 'em.

這個(gè)問(wèn)題是由于在某些應(yīng)用下,IIS的默認(rèn)設(shè)置不當(dāng)?shù)?

1) From IIS Manager, right click on the Internet Information Server (IIS) Manager root level folder and go to Properties. Check the box to enable direct metabase editing. Click OK.
1)打開(kāi)Internet 信息服務(wù)(IIS)管理器,右鍵點(diǎn)“我的計(jì)算機(jī)”——屬性,選上“允許直接編輯配置數(shù)據(jù)庫(kù)(N)”,確定。
2) Open the C:"Windows"system32"inetsrv"MetaBase.xml file in Notepad. Do a search for "MinFileBytesPerSec". Change the setting for MinFileBytesPerSec from 240 to 0. Do another search, this time for "ConnectionTimeout" to be 600. Save changes and exit.
2)編輯C:"Windows"system32"inetsrv"MetaBase.xml文件,把MinFileBytesPerSec 參數(shù)值從240改為0,把ConnectionTimeout參數(shù)設(shè)成600。
3) Restart the IIS Admin service to effect the changes.
3)重新起動(dòng)IIS服務(wù)

替代方法

如果您安裝最新 for Windows Server 2003, ServicePack 后問(wèn)題仍然存在網(wǎng)絡(luò)連接可能太慢。 使用網(wǎng)絡(luò)跟蹤來(lái)確定客戶是否接收響應(yīng)和重傳數(shù)據(jù)包中延遲。 要變通解決此問(wèn)題, 減少或禁用 IIS 6.0 以阻止從早關(guān)閉慢速客戶連接中 MinFileBytesPerSec 屬性。

其它網(wǎng)友對(duì)該解決辦法的評(píng)價(jià)和心得:

覺(jué)得這些解決方法都有問(wèn)題,假如車輛防盜警報(bào)經(jīng)常響,正確的解決方法是看看有誰(shuí)常來(lái)打你車子的主意,或者把車子放在更安全的地方,而絕對(duì)不是關(guān)掉警報(bào)。
因?yàn)镠TTP服務(wù)需要占用TCP連接,而TCP連接時(shí)是需要占用系統(tǒng)資源的,而且IIS為每個(gè)連接也需要分配相應(yīng)的資源。目前的主機(jī)能夠處理上萬(wàn)的連接就可以說(shuō)是軟硬件設(shè)計(jì)都很不錯(cuò)了(可以參見(jiàn)C10K )。假如惡意人員通過(guò)一臺(tái)或者多臺(tái)機(jī)器發(fā)起大量的連接,而不請(qǐng)求內(nèi)容(這樣不需要消耗多少攻擊機(jī)器的帶寬),就可以大量消耗服務(wù)器資源而達(dá)到拒絕服務(wù)的目的。
所以 IIS 需要關(guān)閉長(zhǎng)時(shí)間非活動(dòng)的連接,這個(gè)就是Timer_ConnectionIdle 的錯(cuò)誤由來(lái)。

原來(lái)以為攻擊者可以給服務(wù)器故意緩慢的發(fā)送和接收內(nèi)容而消耗服務(wù)器的資源,這樣可以避免服務(wù)器對(duì)于Timer_ConnectionIdle 的保護(hù),相應(yīng)的IIS的防范就是 MinFileBytesPerSec 設(shè)置,MinFileBytesPerSec 屬性通過(guò)以最小的數(shù)據(jù)量保持連接,來(lái)禁止惡意的或軟件工作不正常的客戶端消耗資源。如果吞吐量低于 MinFileBytesPerSec 設(shè)置的值,則終止連接。LOG里面就會(huì)顯示Timer_MinBytesPerSecond錯(cuò)誤(一些Timer_MinBytesPerSecond錯(cuò)誤是因?yàn)?windows 2003 的http.sys錯(cuò)誤引起的,解決方式是打上最新 ServicePack

相關(guān)文章

最新評(píng)論

新宾| 视频| 浏阳市| 冕宁县| 饶阳县| 巨鹿县| 盱眙县| 游戏| 盱眙县| 咸阳市| 南木林县| 苏州市| 阿荣旗| 灵宝市| 大埔区| 从江县| 德化县| 江华| 安国市| 成都市| 南郑县| 本溪市| 峨眉山市| 姚安县| 社旗县| 加查县| 林口县| 从江县| 乌苏市| 芦溪县| 济源市| 沅江市| 樟树市| 兴化市| 兴国县| 南昌县| 资兴市| 双鸭山市| 农安县| 剑川县| 镶黄旗|