ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
Performance issue
by Brian Gaber other posts by this author
Oct 10 2008 7:53AM messages near this date
Re: Sleepycat::DbXml problem "httpd: symbol lookup error" | Re: Performance issue
I have an AIX 5.2 (16 GB RAM), Apache 2.2.8, MySQL 5.0.51a and mod_per
2.04 environment.  I had a Perl cgi-bin program using CGI.pm that I
converted to work in mod_perl.  The converted script still uses CGI.pm
and is now enabled in Apache via:

PerlModule ModPerl::Registry
Alias /perl/ /usr/local/apache2/perl/
<Location /perl/> 
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
    Order allow,deny
    Allow from all
</Location> 

I have my startup.pl containing:

use Apache::DBI;
use DBI();

Called in httpd.conf with:

PerlPostConfigRequire  /usr/local/apache2/scripts/startup.pl

Apache was compiled with --with-mpm=prefork

All webpages are accessed using SSL.  I am investigating offloading SSL,
but that will take a few months to accomplish.

If only a few users are using the application then performance is fine.
By this I mean the display of a MySQL query to a webpage takes a few
seconds.  Once we get over 20 users performance degrades to about 45
seconds.

Any tips would be appreciated.
Thread:
Brian Gaber
Fred Moyer

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved