Anti Virus software and IRPStackSize

A common issue on Windows servers is an error message stating 'Not enough server storage is available to process this command.'

This is often related to Net Share problems and/or anti virus software issues and is caused by the i/o stack size being too small. This is controlled by the IRPStackSizevalue in the registry.

What is IRPStackSiz?

In Microsoft operating systems including Windows NT, Windows 2000 Server, Windows XP and Windows Server 2003, the IRPStackSize is a parameter that specifies the number of stack locations in I/O request packets (IRPs) that are used by the operating system. Each stack uses 36 bytes of memory for each receive buffer and you can increase the IRPStackSize, through the Windows registry for some transports, media access control (MAC) drivers, or for file system drivers. The default value of the IRPStackSize parameter is 15

The registry key concerned is: HKEY_LOCAL_MACHINE\SYSTEM\CURRENT_CONTROL_SET\SERVICES\LanmanServer\Parameters

Try increasing this to 10 or 20, reboot and the problem should go away.

For more details see: http://support.microsoft.com/default.aspx/kb/177078