100% CPU Usage Running SNA Windows 3.x Client on Windows NT

Last reviewed: November 1, 1995
Article ID: Q131640
The information in this article applies to:
  • Microsoft SNA Server for Windows NT, versions 2.0 and 2.1

SUMMARY

When you run the SNA Server Windows 3.x client under Windows NT 3.1 or 3.5, Performance Monitor shows CPU utilization at 100 percent. This occurs whenever the SNA Server Windows 3.x client process (WNAP.EXE) is running, even if it is not being used.

The WNAP process, which calls PeekMessage(), is causing the Windows NT WOW subsystem to use all available idle CPU cycles. However, due to sophisticated Windows NT process scheduling, other tasks/threads running at a higher priority (including foreground tasks), and tasks/threads running at the same priority, continue to run. You will probably not notice any performance degradation.

The excessive CPU usage does not occur under Windows NT 3.51.

MORE INFORMATION

The high CPU usage occurs on Windows NT 3.1 or 3.5 with any 16-bit Windows application which implements a PeekMessage() loop to process Windows messages. The SNA Server Windows 3.x client (WNAP.EXE) uses a PeekMessage() loop.


KBCategory: kbnetwork kbinterop
KBSubcategory: ntnetserv
Additional reference words: prodsna 2.00 2.10 3.50 CPU


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: November 1, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.