Server 2008 dns.exe high memory consumption

Under the hood, dns.exe opens more than 5000 UDP ports during start up, 2500 for UDP IPv4, 2500 for UDP IPv6.  Large amount of kernel memory is also allocated for these ports.

Read config:
Dnscmd /Info /SocketPoolSize

Set config (not quite excessive output value of 10):
Dnscmd /Config /SocketPoolSize 10

After change, restart the DNS service.

One Comment

  1. Advanced, you will remove “Alternate DNS Server” from Internet Protocol Version 4(TCP/IPv4) Properties on your DNS servers/

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s