pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Torsten Luettgert <t.luettgert@pressestimmen.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: reindexdb dying with SIGPIPE on 8.2.5
Date: Wed, 06 Aug 2008 23:37:29 -0400
Message-ID: <20908.1218080249@sss.pgh.pa.us> (raw)
In-Reply-To: <1218035421.19154.24.camel@oberschatzi.cff>
References: <1218035421.19154.24.camel@oberschatzi.cff>

Torsten Luettgert <t.luettgert@pressestimmen.de> writes:
> Now, this works fine about 50% of the time, but on some machines, the
> reindexdb dies from a SIGPIPE signal. The logs look like this:

> Aug  3 04:08:10 prospero postgres[27101]: [1-1] NOTICE:  table
> "pg_class" was reindexed
> Aug  3 04:08:11 prospero postgres[27101]: [2-1] NOTICE:  table
> "sql_sizing" was reindexed
> Aug  3 04:08:11 prospero postgres[27101]: [3-1] LOG:  could not send
> data to client: Broken pipe
> Aug  3 04:08:11 prospero postgres[27101]: [4-1] NOTICE:  table
> "sql_sizing_profiles" was reindexed
> Aug  3 04:08:11 prospero postgres[27101]: [5-1] NOTICE:  table
> "sql_features" was reindexed

> So, it looks to me like the REINDEX command is completed, but the
> reindexdb tool dies.

Yeah, so it would seem.

> We did get a notice to increase max_fsm_pages at first though, so
> we increased it with good margin, but the SIGPIPE problem persists.

max_fsm_pages isn't going to have any impact on a client's behavior.

I'm wondering if the reindexdb is being run under a restrictive ulimit
setting, or something else that would prevent it from just sitting and
waiting.

Is there anything in the kernel log at the time of the failure report?

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <20908.1218080249@sss.pgh.pa.us>
Permalink:  ../20908.1218080249@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20908.1218080249@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, t.luettgert@pressestimmen.de
  Subject: Re: reindexdb dying with SIGPIPE on 8.2.5
  In-Reply-To: <20908.1218080249@sss.pgh.pa.us>

* 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