pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Philip White <philip@mailworks.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: postmaster became multithreaded during startup
Date: Thu, 17 Mar 2016 20:18:47 -0400
Message-ID: <18317.1458260327@sss.pgh.pa.us> (raw)
In-Reply-To: <BED07F42-EE07-4718-8F71-34F33376176B@mailworks.org>
References: <BED07F42-EE07-4718-8F71-34F33376176B@mailworks.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Philip White <philip@mailworks.org> writes:
> I am experiencing a startup failure on OS X 10.11.3, with PostgreSQL 9.5.1 that I installed using Homebrew.
> ...
> FATAL:  postmaster became multithreaded during startup
> HINT:  Set the LC_ALL environment variable to a valid locale.

Hm.  The HINT is reflecting the one known cause of this problem,
but perhaps you've stumbled across a new one :-(.

The other theory that comes to mind is that maybe Homebrew's build
of Postgres has modified things in a way that breaks for you.

Neither thought leads to any quick fixes.  The best idea I can
suggest is to strace the postmaster and try to identify where
it's cloning an additional thread.  OS X doesn't have strace
that I know of, but googling suggests you can get similar
results with dtruss.  If you run with -d 5 as you did here,
the debug printouts (which should be captured by dtruss too)
will provide landmarks to help identify where it goes wrong.

Please post back with the dtruss log (and pg_config output
might be helpful too) and we'll see if we can make sense of it.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <18317.1458260327@sss.pgh.pa.us>
Permalink:  ../18317.1458260327@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18317.1458260327@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 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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, philip@mailworks.org
  Subject: Re: postmaster became multithreaded during startup
  In-Reply-To: <18317.1458260327@sss.pgh.pa.us>
  References: <BED07F42-EE07-4718-8F71-34F33376176B@mailworks.org> <18317.1458260327@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