Windows 2008 Port Exhaustion issues

Posted on 2011-04-27
Last Modified: 2012-05-11
I have a single domain forest with Windows 2003/2008 Domain controllers. I recently upgraded one of my remotes sites from windows 2003 to 2008. Its Windows 2008 Standard Server with SP2, latest updates. It is a domain controller. this is one of several other sites I have upgraded but the only one with this issue. It was fine for the first couple of weeks then I started getting a lot of AD erros in the event log, I was losing connectivity to DS and not able to replicate. I wasn't even able to open up ADUC without an error. I could not run dcdiag or netdom or repadmin without getting ldap down errors. I can reboot and the issues clear up for about a day then come back and connectivity start failing again.

With further investigation and running some netstat commands I was seeing that I was getting thousands of SMS Port 445 connections to the point of Port Exhaustion and windows would run out of ports and RPC would fail. I could not see what process or application was causing this. Again I could reboot, things would clear up, run netstat and see Port 445 connections slowly climbing. I have a ticket open with microsoft but it is slow going. Already ran wireshark trying to capture what is happening.

This server does not face the internet by the way.

Has anyone seen or had this issue? Please let me know if you need further information
Question by:SBOT_Tech
    LVL 57

    Accepted Solution

    You could check for memory leaks but I don't blow smoke....don't have the answer 100%,  I'm guessing you already went through this blog

    So opening up a ticket was the right thing here as they stated, they will probably send this up to the debugging team.

    I'll let you know if I think of anything else but also keep us posted on the findings.



    Author Comment

    Yeah that was actually one of the first articles I find when I started to dig deeper. Thanks for info though..

    Assisted Solution

    After much investigation found out that it was a SCCM 2007 known memory leak. Got a hotfix from Microsoft and it resolved the port exhaustion issue.

    Author Closing Comment

    Was a good guide to follow, ending up not being that particular issue but was a good start

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now