I would like to add to Randy's response regarding DBI. This may or may not
be related to mod_perl2 or apache2. While I was testing Apache/mod_perl ..
Apache2/mod_perl2 .. Tomcat/Servlets. I created a problem with my local
MySQL database. I was testing for about an hour between the three of these.
My test page/servlet is similar to the following..
use DBI;
my $dbh = DBI->connect( 'DBI:mysql:host=localhost;database=db',
'asdf',
'asdf',
{
RaiseError => 1,
PrintError => 0
}
) || die "Database connection not made: $DBI::errstr";
$ary_ref = $dbh->selectrow_arrayref(q(SELECT LookupValue FROM lookup WHERE
Key = 'Associate' ORDER BY Value ASC));
print <<"END";
Content-type: text/html\015\012\015\012
Discussion name = @$ary_ref[0];
END
$dbh->disconnect;
I was using the command "ab -n 1000 http://127.0.0.1/perl/mysql.pl" to do my
testing... After the testing hour went by I noticed my processor was at
100%. No matter what I do my processor stays at 100% when the mysql deamon
is on. I have posted this problem on the mysql mailing list. So this is
probably not apache2/mod_perl2 related, but I thought I would let the
testers know.
Cheers,
JF
-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 2:10 AM
To: Randy Kobes
Cc: [EMAIL PROTECTED]
Subject: Re: DBI & win32 (was: question...)
Hi Randy,
> So I may package up my
> perl-5.7.3 build as a binary as well, to go along with
> an updated modperl-2 package ...
>
Looks like it's time for 5.8.0 to be the official release...
While we are talking about windows, do you have any experiences if DBI works
under windows with mod_perl 2.0?
Thanks
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]