Hello,

I had been doing some benchmark testing with ApacheBench to compare the
performance differences between mod_cgi and mod_perl and they were going
great until all of the sudden my results fell way out of line.  I need
help!  After I switched the max requests per child from 1 to 5000 the
trouble began.  Ever since my results have been around 1100 requests per
second.  Being so adamant in testing, I neglected in stepping back and
simplifying the issue.  After trying to run a script from Netscape, I
got the following familiar error.  I have an excerpt from my error_log
when things went bad.  I have checked my permissions like the Apache FAQ
recommends but they look fine.  Not sure what to do.  I really
appreciate the help guys.

Rich Lemanski

*****************************************************************
BROWSER ERROR

Forbidden

You don't have permission to access /perl/modperl.pl on this server.


Apache/1.3.12 Server at LaZaRus Port 80

*****************************************************************
TEST RESULTS

All tests performed with AB = ApacheBench.

n = number of requests;
c = concurrent user requests;
mod_cgi/mod_cgi = mcmc = mod_cgi running mod_cgi script
mod_cgi/mod_perl = mcmp = mod_cgi running mod_perl script
mod_perl/mod_perl = mpmp = modPerl running mod_perl script
mod_perl/mod_cgi = mpmc = modPerl running mod_cgi script
rps = requests per second
ss = start servers
mcps = max clients per server
mrpc = max requests per child
minss = min spare servers
maxss = max spare servers

ss = 8; mcps = 150; mrpc = 100; minss = 5; maxss = 20

Type; n; c        mcmc         mcmp         mpmp         mpmc
AB; 100; 10       7.24rps      7.18rps      571.43rps    301.20rps
AB; 100; 10       7.16rps      7.63rps      578.03rps    295.86rps
AB; 100; 10       7.53rps      7.69rps      436.68rps    172.71rps

AB; 1000; 10      7.71rps      7.74rps      544.96rps    158.25rps
AB; 1000; 10      7.40rps      7.75rps      476.87rps    162.76rps

AB; 10000; 500  27.75rps    23.75rps    462.15rps    135.40rps
AB; 10000; 500  21.68rps    29.02rps    463.91rps    110.25rps


ss = 10; mcps = 100; mrpc = 1; minss = 5; maxss = 20

Type; n; c        mcmc         mcmp         mpmp         mpmc
AB; 1000; 50    24.93rps    25.48rps    25.25rps     25.63rps
AB; 1000; 50    24.85rps    25.02rps    24.97rps     24.80rps

*****************************************************
ss = 10; mcps = 10; mrpc = 5000; minss = 5; maxss = 20
Type; n; c        mcmc         mcmp         mpmp         mpmc
AB; 1000; 50   1104.97rps 1123.60rps 1104.97rps 1107.42rps
AB; 1000; 50   1121.08rps 1124.86rps 1096.49rps 1104.97rps
*****************************************************

ss = 10; mcps = 10; mrpc = 1500; minss = 5; maxss = 20
Type; n; c        mcmc         mcmp         mpmp         mpmc
AB; 1000; 50   1108.65rps 1123.60rps 1104.97rps 1106.19rps
AB; 1000; 50   1123.60rps 1123.60rps 1101.32rps 1095.29rps


ss = 10; mcps = 10; mrpc = 1500; minss = 8; maxss = 6
Type; n; c        mcmc         mcmp         mpmp         mpmc
AB; 1000; 50   1116.07rps 1114.83rps 1097.69rps 1102.54rps
AB; 1000; 50   1121.08rps 1123.60rps 1108.65rps 1098.90rps


*****************************************************************
EXCERPT FROM /ETC/HTTPD/LOGS/ERROR_LOG

[Wed Jul 19 00:54:06 2000] [error] [client 192.168.0.2] (11)Resource
temporarily unavailable: couldn't spawn child process:
/home/httpd/cgi-bin/modperl.pl
[Wed Jul 19 01:16:18 2000] [notice] caught SIGTERM, shutting down
[Wed Jul 19 01:16:22 2000] [notice] Apache/1.3.12 (Unix)  (Red
Hat/Linux) mod_perl/1.21 configured -- resuming normal operations
[Wed Jul 19 01:17:52 2000] [notice] caught SIGTERM, shutting down
[Wed Jul 19 01:18:00 2000] [notice] Apache/1.3.12 (Unix)  (Red
Hat/Linux) mod_perl/1.21 configured -- resuming normal operations
[Wed Jul 19 01:18:50 2000] [error] [client 192.168.0.2] client denied by
server configuration: /home/httpd/cgi-bin/cgi_test.pl

Reply via email to