fastcgipp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fastcgipp-users] about the Manager class


From: Jean-Christophe Roux
Subject: [Fastcgipp-users] about the Manager class
Date: Tue, 14 Apr 2009 12:59:14 -0700 (PDT)

Hello,

Thank you very much for this project. It is really useful. A couple of issues I am struggling with:

1) I don't understand why this manager class is said in the doc to run an "endless loop". It appears that after a while without request from the webserver the process vanishes; it does not appear listed  by ps -A. Now, if I define a static member in my class deriving from Request and this static member acts as a counter of the number of http requests, when the process is restarted for a fresh http request, that counter is reset! It seems to me that the loop is not endless but has a limited lifespan. 
How can I set the delay between the last http request and the point at which the process is killed?
Is there a way to have the dealy unlimited and have effectively an endless loop?
Or maybe there is a better way than setting a static member?

2) For deployment purposes and to test my new app, I need to kill the current process so that the new app is executed right away. For the moment, the older app still runs until it is killed as described aboe. Is kill -9 xyz the right and most appropriate way to kill the current app to make room for the new one?

Thanks again


reply via email to

[Prev in Thread] Current Thread [Next in Thread]