Eric,
In fact, the point was that SRV pre-allocates its IRP pool, and thus the
size of the IRPs is an initialization choice. Thus, this is not dynamically
adjustable.
A filter driver CAN “deal with” this issue by using a different IRP, rather
than using the same IRP. This isn’t a pleasant solution, but it does work.
In other words, when an IRP arrives into the filter, it builds a NEW Irp
with a sufficient number of stack locations (for the rest of the stack); of
course, to eliminate the “not enough server storage” error message, the
filter must set its own stack size field to be <= the IrpStackSize value (or
the default, if that isn’t set.)
On completion of the NEW Irp, the filter must then complete the original IRP
(and might as well just free that “NEW” Irp at that point.)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Eric W Hanson [mailto:xxxxx@microsoft.com]
Sent: Friday, July 13, 2001 11:49 AM
To: File Systems Developers
Subject: [ntfsd] RE: Not enough server storage to process this command
The following comments are with respect to Windows NT 4.0:
Regarding changing the IRPStackSize for LanmanServer during the
installation without rebooting. It looks doubtful for the no reboot
choice. It is a little hard to verify that something can’t be done. I
have found two items that would suggest it is not possible. One is a
comment that this is a boot only option. This is in a long list of
items for which many of them can be changed on the fly. The other is
that many of the IRPs are pre-allocated and the IrpStackSize is being
set at this time. I have found no evidence that supports changing the
IrpStackSize on the fly. If I find more information for or against I
will pass it along. - Eric
-----Original Message-----
From: Danny [mailto:xxxxx@neptune.co.il]
Sent: Thursday, July 12, 2001 4:21 AM
To: File Systems Developers
Cc: Eric W Hanson
Subject: [ntfsd] RE: Not enough server storage to process this command
?
Thank you for your help, though please permit me an additional question:
If I want to change the IRPStackSize during the installation, must I
force a reboot?
I don’t want to force a production server to reboot, as my driver loads
dynamically, meaning ?that there is a problem until the next reboot of
this production server.? I was wondering if this problem can be avoided
in any way, like sending ioctl to the lanman or some similar measure.
(I am running a NT4 ,sp5 installed but still the value of IRPStackSize
was set to 4, maybe because of an unsuccessful install, though I am not
certain.)
?
Subject:
??? [ntfsd] RE: Not enough server storage to process this
command.
??? Date:
??? Tue, 3 Jul 2001 17:32:24 -0700
??? From:
??? “Eric W Hanson”
?Reply-To:
??? “File Systems Developers”
??? To:
??? “File Systems Developers”
?
Increase the IrpStackSize for LanmanServer. (Do this on the the server
and not on the machine getting the error message):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer
\Parameters\IRPstackSize
defaults to 0x4
Valid values range from 0x1 to 0xC
IRPStackSize can be added if not present. It is a REG_DWORD.
This is a known issue and your filter install program could use a
setting of 0x7 or 0x8 to get around this.
Installing Windows NT 4.0 SP5 and later (and then rebooting) should set
the value to 7.
-----Original Message-----
From: Danny [mailto:xxxxx@neptune.co.il]
Sent: Tuesday, July 03, 2001 1:09 PM
To: File Systems Developers
Subject: [ntfsd] Not enough server storage to process this command.
?
?
I have a very serious bug in my filter driver on NT4, from the second I
load it , till the second I unload it I can’t open file/directory from a
remote computer. I keep receiving this popup message from the remote
computer:
"X:\ is not accessible.
Not enough server storage is available to process this command. "
What is going on ?
My FastioQueryOpen() is pretty much like in filespy
Thanks,
Daniel.
?
—
You are currently subscribed to ntfsd as: xxxxx@MICROSOFT.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com