Disabling SMTP Socket Pooling (Windows Server 2003 / IIS 6)

Hi all,

I am trying to disable socket pooling in IIS6 but this method (as per http://www.isaserver.org/tutorials/iis6socketpooling.html)...

net stop smtpsvc
cscript adsutil.vbs set smtpsvc/disablesocketpooling true
net start smtpsvc

...is having no effect.

Well - I think it is having no effect as when I do "netstat -an" I still have an entry that says:

  TCP    0.0.0.0:25             0.0.0.0:0              LISTENING

Although I do have an entry further down that says this (where 123.123.123.123 is my IP address)

  TCP    123.123.123.123:25       0.0.0.0:0              LISTENING

Any ideas?

Thanks

Bob
LVL 2
BobFettAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nihlcatCommented:
I believe this article addresses the issue.  You'll notice the command M$ suggests are slightly different than above (cscript adsutil.vbs set w3svc/disablesocketpooling true).  The related article on that page is also informative.

http://support.microsoft.com/kb/238131/EN-US/
0
BobFettAuthor Commented:
Hi Nihlcat,

Thanks for your help but I'm afraid I tried this earlier and it doesn't work.  Oddly enough - even this article stats that it doesn't work:

<i>Because DisableSocketPooling is defined as a valid property in the IIS 6.0 metabase schema (MBSchema.xml), you can still set this property by using Adsutil.vbs, but this has no effect. The functionality in IIS 6.0 is part of the new kernel level driver HTTP.sys. To configure HTTP.sys, you must use Httpcfg.exe. For additional information about how to disable socket pooling in IIS 6.0, click the following article number to view the article in the Microsoft Knowledge Base:

813368 IIS 6.0: Setting Metabase Property DisableSocketPooling Has No Effect</i>

But the related articled doesn't seem to help at all.

I HAVE UPPED THE POINTS FOR THIS QUESTION TO 500
0
nihlcatCommented:
So you installed the Suptools.msi and changed the metabase properties as per the second article, and nothing changed?
:(
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

BobFettAuthor Commented:
Yep - I'm afraid so.  I'm not entirely sure what the...

httpcfg set iplisten -i xxx.xxx.x.x

...command was supposed to do however, as it specifies an IP address, not a port so surely all it can do it is enable listening on all IIS services on a per port basis (and if thats the case - why would you have to enter an IP address when this would affect all IPs?)

Maybe I'm being dumb but the second topic really doesn't seem to be that closely linked to the first.
0
nihlcatCommented:
Well, I'm out of gas, let's see who else here can help.
0
brownmetalsCommented:
Hi there.

I've experienced a similar problem before, but it was because Exchange was running on the server. Do you have Exchange running on this server? It's Windows 2003 Server, correct?

-Jay
0
alimuCommented:
um... is this the same thing I'm working throug at http:Q_21181250.html?
do you want to close one of the questions off?
0
alimuCommented:
btw - the httpcfg tool is valid for IIS 6's web services but smtp & nntp -should- still check the old disablesocketpooling value as per iis 5.... it seems to be one portion of the iis architecture that didn't change between versions.  Refer back to my post in the other question (possible fixes, etc)...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BobFettAuthor Commented:
0
BobFettAuthor Commented:
Hi alimu,

Alas still no joy (as far as I can tell) - I used the metaexplorer to find the numbers of my two smtp servers and ran the commands as above but still no luck.  I DO have entries in the socket list saying:

  TCP    123.123.123.99:25       0.0.0.0:0              LISTENING
  TCP    123.123.123.11:25       0.0.0.0:0              LISTENING
  TCP    123.123.123.11:25       61.185.144.177:3437    TIME_WAIT
  TCP    123.123.123.11:25       153.69.128.174:2970    TIME_WAIT
  TCP    123.123.123.11:25       200.221.4.99:61279     TIME_WAIT
  TCP    123.123.123.11:25       205.214.214.249:3747   TIME_WAIT
  TCP    123.123.123.11:25       205.243.165.215:1654   ESTABLISHED
  TCP    123.123.123.11:25       207.171.172.6:32527    TIME_WAIT

But I still have an entry saying:

  TCP    0.0.0.0:25             0.0.0.0:0              LISTENING

At the top.

What does this mean?

Regarding my split posts, I will award all 1000 points to you so I've awarded you 500 points for your help so far and closed that one off.

Bob
0
BobFettAuthor Commented:
Just so you know, I have about 6 IP addresses on the server, but only two of these are used in my SMTP servers (one in each) - could this be why the " TCP    0.0.0.0:25             0.0.0.0:0              LISTENING" entry is still appearing?
0
alimuCommented:
hmmm... don't know if that's quite kosher - might be best if when it's solved at http:Q_21181250.html (where I'm still posting fix stuff) you should post to community support and ask them to refund your points and close the question.  Am happy enough with the 500 here and 0 for the other as long as they PAQ the other question 'cause it took a while to track down all the info there.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.