Microsoft KB Archive/281332

= Interix Clients Heavily Use Samr Connections =

Article ID: 281332

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition

-



This article was previously published under Q281332



SYMPTOMS
Running Server Manager or User Manager for Domains results in the following error message:

Insufficient system resources exist to complete the requested service. Do you want to select another domain to administer?

The primary domain controller (PDC) may have 2,048 \PIPE\samr connections. Rebooting the PDC temporarily alleviates the problem. This article deals specifically with causes related to running Microsoft Interix software in your environment.



CAUSE
When using the Interix software at the clients' Windows NT or 2000 domain, administrators may notice a high number of connections to the \Samr named PIPE. Looking at a Windows NT 4.0 domain controller, these connections show up with a blank username. When looking at a Windows 2000 domain controller, they show up with the username of the client's computer name with a dollar sign ($) at the end.

If the number of connections exceeds the 2048 samr connection count limit on a given domain controller, that domain controller may return errors when performing samr operations.

In a master domain environment, all of the client SAMR connections go to the PDC. For performance reasons the Interix client does not close all handles to the SAM (Security Account Manager) database on the domain controller. The Interix software makes heavy use us SID to name translation, which requires this connection.

In addition, a bug exists where only in a master domain environment the domain controller contacted is the PDC. In a resource domain environment the client correctly picks any domain controller for the connection, which may or may not be the PDC.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Interix service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English-language version of this fix should have the following file attributes or later:   Date       Time    Version    Size     File name   Platform ---  03/05/2001 9:34PM  2.2.428.7  129,552  Posix.exe   Intel 03/05/2001 9:35PM 2.2.428.7   96,960  Psxdll.dll  Intel 03/05/2001 9:33PM 2.2.428.7   58,672  Psxrun.exe  Intel 03/05/2001 9:34PM 2.2.428.7  524,160  Psxss.exe   Intel

To resolve this problem, follow two steps on the Interix client computers. First, install the Interix hotfix from this article. After you apply the fix, samr traffic is distributed to other domain controllers and not to the PDC. The fix also enables the DCSweepInterval registry key. This key specifies how often the client should close the samr connections with the server. To apply the fix:  Install the Interix fix from this article. Use the following steps to add the DCSweepInterval key to the registry:  Click Start, click Run, type regedit32 in the Open box, and then press ENTER. Locate and click the following registry key:

HKEY_LOCAL_MACHINE\Software\Softway Systems\Interix

 Click Add Value on the Edit menu, and then add the following registry value:

Value name: DCSweepInterval

Data type: REG_DWORD

Radix: Decimal

Value: Number of seconds for every &quot;sweep&quot; of the domain controller cache

</ol> </li> Quit Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
The reason that the connections show up as no user is because the Interix client makes the connection with the system context (NULL connection).

For more information, please click on the following articles to view the articles in the Microsoft Knowledge Base:

189356 SAMR Pipes Cause Problems with Domain Controllers

286179 Server May Leak Samr Handles If an Error Path Is Hit in a Client Function Call

Keywords: kbqfe kbenv kbprb kbhotfixserver KB281332

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.