Error Message "Not enough server storage is available to process this command" thrown when using Diagnostics Libraries


i posted on msdn forums here , administrator advised me ask question here.

 

i've been trying make library uses system.diagnostics.performancecounters monitor perfmon on variety of machines in c#. while system seems run fine, i've noticed after 3 weeks or of polling started receiving error:

"not enough server storage available process command" on windows server 2003 machines

which stack trace identifies being from:

at system.diagnostics.performancemonitor.getdata(string item)
   @ system.diagnostics.performancecounterlib.getperformancedata(string item)
   @ system.diagnostics.performancecounterlib.get_categorytable()
   @ system.diagnostics.performancecounterlib.getcategories()
   @ system.diagnostics.performancecounterlib.getcategories(string machinename)
   @ system.diagnostics.performancecountercategory.getcategories(string machinename)

 

the same error occurs when try hitting system.diagnostics.process.getprocesses().

 

i can "fix" issue restarting remote registry, it's not long term solution since won't able going forward on of machines.

 

i've noticed on machines fail, around time failure occurs, start see warnings in event viewer like:

the configuration information of performance library "c:\windows\system32\aspperf.dll" "asp" service not match trusted performance library information stored in registry. functions in library not treated trusted.

 

followed warnings like:

windows cannot load extensible counter dll ccmframework, first dword in data section windows error code.

 

 

reading online, best can find these issues reference: http://support.microsoft.com/kb/106167

it mentions idea irpstacksize not large enough value , recommends fix of changing value.

however, i'm not keen on idea because again, seems if boxes function fine few weeks , don't return functioning okay until restart remote registry, not interacting , value isn't problem. checking registry on 1 of servers, don't see variable irpstacksize in described location. happens when increase value make work on machine magically work? or there other solutions people can recommend?

hi,

check this

http://support.microsoft.com/kb/177078/en-us

hth


edoardo benussi - microsoft® mvp
management infrastructure - systems administration
https://mvp.support.microsoft.com/profile/benussi
windows server italian forum moderator
edo[at]mvps[dot]org


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file