in reply to Mail::IMAPTalk and mod_perl
You could compile apache to use a different MPM module. Instead of the standard prefork (on unix) some other more thread-heavy module could decrease the number of forks dramatically. If your web server already uses a different MPM module (httpd -l shows you which one is compiled into apache), it should suffice to change some parameters in apache2.conf