You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2002/01/20 18:46:15 UTC

Re: Forking another process in Apache?

> I have a requirement to spin off a SQL loader process after a web page
(a
> form which is qualified and accepted) has been submitted.  Does it
make
> sense, or more importantly, is it dangerous to apply a "fork" at the
end of
> a module such as this:

You're probably better off using a cleanup handler to do this after
disconnecting form the client.  See the guide for more details:
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subp
rocess

- Perrin