Greetings, I have a mod_perl handler (that is intended to run on a proxy server) written like so:
package Handler; sub handler { return -1 } 1; I am testing this handler by registering it as a Trans handler like so: PerlTransHandler Handler *I have also tried testing by registering as a Fixup handler:* * * *<Location />* * SetHandler perl-script* * PerlFixupHandler Handler* *</Location>* Before I register this handler, my average response time serving a static document is about 20 milli seconds. When i register this handler as either a Trans or Fixup handler, my performance degrades to 2 whole seconds. I am using the worker.c threaded version, here are my settings: <IfModule worker.c> ServerLimit 100 StartServers 16 MaxClients 1025 MinSpareThreads 25 MaxSpareThreads 100 ThreadsPerChild 25 MaxRequestsPerChild 2048 </IfModule> # Put this here to fix broken pipe from mod_perl (?) ProxyReceiveBufferSize 217088 ProxyIOBufferSize 217088 Can anyone see the reason why my performance is being degraded significantly? Is this normal? Any suggestions or recommendations are greatly appreciated. Thank you in advance, and please let me know if you need any more details in case i left them out. Thanks! jeffa