Srvany Service Limitation

D

Dylan Ennis

Hi,
SRVANY.exe (from the res kit) seems to have an upperlimit on the number of
services it can run simultaneosly.
I have reached a limit of 33 running services using srvany.

People with patience can try it out themsleves by setting up 40 services to
run notepad (or whatever) and trying to start them all.

At 34 and 35 the following Notepad error is generated:

"The application failed to initialize properly (0xc0000142). Click on OK to
terminate the application." and the service is showed as running in the MMC.

At 36 and above the same notepad error is generated but the service fails to
start in the MMC with the following error.

"Could not start the ServiceName service on Local Computer. Error 1053: The
service did not respond to the start control request in a timely fashion."

I've tried this on WinNT4 (server and workstation) and Win2000 (server and
professional)
With greatly different CPU speeds and RAM the limit still exists. What
gives?

Does anyone have a clue as to why this is happening?
How can I get around this limit?

Confused,
Dylan
 
D

Dylan Ennis

With the help of John Campbell I was able to find a work around for the
service limit.

Read the following articles:

Microsoft Knowledge Base Article - 126962
"Out of Memory" Error Message Appears When You Have a Large Number of
Programs Running

Microsoft Knowledge Base Article - 184802
PRB: User32.dll or Kernel32.dll Fails to Initialize

Microsoft Knowledge Base Article - 142676
Overcoming User32.dll Initialization Failure Errors

I've set the relevant value to the following
....SharedSection=1024,3072,1024...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top