Hello,
We're having quite the time with CGIs being called in mod_perl, listed below is an example of the DBI connection code:
SNIP
use DBI
my $write_dbh = DBI->connect("DBI:mysql:writeDB:192.168.1.10","foouser","foopass") || die $DBI::errstr;
my $read_dbh;
if ( int(rand(4)) ) { $read_
+ExecCGI
5. We easily reach 1024 webserver processes, apache 1.3.
6. We have not verified anything with tracing.
Does this answer all the questions?
On Wed, 2004-12-01 at 17:39 -0500, Perrin Harkins wrote:
On Wed, 2004-12-01 at 19:00 -0600, Richard N. Fogle wrote:
> The problem we're
nesday 1 December 2004 08:26 pm, Richard N. Fogle wrote:
> 1. We disabled Apache::DBI - the server can generate thousands of
> queries per second and this feature literally made the CPU catch fire.
Odd. Normally (in my limited experience) it has the reverse effect as you
aren't creati
ts.
Tried using Thread::Semaphore with the same results. If anyone would like
the URL to see this for themselves write me off list. If there is need for
additional information than I apologize in advance for not submitting it and
will do so upon request.
Richard N. Fogle
ts.
Tried using Thread::Semaphore with the same results. If anyone would like
the URL to see this for themselves write me off list. If there is need for
additional information than I apologize in advance for not submitting it and
will do so upon request.
Richard N. Fogle