From: | "alex b(dot)" <mailinglists1(at)gmx(dot)de> |
---|---|
To: | Postgresql General <pgsql-general(at)postgresql(dot)org>, beginners-cgi(at)perl(dot)org |
Subject: | mod_perl + PostgreSQL implementation |
Date: | 2003-05-18 22:56:07 |
Message-ID: | 3EC80F87.5080308@gmx.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
hello...
I'm getting really frustrated now... I have nearly no hair left...
after hours of trying I finally intalled mod_perl(1.3.27) and a new
apache(1.3.27) - I istalled/compiled mod_perl as DSO/apxs...
everything works fine, really - except loading the Pg module - not
DBD::Pg, but Pg (v. 2.0.2). if I do start a script like that (in the
mod_perl directory) then the harddrive starts workig like on steroids
and soon the browser just stops receiving data or stops waiting for the
server. I took a look at the syslog and found a few glorious lines
(about 20) - each request for that script kills on daemon.
May 19 00:36:07 TOXIC6 kernel: Out of Memory: Killed process 18677 (httpd).
-------------- code --------------
use Pg;
use strict;
print "content-type: text/html\n\n";
print "TEST!";
-------------- code --------------
...and thats all... the daemon gets killed because of "no memory"
the thing is that I can start the very same script in /cgi-bin and it'll
work flawlessly!
there have been discussions about a memory leak - but I don't know if it
has been fixed yet...
cheers - alex
From | Date | Subject | |
---|---|---|---|
Next Message | doug | 2003-05-19 01:36:09 | Case insensitive uniqueness on column? |
Previous Message | Matthew T. O'Connor | 2003-05-18 22:44:20 | Lists working? |