INF: Remote Sites and OS/2 Threads

Last reviewed: April 28, 1997
Article ID: Q89939

The information in this article applies to:

  - Microsoft SQL Server version 4.2 for OS/2

The "Remote Sites" parameter, which is configurable via sp_configure, controls the number of simultaneous remote sites that can access the server (in the context of RPCs). It is documented that every remote site you set takes up two OS/2 threads, but it is not clear whether these threads are spawned when RPC activity takes place between two sites or whether they are spawned during SQL Server startup.

They are actually spawned during SQL Server startup and stay as long as SQL Server is running. So, if the value of "remote sites" is 10, then 20 OS/2 threads are used, regardless of whether or not RPC activity is taking place. So, this parameter must be set with caution. If it is inadvertently set too high, then there may not be enough threads for devices. This will result in a situation where SQL Server will not start because it has run out of threads to access the devices. In this case, the following error appears in the errorlog:

   OS/2 error 155: Cannot create another TCB


Additional query words:
Keywords : kbother SSrvServer
Version : 4.2
Platform : OS/2
Issue type : kbtshoot


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: April 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.