Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

正在執行 Microsoft Forefront 威脅管理閘道 (TMG) 2010年伺服器可能會停止接受新的連線特定的 web proxy 或網頁接聽程式上。數個小時後會發生這個問題的伺服器執行時間的數天。

原因

TMG 停止接受新的連線,請在 [網頁接聽程式上時,就會發生這個問題。此外,這很快就填滿輔助函式 (AFD) 的驅動程式通訊端積存佇列。積存佇列已滿之後,伺服器就會重設新的連入連線。如果您可以使用網路監視器,在此情況下,以監視伺服器,您可能會注意到的 SYN ACK/RST 模式,每一次新的連線嘗試。

解決方案

若要解決這個問題,安裝的 Forefront 威脅管理閘道 (TMG) 2010 Service Pack 2 的彙總套件 5

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

更多的資訊

安裝彙總套件 5 之後,您必須啟用閒置逾時接受呼叫的時間的功能。若要執行這項操作,請參考下列步驟:

  1. 將下列指令碼複製到 [記事本],然後將檔案儲存為 SetAcceptIdleTimeout.vbs:

    'Define the constants needed.Const strVpsGUID = "{143F5698-103B-12D4-FF34-1F34767DEABC}"
    Const strVpsPropertyName = "AcceptIdleTimeout"
    Const Error_FileNotFound = &H80070002
    Set objArgs = wscript.Arguments
    if objArgs.Count > 0 then
    uAcceptIdleTimeout = objArgs(0)
    end if
    if objArgs.Count <> 1 then
    wscript.echo "Usage: SetAcceptIdleTimeout.vbs <timeout>"
    wscript.echo
    wscript.echo "Set async accept timeout to <timeout> value (in sec)"
    wscript.echo "To disable async accept timeout set it to 0"
    wscript.Quit 2
    end if
    set objArray = CreateObject("FPC.Root").GetContainingArray()
    Set objVPSet = OpenVPSet(objArray, strVpsGUID)
    objVPSet.Value(strVpsPropertyName) = uAcceptIdleTimeout
    objArray.Save()
    objArray.RestartServices(1)
    function OpenVPSet(objParent, strVpsGUID)
    Set objVPSets = objParent.VendorParametersSets
    On Error Resume Next
    Set OpenVPSet = objVPSets.Item(strVpsGUID)
    ' Save the Err properties in case it needs to be re-raised
    errNumber = Err.Number
    errSource = Err.Source
    errDescription = Err.Description
    errHelpFile = Err.HelpFile
    errHelpContext = Err.HelpContext

    On Error GoTo 0

    if errNumber = Error_FileNotFound Then
    Set OpenVPSet = objVPSets.Add(strVpsGUID)
    Elseif errNumber < 0 Then
    ' An error other than "file not found" occurred -- re-raise the error,
    ' this time not under "On Error Resume Next"
    Err.Raise errNumber, errSource, errDescription, errHelpFile, errHelpContext
    End If
    end function


  2. 其中一個 TMG 伺服器上執行指令碼。例如若要設定的逾時期間為 5 分鐘,從 [系統管理的命令提示字元執行下列命令︰

    cscript.exe SetAcceptIdleTimeout.vbs 300
  3. 若要讓變更生效,重新啟動防火牆服務在所有陣列成員上。


若要復原這項變更,請執行下列命令以閒置逾時設為 0:

cscript.exe SetAcceptIdleTimeout.vbs 0


參考

深入了解 Microsoft 會使用來描述軟體更新術語

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×