Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agi82-0000iY-Mm for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Mar 2016 00:18:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1agi82-0004kU-1N for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Mar 2016 00:18:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1agi81-0004kO-KY for pgsql-bugs@postgresql.org; Fri, 18 Mar 2016 00:18:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1agi7u-0000R2-2e for pgsql-bugs@postgresql.org; Fri, 18 Mar 2016 00:18:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2I0IlVR018318; Thu, 17 Mar 2016 20:18:47 -0400 From: Tom Lane To: Philip White cc: pgsql-bugs@postgresql.org Subject: Re: postmaster became multithreaded during startup In-reply-to: References: Comments: In-reply-to Philip White message dated "Wed, 16 Mar 2016 13:53:57 -0700" Date: Thu, 17 Mar 2016 20:18:47 -0400 Message-ID: <18317.1458260327@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Philip White 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