in reply to forking in a cgi script
Here's an interesting article dealing with the issues of forking in a mod_perl environment. Most of the techniques discussed are valid for "normal" CGI programs, too.