Re: psql crashing - don't know why - Mailing list pgsql-general

From Scott Marlowe
Subject Re: psql crashing - don't know why
Date
Msg-id dcc563d10908091610s3d380b0etad80d5f4a5a499c@mail.gmail.com
Whole thread Raw
In response to psql crashing - don't know why  ("Brent Wood" <b.wood@niwa.co.nz>)
Responses Re: psql crashing - don't know why  (Shoaib Mir <shoaibmir@gmail.com>)
List pgsql-general
On Sun, Aug 9, 2009 at 5:04 PM, Brent Wood<b.wood@niwa.co.nz> wrote:
> Hi...
>
> I have a view across 3 tables, total some 5m rows.
>
> I can extract parts of the view, entire rows, with a where clause
> (eg: select * from view where cell_id=100000;)
>
> If I try to select the entire view (eg: select * from view;) it runs for a while then gives the error msg "Killed"
andreturns to the system prompt, having exited psql. 
>
> The log says:
> 2009-08-10 00:19:01 NZST ben200601 woodb LOG:  could not send data to client: Broken pipe
> 2009-08-10 00:19:48 NZST ben200601 woodb LOG:  unexpected EOF on client connection
>

Most likely you're getting bitten by the OOM killer in linux.

pgsql-general by date:

Previous
From: "Brent Wood"
Date:
Subject: psql crashing - don't know why
Next
From: John R Pierce
Date:
Subject: Re: Postgres memory question