Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKiOi-0003nk-In for pgsql-general@arkaria.postgresql.org; Mon, 30 Aug 2021 14:36:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mKiOg-0008Lr-Ut for pgsql-general@arkaria.postgresql.org; Mon, 30 Aug 2021 14:36:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKiOg-0008Li-Jc for pgsql-general@lists.postgresql.org; Mon, 30 Aug 2021 14:36:26 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKiOd-0000OL-Op for pgsql-general@postgresql.org; Mon, 30 Aug 2021 14:36:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:Cc:To:Sender:From:Date: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=n4MlUi3t5alKdvgvkSJI/76u0kH28ZG+V+DmBar2Jy4=; b=XVwnGecn5w7y30D87e7syLwTbX 0FIhT7IA4ZOkp667H921q505oWL0UuxybD+VA6/VthRMTspSjWo4JBWDQlveCq2YRIHbHNLgVLbmJ mnN0ZFZm/Bx9msaZnG4N9xpYY/G3+Avvp9I2ZrRimTUBOESu7tWHWD/GiIioO7s9gIGE=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mKiOb-0007eJ-Ap; Mon, 30 Aug 2021 16:36:21 +0200 Date: Mon, 30 Aug 2021 16:36:21 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Vijaykumar Jain Cc: pgsql-general mailing list Subject: Re: Pg stuck at 100% cpu, for multiple days Message-ID: <20210830143621.GA23857@depesz.com> Reply-To: depesz@depesz.com References: <20210830134510.GA14443@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Aug 30, 2021 at 07:57:26PM +0530, Vijaykumar Jain wrote: > related? i was kind of expecting debezium when i saw cdc and java, but > DBZ-1596 Fix open resources while initializing publication by Naros · Pull > Request #1120 · debezium/debezium (github.com) > > [DBZ-1596] AWS RDS Performance Insights screwed a little by non-closed > statement in "SELECT COUNT(1) FROM pg_publication" - Red Hat Issue Tracker > > I may be wrong, but just in case, FYI. I'll pass this information to people that use the tool that fetches data from DB, but is still makes me ask: why does Pg end up in such place, where it doesn't do any syscalls, doesn't accept pg_terminate_backend(), and is using 100% of cpu? Best regards, depesz