"Not enough server storage is available to process this command" error when you try to access file shares on an SOFS-configured server

Symptoms
Consider the following scenario:
  • You configure the Scale-Out File Server (SOFS) role on a server that's running Window Server 2012 R2. 
  • You have server applications and clients that access file shares frequently. 
  • The applications and clients open many short-lived sessions in which they connect, authenticate, change files, and close the session immediately.
In this scenario, after some time, access to the file shares is unsuccessful, and a STATUS_INSUFF_SERVER_RESOURCES error is recorded in a network capture.

Additionally, when users try to connect to SOFS shares, they receive the following error message:

Not enough server storage is available to process this command.


You also see a very high handle count in Lsass.exe on both the coordinator and non-coordinator nodes of the cluster.

Note If you failover the disk resource to another node, the issue temporarily does not occur.
Cause
This issue occurs because the applications create new sessions every time that they change a file instead of reusing sessions to generate many metadata changes.

The CSV File System uses the SMB protocol to keep metadata information consistent between the cluster nodes. A high volume of metadata changes generate many SMB sessions between the non-coordinator and coordinator nodes of the cluster and exhaust the SMB table on the coordinator node.
Resolution
To fix this issue for these kinds of application workloads, we recommend that you use the File Server for General Use role instead of SOFS.

Note The SOFS role should not be used if the workload generates an exceptionally high number of metadata operations, such as opening and creating new files or renaming existing files.
More information
In a network capture between non-coordinator and coordinator nodes, you see that after an SMB Session Setup request, the coordinator node responds with a STATUS_INSUFF_SERVER_RESOURCES error.
Propiedades

Id. de artículo: 3101545 - Última revisión: 10/08/2015 18:54:00 - Revisión: 1.0

Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard

  • kbexpertiseinter kbprb kbsurveynew KB3101545
Comentarios