I've read through the modperl guide on Forking
(http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess)
and have seen some posts regarding it, but can't seem to determine what
is the most effective way to fork off a long subprocess.

Can somebody point me in the right direction??

Currently, my first option is to create a new http request from within
the modperl process and call a secondary cgi (regular).  The secondary
cgi will fork, quickly return a status code in the child, and continue
on with the long process in the parent.  The modperl process would have
received the reponse code pretty quickly, continued and ended.

Can anyone see any inherant problems with this approach?  Can someone
suggest something simpler or easier or better or more effective?

ANY comments will be greatly appreciated!

TIA,

Arthur

Reply via email to