Re: Moving ExecCGI to mod_perl - performance and custom 'modules'

2021-03-19 Thread Gazzali Jaleel
Porting code from CGI to mod_perl is a fun project. This is a late reply to your original post but wanted to point out an excellent resource - the Practical mod_perl book. The link for the book on the mod_perl site (perl.apache.org) is broken but you can find it at https://modperl2book.org/mp1

Re: Solution for $r->connection->client_addr->port

2019-02-25 Thread Gazzali Jaleel
On 2/25/2019 2:57 PM, Randolf Richardson wrote: On 2/25/2019 2:28 PM, Randolf Richardson wrote: [sNip] As long as one isn't relying on the client's dynamic TCP port number from $r->connection->remote_addr->port for anything (as I've discovered no longer works in the current release of

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-25 Thread Gazzali Jaleel
On 2/25/2019 2:28 PM, Randolf Richardson wrote: [sNip] As long as one isn't relying on the client's dynamic TCP port number from $r->connection->remote_addr->port for anything (as I've discovered no longer works in the current release of mod_perl2), updating to the newest mod_perl2 sho

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-25 Thread Gazzali Jaleel
On 2/24/2019 4:44 PM, Randolf Richardson wrote: On 2/22/19 10:54 AM, Matthias Schmitt wrote: I doubt that you will be able to compile mod_perl 1.x with newer compilers and operating systems. Hold my beer :). [sNip] I have a Makefile that does all of this. I suppose I could publish it on

Re: mod_perl interpreter pool

2019-02-24 Thread Gazzali Jaleel
On 2/24/2019 1:32 PM, André Warnier (tomcat) wrote: On 24.02.2019 01:50, Gazzali Jaleel wrote: On 2/22/2019 2:15 PM, John Dunlap wrote: The Prefork MPM has the following settings: StartServers 5 MinSpareServers   5 MaxSpareServers

Re: mod_perl interpreter pool

2019-02-23 Thread Gazzali Jaleel
On 2/22/2019 2:15 PM, John Dunlap wrote: The Prefork MPM has the following settings:     StartServers 5     MinSpareServers   5     MaxSpareServers  10     MaxRequestWorkers 150     MaxConnectionsPerChild   0 I see these Ap