pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emils Klotins <emils@mail.usis.bkc.lv>
To: pgsql-sql@postgreSQL.org
Subject: Backend dies (6.5.3-1) on SELECT from 6 row table
Date: Fri, 26 Nov 1999 14:35:56 EET
Message-ID: <12273905952244@bkc.lv> (raw)

Hello!

Can you please tell me, 
what are the memory requirements for Postgres?

I have a Postgres 6.5.3-1 server , a db with approx 15 tables, 
no table has more than 10-15 fields, mostly text a couple of int.
I have currently no more than 20 rows in any table. Most have 
2-6 rows.Total db directory size is 4MB.

When I try to "SELECT * FROM most of the tables (except for 
ones which have 2 or less rows) , the backend dies:
> smmc=> select * from authors;
> pqReadData() -- backend closed the channel unexpectedly.
>         This probably means the backend terminated abnormally
>         before or while processing the request.
> We have lost the connection to the backend, so further processing
> is impossible.  Terminatin g.

If i try to select specific field (address_id or lastname, 
firstname from the same table - it works).

Postmaster remains and I can connect again immediately.

If I try this thru my webserver interface, I have to restart it else 
it can't reestablish link to db (I'm using Roxen Challenger 
1.3.121). 
However, the web interface error message at least shows that 
Postgres can't allocate memory.

Which is kind of strange. I installed 6.5.3-1 today (RPMs from 
postgresql.org), I am running Red Hat Linux 5.2 (kern 2.0.36) 
on Pentium II 266/ w/ 128MB RAM. Only other significant 
process running is the web server, which is running on other 
machines all right (together with postgres).

The db is a leftover from 6.4.2 I had this morning. I did a 
pg_dumpall -o > db.out and restored it to the new version.


Emils.




view thread (2+ messages)  latest in thread

Message-ID: <12273905952244@bkc.lv>
Permalink:  ../12273905952244@bkc.lv/
Also on:    postgresql.org/message-id/12273905952244@bkc.lv

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: emils@mail.usis.bkc.lv
  Subject: Re: Backend dies (6.5.3-1) on SELECT from 6 row table
  In-Reply-To: <12273905952244@bkc.lv>
  References: <12273905952244@bkc.lv>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox