From: | Buddy Lee Haystack <haystack(at)email(dot)rentzone(dot)org> |
---|---|
To: | "Robert D(dot) Nelson" <RDNELSON(at)co(dot)centre(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general <pgsql-general(at)postgresql(dot)org>, Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Subject: | Re: pqReadData() -- backend closed the channel unexp |
Date: | 2000-09-20 16:51:30 |
Message-ID: | 39C8EB12.FB8A3487@email.rentzone.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Houston, we've got a problem with SMP boxes...
I commented out the first simple query that counted records in the database at script startup, and the problems disappeared. I "THINK" the threading was closing the statement handle before the results of the query were returned to the mod_perl scripts on the SMP box.
The SMP box was a bit too fast! I'd like to reiterate that I have the same, IDENTICAL software on 2 systems [every single software package & patch]. No problems on the 4.5 year old single processor Intel box I use for development. For now, I'll run the scaled down version on the production box, but this issue should be addressed. I can't be the only person with this issue.
Thanks!
> my($sql11,$sth11);
>
> if (! defined $sth11) {
> $sql11 = 'select count(1) from rzlist where rzactive =1';
>
> $sth11 = $dbh->prepare($sql11)
> or die "Couldn't prepare statement: " . $dbh->errstr;
> }
>
> $sth11->execute()
> or die "Couldn't execute statement: " . $sth11->errstr;
>
> my $HOWMANY = $sth11->fetchrow_array();
>
> $sth11->finish;
"Robert D. Nelson" wrote:
>
> >Core was generated by `/usr/bin/postgres localhos'.
>
> >and trying to run any mod_perl script connecting to a databse I'm greated
> >with a connect
> >DB error that questions if postmaster is running on port.... It is...
>
> Uh, the first line stood out as an answer to the second section. Either you
> didn't quote the gdb output properly, or somewhere you're trying to connect
> to localhos, not localhost.
>
> Rob Nelson
> rdnelson(at)co(dot)centre(dot)pa(dot)us
--
BLH
www.RentZone.org
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-09-20 16:56:23 | Re: rule with multiple DELETE action part |
Previous Message | Tom Lane | 2000-09-20 16:48:15 | Re: pqReadData() -- backend closed the channel unexpectedly |