Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjq1M-0000NU-CE for pgsql-bugs@arkaria.postgresql.org; Tue, 13 Sep 2016 15:53:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bjq1L-0002dj-VE for pgsql-bugs@arkaria.postgresql.org; Tue, 13 Sep 2016 15:53:16 +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 1bjq0i-0001w2-LO for pgsql-bugs@postgresql.org; Tue, 13 Sep 2016 15:52:36 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bjq0e-0006Et-NT for pgsql-bugs@postgresql.org; Tue, 13 Sep 2016 15:52:35 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E965D209B6; Tue, 13 Sep 2016 11:52:31 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 13 Sep 2016 11:52:31 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=4mAAqRZXfWjRhla rxmWxvNe+Jlk=; b=KMAPR86sqQbMPmZyvRdJe+xnw/opcGC3NvldqWfhWEJ/vop HqHBqJoSdA5vU9IjOlvltny1EYxjaTLA7UnfuD1O+7a9uJ1IEdrN4g3AGDS+2XpD o1XFmShMkYVc4lPL3Sd1UUyFrTWSFndS6d9Za8U7mZ2/YPLiz0m4RH35Q1mU= X-Sasl-enc: D7GZdV4KFZ1RRyJRJG2lvLm9zzZ7qCSp930x7/LRvJZI 1473781951 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 9B7DECCE9A; Tue, 13 Sep 2016 11:52:31 -0400 (EDT) Subject: Re: BUG #14320: systemd terminates postgresql hot standby instance 90 seconds after start To: andreas.papst@univie.ac.at, pgsql-bugs@postgresql.org References: <20160909105014.20024.66435@wrigleys.postgresql.org> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <535998f9-2ca3-db8d-8747-f4b89b0b125e@2ndquadrant.com> Date: Tue, 13 Sep 2016 11:52:31 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160909105014.20024.66435@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 9/9/16 6:50 AM, andreas.papst@univie.ac.at wrote: > when starting a hot standby database insstance with > `systemctl start postgresql', > anything works perfect: WAL files are beeing applied, r/o connections are > able to query the database, but after 90 seconds (systemd > DefaultTimeoutStartSec) postgresql is beeing shut down: This is all quite plausible, but it depends on how your systemd service for postgresql is configured. So please post that if you want us to analyze it. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs