Hello everyone
Server shells(Createprocess) an application program the first
time a request is received. Server is configured to TerminateProcess
the application, if no new requests are received for, say 6 minutes.
The problem is that the application program is unable to close the
resources used, because of TerminateProcess.
This is the case of a WebServer shelling a FastCGI app.
If the application could detect inactivity for a period of 5 minutes,
then it could close all resources, and shutdown. Thus preempting the server.
Like a yellow light before a red traffic light.
Is this a good approach?
Thank you all.
Server shells(Createprocess) an application program the first
time a request is received. Server is configured to TerminateProcess
the application, if no new requests are received for, say 6 minutes.
The problem is that the application program is unable to close the
resources used, because of TerminateProcess.
This is the case of a WebServer shelling a FastCGI app.
If the application could detect inactivity for a period of 5 minutes,
then it could close all resources, and shutdown. Thus preempting the server.
Like a yellow light before a red traffic light.
Is this a good approach?
Thank you all.
Comment