Is there a max limit on the number of Managed Windows Services that can be run on Win 2000 server?

  • Thread starter Thread starter yucel.cifci
  • Start date Start date
Y

yucel.cifci

We have a situation where we keep hitting below error 1053
The .......... service failed to start due to the following error:

The service did not respond to the start or control request in a timely
fashion.

whenever we try to start managed windows service above a specific number.
On one server (SERVER1) it is 25, on another (SERVER2) it is 27. There are
9 different services, each 9 constitutes a release version.

Were are trying to use the same server to handle multiple versions, however,
we have
this limitation where we can only get a max of 3 sites (3 x 9services) at
best running.

It does not matter which services are running, when we reach this limit no
other
managed service will start. If I stop one, I can start another. I don't
believe it is
a licensing issue, we do use Crystal however, the same issue occurs if I do
not start
those services that use the Crystal dll's.

The environment is Windows 2000 server. Framework is 1.0.

Any help on this is much appreciated.

Rgds
Yucel
 
Have added below post outlining our findings.

Hi Yucel,

Looking into this issue, I made some observations:

Windows 2003 Enterprise Edition - Runs 75 services MAX
Windows XP SP2 - Runs 77 services MAX
Windows 2000 SP4 - 28 services MAX

Below Registry value for all above configurations:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\SubSystems\Windows
SharedSection=1024,3072,512


Below is what I changed on a test Windows 2000 SP4 (server-pjs2) to get more
services running under USER CONTEXT:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\SubSystems\Windows
SharedSection=1024,3072,512,512 - Default value - allows 28 services
MAX
SharedSection=1024,3072,256,256 - Allows me to run 58 Services MAX
SharedSection=1024,3072,128,256 - Allows me to run 120 Services (we
could probably go more than 120, but I stopped here).

This is definately an operating system issue. After the MAX services
running is reached, NO other services (any services - does not have to be a
..NET service) will run under USER context. Services still can be run under
the LocalSystem account though.

Here are some links of that might be useful:
http://support.microsoft.com/?id=184802
http://www.jsifaq.com/SUBQ/tip8000/rh8031.htm
http://www.rtems.com/ml/rtems-users/2004/september/msg00028.html


Kind Regards,

Toutou Manivong
 
Back
Top