Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: FastCGI script reloading

by Thilosophy (Curate)
on Jan 27, 2006 at 07:18 UTC ( #525916=note: print w/ replies, xml ) Need Help??


in reply to FastCGI script reloading

First off, why don't you develop using plain CGI and once the code is done, move over to FastCGI ? That way you dont need to restart all the time.

That being said:

killall my_program.fcgi
In the usual setup, Apache spawns and controls the FastCGI instances. If one of them dies, it should automatically start a new one. So if you change your code, you could just kill the FastCGI process (rather than the whole Apache) and things get reloaded.
apachectl graceful
A graceful restart will not cut off currently connected users (not 100% sure if it restarts the FastCGI servers, though).


Comment on Re: FastCGI script reloading
Select or Download Code
Re^2: FastCGI script reloading
by v01d (Novice) on Jan 27, 2006 at 18:03 UTC

    Interesting options, I will try them

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525916]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-07-05 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls