Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 78CC164FD0B for ; Sun, 10 Aug 2008 11:15:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 25198-07 for ; Sun, 10 Aug 2008 11:15:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.cbxnet.de (mail.cbxnet.de [212.87.33.25]) by postgresql.org (Postfix) with ESMTP id 756B164FD03 for ; Sun, 10 Aug 2008 11:15:52 -0300 (ADT) Received: from combox.de ([212.87.33.8] helo=welt.combox.de) by mail2.cbxnet.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KSBhz-000420-P5 for pgsql-admin@postgresql.org; Sun, 10 Aug 2008 16:15:47 +0200 Received: from [192.168.88.1] by welt.combox.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KSBhz-00054p-Ur for pgsql-admin@postgresql.org; Sun, 10 Aug 2008 16:15:48 +0200 Subject: Re: reindexdb dying with SIGPIPE on 8.2.5 From: Torsten Luettgert To: pgsql-admin@postgresql.org In-Reply-To: <20908.1218080249@sss.pgh.pa.us> References: <1218035421.19154.24.camel@oberschatzi.cff> <20908.1218080249@sss.pgh.pa.us> Content-Type: text/plain Date: Sun, 10 Aug 2008 16:15:50 +0200 Message-Id: <1218377750.3421.7.camel@murdegern.cbxnet.de> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/40 X-Sequence-Number: 29885 On Wed, 2008-08-06 at 23:37 -0400, Tom Lane wrote: > 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. I checked... there's no limits defined in /etc/security/limits.conf. There's more weirdness here: on the same machine, one day, everything runs through fine. Another day, one or two DBs are reindexed and vacuumed properly, then all successive tries fail with the mentioned SIGPIPE error. I'll have STDOUT and STDERR redirected to a file before the call of reindexdb now. Perhaps there's something in the console output that helps. > Is there anything in the kernel log at the time of the failure report? Don't see anything except postgresql messages at that time in /var/log/messages, and nothing at all in /var/log/secure. Regards, Torsten