in reply to Can I have a Perl script, initiated from a browser, fork itself, and not wait for the child to end?
Note that you show both the parent and child outputting the headers, which is wrong.
But more generally this arrangement is likely to be a bad idea. It's very easy for someone to maliciously or inadvertently send many short requests to the web server, which results in thousands of long-running forked processes vying for memory and CPU.
Dave.
|
---|