Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cy8S2-000493-6i for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Apr 2017 02:56:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cy8S1-0002zP-Px for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Apr 2017 02:56:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cy8S1-0002yf-40 for pgsql-bugs@postgresql.org; Wed, 12 Apr 2017 02:56:09 +0000 Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cy8Ry-0005ur-Gr for pgsql-bugs@postgresql.org; Wed, 12 Apr 2017 02:56:08 +0000 Received: by mail-pg0-x233.google.com with SMTP id 21so7623107pgg.1 for ; Tue, 11 Apr 2017 19:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=j9mVIqI597fbsIgOydqsJzCTF9W7/F8lxl5OoiRbGdY=; b=C9kJaxf2B4c5v03G0P7XBQMECi0LBhKEOfLD5TLQLI6jS+w4iIWPO2gPJxu7FaKrLq 0gSI2nVVY+IH5IuM0VOzIlnZ0USU8giqrXld/PJIpWeIV4FiMF95xwWblO30m8cF9BKA O+zm6IkP2iUx3loGhkE3+L7z/hH0yDTHqmjXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=j9mVIqI597fbsIgOydqsJzCTF9W7/F8lxl5OoiRbGdY=; b=bsPQoVoP5E1H5iaudu0H++Iy8f+/YM+qYIUhtoLw8cZ/i3+EvxJ3LyQKTgx8O1cjRo 8sorD0cZOqUJGlEBscRZoqtP5UWEFsdtIscw+QmwJKxdjRZTVNZe4Q8OoqTu+LEgTJvS xUWHSQsTv5mFQuPT2+LbCGRjFj8a1Kvms7vEasmF+ufs6CdjhNIF8e784BFKh1CX0GE8 Ek9+gMa6SOm5DUx5o+QRc+JWZMRMr2YYBiuPGQge8gaktSNBGeV9Ga5oiHKe06cYukHX ouCFL/pZLR+5FPT6hIm75MFbvuoZEGI1jXV8pzwFxGSEikkRoVmrML1LWGdkeljL3KVU fjQw== X-Gm-Message-State: AFeK/H1xBGyYFa7mMriQMuCgBAckEBFEdemuGySXtEzVZYWYk/K+Fw4QMuIXbWK7ibYEIQ== X-Received: by 10.98.94.132 with SMTP id s126mr64686759pfb.133.1491965763781; Tue, 11 Apr 2017 19:56:03 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id a84sm1655507pfg.8.2017.04.11.19.56.01 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Apr 2017 19:56:02 -0700 (PDT) Date: Tue, 11 Apr 2017 22:56:00 -0400 From: Noah Misch To: Wayne Pichotta , Tom Lane Cc: "pgsql-bugs@postgresql.org" Subject: Re: postmaster became multithreaded Message-ID: <20170412025600.GA2891953@tornado.leadboat.com> References: <06A8E661-CDDF-4977-A173-A304CCF13464@truecar.com> <25424.1490733164@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25424.1490733164@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.0 (--) 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 On Tue, Mar 28, 2017 at 04:32:44PM -0400, Tom Lane wrote: > Wayne Pichotta writes: > > I just saw this in my logs: > > LOG: postmaster became multithreaded > > DETAIL: Please report this to . > > Just reporting the bare fact of that message isn't helpful. You can blame me for writing the message that way. Wayne, thanks for following the message's direction. > The known causes of that involve doing something thread-oriented > in an "unsafe" language such as pltclu, plperlu, or plpythonu, > or perhaps bare C --- and even then, you'd have had to go well out > of your way to make it happen in the postmaster process > instead of some child process. /* * On macOS, libintl replaces setlocale() with a version that calls * CFLocaleCopyCurrent() when its second argument is "" and every relevant * environment variable is unset or empty. CFLocaleCopyCurrent() makes * the process multithreaded. The reported message might be explained by starting the server with lc_messages='something' in postgresql.conf, then deleting that line from postgresql.conf and reloading the configuration. Wayne, does that sound like something you might have done? If not ... > However, you haven't told us what nondefault configuration you > might be using, or what platform this is on, or even what PG version > it is. So it's impossible to speculate further. ... please post the output of the "pg_config" command and describe anything unusual about your configuration. (We do know this is macOS.) > FWIW, that's only an informational log message emitted during a > postmaster shutdown that occurred for some other reason. Maybe > it's related to the reason, but again we have zero info. Preceding > lines in the log might have provided some knowledge. Agreed, a larger portion of log would help. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs