concept
05-10-2007, 07:54 PM
Ive been having this issue on a box im messing around with. I run custom services that launch an exe file. Everything runs fine while the server is running. But on reboot random custom services fail. Terminal services also fails to start.
The number of services that need launched on restart seems to be random each time. Sometimes services start to fail, at around 70+ being setup. Other times you don't see it failing until 100+ services needs started on reboot.
The server load with all services running is 2-5% and physical memory is about 200 megs of 1gig, paged, is about 300-400 megs used.
It is normally 3-4 custom services that fail on reboot. The ones that fail have the following error in event viewer.
Event Type: Error
Event Source: Aprog
Event Category: None
Event ID: 116
Date: 5/10/2007
Time: 7:08:40 PM
User: N/A
Computer: XXXXXXXXX
Description:
Subprocess monitoring failed due to subprocess is no longer active. The subprocess is probably dead. Restarting the process. Error detail: Overlapped I/O operation is in progress.
It will keep getting this error over and over again. However, if i stop all custom services and then start them, everything launches fine.
When this happens on reboot Terminal services also fails to start. It will not start, until I stop all the custom services. At which point it allows me to start TS without any errors.
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7023
Date: 5/10/2007
Time: 7:02:10 AM
User: N/A
Computer: XXXXXXX
Description:
The Terminal Services service terminated with the following error:
A dynamic link library (DLL) initialization routine failed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
What I am trying to accomplish is a way to automatically launch these EXE files, and have something that restarts them if they crash or fail. I haven't been able to find a specific reason this is happening or how to fix it. So I am open to any other suggestions on how to do this.
The number of services that need launched on restart seems to be random each time. Sometimes services start to fail, at around 70+ being setup. Other times you don't see it failing until 100+ services needs started on reboot.
The server load with all services running is 2-5% and physical memory is about 200 megs of 1gig, paged, is about 300-400 megs used.
It is normally 3-4 custom services that fail on reboot. The ones that fail have the following error in event viewer.
Event Type: Error
Event Source: Aprog
Event Category: None
Event ID: 116
Date: 5/10/2007
Time: 7:08:40 PM
User: N/A
Computer: XXXXXXXXX
Description:
Subprocess monitoring failed due to subprocess is no longer active. The subprocess is probably dead. Restarting the process. Error detail: Overlapped I/O operation is in progress.
It will keep getting this error over and over again. However, if i stop all custom services and then start them, everything launches fine.
When this happens on reboot Terminal services also fails to start. It will not start, until I stop all the custom services. At which point it allows me to start TS without any errors.
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7023
Date: 5/10/2007
Time: 7:02:10 AM
User: N/A
Computer: XXXXXXX
Description:
The Terminal Services service terminated with the following error:
A dynamic link library (DLL) initialization routine failed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
What I am trying to accomplish is a way to automatically launch these EXE files, and have something that restarts them if they crash or fail. I haven't been able to find a specific reason this is happening or how to fix it. So I am open to any other suggestions on how to do this.
