R
Rich Bernstein
We are currently running 30+ custom and third party services on a machine in
addition to the system services (including SQL and IIS), the majority of
them are using SrvAny. OS is Win2k Advanced Server.
The services can be categorized as follows:
3 "real" services (not using srvany).
2 batch files run as services using srvany (the batches terminate but the
services remain in the "started" state)
1 srvany service, which then spawns an additional 17 processes.
31 srvany services, which are single processes
(The two batch programs simply start the other services in an organized
manner, with appropriate delays and tests to ensure network connections and
other dependencies are up.)
When we try to start aditional (srvany) services, the first 2 start (change
state to "started"), but the associated processes crash (srvany keeps
running). Any we attempt to start beyond the first 2 give the error "Could
not start the <name> service on Local Computer. Error 1053: The service did
not respond to the start or control request in a timely fashion".
Stopping one of the srvany-wrapped batch file services allows an additional
service to be started. The wrapped process itself either is successful or
fails depending on whether there are other srvany services with stopped
processes running.
Stopping any service (srvany or not) appears to allow an additional
srvany-wrapped service to start properly and remain functional.
Stopping the service that spawns 17 additional processes, and killing those
processes, allows several more services to start. Starting 6 of those
(srvany) services prevented 12 of the spawned processes from starting, when
the spawning service was restarted.
Is there some sort of limit to the number of processes that can be started
from the service system? It doesn't appear that the limit is directly due
to srvany, but obviously srvany could cut such a limit in half if one
exists. There appear to be 54 system services running, plus 89 processes
(including copies of srvany) running due to our custom services.
Any other ideas on what would cause this problem, or how to solve it?
Thanks.
addition to the system services (including SQL and IIS), the majority of
them are using SrvAny. OS is Win2k Advanced Server.
The services can be categorized as follows:
3 "real" services (not using srvany).
2 batch files run as services using srvany (the batches terminate but the
services remain in the "started" state)
1 srvany service, which then spawns an additional 17 processes.
31 srvany services, which are single processes
(The two batch programs simply start the other services in an organized
manner, with appropriate delays and tests to ensure network connections and
other dependencies are up.)
When we try to start aditional (srvany) services, the first 2 start (change
state to "started"), but the associated processes crash (srvany keeps
running). Any we attempt to start beyond the first 2 give the error "Could
not start the <name> service on Local Computer. Error 1053: The service did
not respond to the start or control request in a timely fashion".
Stopping one of the srvany-wrapped batch file services allows an additional
service to be started. The wrapped process itself either is successful or
fails depending on whether there are other srvany services with stopped
processes running.
Stopping any service (srvany or not) appears to allow an additional
srvany-wrapped service to start properly and remain functional.
Stopping the service that spawns 17 additional processes, and killing those
processes, allows several more services to start. Starting 6 of those
(srvany) services prevented 12 of the spawned processes from starting, when
the spawning service was restarted.
Is there some sort of limit to the number of processes that can be started
from the service system? It doesn't appear that the limit is directly due
to srvany, but obviously srvany could cut such a limit in half if one
exists. There appear to be 54 system services running, plus 89 processes
(including copies of srvany) running due to our custom services.
Any other ideas on what would cause this problem, or how to solve it?
Thanks.