PRB: "WSAEADDRESSINUSE" ????? ??? ??? ?????? ??????? ??? ???? ????? ??? ????? ????? ?? ??????? IMAP

?????? ????????? ?????? ?????????
???? ???????: 319502 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

??? ????? ?? ??????? IMAP ?? ???? ??????? ????? IMAP ?? ???? ???? Microsoft ????????? ???? ?? ?????? ?? ????? MailboxCacheTTL ?????? ???? "? ????? ????? ?????"WSAEADDRESSINUSE"(??? ?????: 10048).

?????

???? ??? ?????? ????? ????? ?????? ?? ????????? ???????:
  • ???? ???????? Windows 2000 ????? ??? ????? ?????? ?????? ?????. ???? ??? ??????? ???? ?????? ?????? MailboxCacheTTL ?? ?????? ?? ??? ???? ???? Microsoft ????????? ". (????? ?? ????? ??????? ???? ?? ??????? ?????? ??? IP ????????; ??? ????? ????? ????? ?? ???? ???? ?? ???????. ??? 1024-5000 ?????? ??????? ?? ???? ??????? Windows 2000.)
  • ???? SO_REUSEADDR ??? ???? ??????? ?? ??? ?????, ???? ?? ??? ????? ????????? ?????? ??????? ??? ???? ?????. ???? ??????? ??? ?? ??? ????? ?? ???? TIME_WAIT ????? ?????. ??? ??? ?????? ?????? SO_REUSEADDR ???? Windows ?? ??? ??? ???? ????? ???????.
???? ?????? (??????? ???????) ????? ???? ???? ?????? ???? ????????? ?? ??????? ??? ???? ????? ??? ??????? ????. ?????? ???????? TCP/IP ????? ???????? 4-???????? (IP ????? ???? ??????, IP ?????? ? ???? ??????) ??????? ??? ??????? ??? ??? ???? ?????? ???????? ??? ???? ????? 4000 (???????) ? ?? ???? ???? ??? 4000 ????? ??????? ?? ??????? ???? ??? ???? ???? ?? ??? ????.

??? ?????? ??????? ??????? ??????? ??????? ?????? ????????? "? ??? ????? ?? ?? ???? ?????? IP ?? ????? ??? ???? ??? ??? ??????? ???? ?????? ?? ??????? ???????. ?????? ??? ???? ???????? ?????? ???? ??? ????? ?????? ??? ??????? ??????? ?????? ?? ???? ?????? ?? ??????? ??????. ?? ???? ???? ???? ?????? ????????? Microsoft aggravates ????? MailboxCacheTTL ?????? ???? ?????? ???? ????? ??????? IMAP ?????? ???? ???? ????? (??? ??????? ?? ???).

?? ???? ???? ???? ?? 4000 ????? ????? ??? ???? ?????? ??????? ?????? ??? ???? ???????? ??? ??? ?? ?????? ????? TCP ???? ???? TIME_WAIT ??? ????? ?????. ??? ???? ??????? ??? ??? ?? ?? ???? ????? ???? ???? ??????? ?????? ??? ?????? ??????? ? ????? ?????? ???????? TCP ????? ??? ???????? ?? ???? ??? ?????? ?????? ???? TIME_WAIT ??? ????? ??????? ????? ???? ?? ??? ??????.

????? ?????? TIME_WAIT ????? ???? ?????? ????? (MSL). (???? ?????? ???? TIME_WAIT ????? ????? ???? 2MSL.) ???? ???? ???????? ??? ??? IP ??? ????? ???? TIME_WAIT ????? ?????? 240 ?????. ????? ???? ?? ???? ???? ??????? 4000 ??? ??? ???? ?? ??????? 240 ?? ?? ??????? ?????? ???? ??????? ??? ????????? 4000.

????

???? ??? ??????? ?? ???? ????????? ???????:
  • ????? ????? ??????? MaxUserPort ????? ???? ?????? ???????? ??????? ??????? ??? ??????? 20.000 ??????? (??? ???? ??????). ?????? Windows ?????????? ???? BSD ?? 1024 ??? 5000 ???? ??????? (???????) ??????? ????? ??. ????? ????? ???? ?????? ??? ?? ???? ??????? ???????. ?????? ????? ??????? MaxUserPort ???? ??????? ???????:

    1. ??? ????? "???? ???????" (Regedt32.exe).
    2. ??? ???? ??????? MaxUserPort ?? ???????:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    3. ?? ??????? ????? ???? ??? ????? ???? ?? ?? ?????? ???? ??????? ???????:

      ??? ??????: MaxUserPort
      ??? ????????: REG_DWORD
      ??????: 65534 (??? ???? ??????)
      ???? ?????: 5000-65534 (????)
      ?????????: 0x1388 (???? 5000)
    4. ?? ?????? "???? ???????".
    ?????: ????? ??? ??????? ??? ?????? ???????? ????? ???? ??? ??????? ???? ?? ???? ?????? ?????? ?? ??????. ???? ???? ??????? (??? short-lived) ??? ????? ??????? ??? ????? 1024 ? 5000 ?????.

    - ?? -
  • ????? ?????? ??? ????????? ?? 240 ???????? (?????????) ??? ?? ????? ?? 30 ????? ??? 300 ?????. ??????? ????? ??????? TcpTimedWaitDelay ?????? ??? ??????. ?????? ????? ?? ?????? "???? ???????" (Regedt32.exe) ??? ???? ??????? ?????? ?? ??????? ?? ?? ?????? ??????:

    HKEY_LOCAL_MACHINE\System\CurrectControlSet\services\Tcpip\Parameters

    TcpTimedWaitDelay

    ?????: Tcpip\Parameters
    ??? ??????: REG_DWORD-????? ????????
    ???? ?????: 30-300 (????)
    ?????????: (240 ??????) 0xF0

    ???
    : ???? ??? ??????? ??? ????? ???? ???? ????? ?? ?????? TIME_WAIT ??? ????? ???????. ????? ????? ?? ???? TIME_WAIT ?? ???? ????? ??????? ??? ???? ???????. ????? ?? ?????????? ???? RFC 793.
??????: ??? ????? ??? ??????? worse ??? ??? ????? MailboxCacheTTL ?????? ????. ??? ?????? ??????? ??? ????? ????????? ??? ??????? ??????? ?????? ?? ?????? ???? TTL ?? ???? ????? ??????? MailboxCacheTTL ?? ??? SiteConfig.cfg (??? ??????? ?????? ???? Microsoft).

??????? ????

?????? ??? ??????? ?????? ??? ????? ???? ?????? ??????? ????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft" (????? ?? ??? ???????? ??? ???? ?? ???? ??????? ??? ?? ??? ??? ?????? ??????????):
196271??? ???? ??? ??????? ?? ????? TCP ???? 5000
149532????? ????? Windows NT ?? ?????

???????

???? ???????: 319502 - ????? ??? ??????: 18/???? ??????/1424 - ??????: 1.1
????? ???
  • Microsoft TV Server 2.0 Service Pack 1
????? ??????: 
kbmt kbprb KB319502 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????319502

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com