Memory Leak in Smail Function Sends Mail to Unavailable Server

ID: Q164804


The information in this article applies to:


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: Q183062
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.

Additional query words:


Keywords          : 
Version           : 1.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 20, 1999