Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBlg6-00039T-JM for pgsql-general@arkaria.postgresql.org; Sun, 14 Oct 2018 19:03:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gBlg4-0004aG-GO for pgsql-general@arkaria.postgresql.org; Sun, 14 Oct 2018 19:03:48 +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.89) (envelope-from ) id 1gBlg4-0004a9-5T for pgsql-general@lists.postgresql.org; Sun, 14 Oct 2018 19:03:48 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBlg1-0008Ho-1V for pgsql-general@lists.postgresql.org; Sun, 14 Oct 2018 19:03:46 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id DFD091580834 for ; Sun, 14 Oct 2018 21:03:36 +0200 (CEST) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Slot issues To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer Message-ID: Date: Sun, 14 Oct 2018 21:03:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 14.10.2018 um 20:45 schrieb bhargav kamineni: > I am getting this ERROR while starting my second slave server > > PANIC:  too many replication slots active before shutdown > HINT:  Increase max_replication_slots and try again. > > max_replication_slots on my master is 2 and one of them is already > active for another slave, > do i need to increase this parameter for the need of working of > another slave ? if so whats the reason ? please check on the master how many slots are in use: select * from pg_replication_slots ; please also tell us the exact version you are using. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com