Memory Leak in Smail Function Sends Mail to Unavailable Server

Last reviewed: February 3, 1998
Article ID: Q164804

The information in this article applies to:

  • Microsoft Commercial Internet System, version 1.0

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.

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.

Version           : 1.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.