Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7ipE-0000H1-Be for pgsql-admin@arkaria.postgresql.org; Fri, 18 Nov 2016 13:03:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c7ipD-0005dA-Ur for pgsql-admin@arkaria.postgresql.org; Fri, 18 Nov 2016 13:03:27 +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 1c7inW-00017x-1M for pgsql-admin@postgresql.org; Fri, 18 Nov 2016 13:01:42 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1c7inT-00031J-K1 for pgsql-admin@postgresql.org; Fri, 18 Nov 2016 13:01:40 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c7inN-0005wA-Op for pgsql-admin@postgresql.org; Fri, 18 Nov 2016 14:01:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Re: Why are a lot of ROLLBACK queries in idle state Date: Fri, 18 Nov 2016 14:01:31 +0100 Lines: 9 Message-ID: References: <1479462927604-5930917.post@n3.nabble.com> <1479470163236-5930934.post@n3.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <1479470163236-5930934.post@n3.nabble.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org rajan schrieb am 18.11.2016 um 12:56: > If the _session_ is idle then shouldn't it be removed from pg_stat_activity? The session is only removed from pg_stat_activity when it's closed, i.e. when the client disconnects. Being "idle" and disconnecting are two completely different things -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin