Memory Leak in Smail Function Sends Mail to Unavailable Server (164804)



The information in this article applies to:

  • Microsoft Commercial Internet System 1.0
  • Microsoft Personalization System

This article was previously published under Q164804

SYMPTOMS

When an ASP script using the Microsoft Personalization System (MPS) Smail object tries to send mail, and the mail server does not exist, the thread created by Inetinfo will try to access the server indefinitely. So, as more and more users try to send mail, more and more Inetinfo threads get hung. Eventually the server runs out of resources and stops responding.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Commercial Internet System version 1.0. This problem has been corrected in the latest U.S. Service Pack for Microsoft Commercial Internet System version 1.0. For information on obtaining the Service Pack, query on the following article in the Microsoft Knowledge Base:

ARTICLE-ID: 183062
TITLE : MCIS 1.0 Service Packs 1 and 2 Information

MORE INFORMATION

This problems' roots are in checking winsock.dll, and was solved with the addition of error checking for Winsock status. If a send mail request returns a 0 then there is no connection, this allows Inetinfo to remove the hung threads.

Modification Type:MajorLast Reviewed:2/19/2004
Keywords:kbbug kbfix KB164804