[Catalyst] restarting mod_fcgid processes
Nathan Kurz
nate at verse.com
Fri Jul 14 21:44:31 CEST 2006
Is there any way to gracefully restart Catalyst FastCGI processes
running under Apache/mod_fcgid without restarting Apache? I'm trying
to write a Subversion post-commit hook that will do this, but failing.
It seems like mod_fastcgi has an -autoUpdate flag that will check the
modification time on the executable, but I can't find any way to do
this with mod_fcgid.
Right now I'm thinking it might be easiest just to patch mod_fcgid,
but it seems like might be possible to modify Cat::Engine::FastCGI to
check this, and to re-exec itself if it sees that it is out of date.
Does this seem possible? And if I were to make such a change, is
there somewhere in my project that I could put a subclassed version
that would be found by the Catalyst module loader?
Thanks!
Nathan Kurz
nate at verse.com
More information about the Catalyst
mailing list