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 1lamSd-0007Qd-Np for pgsql-general@arkaria.postgresql.org; Sun, 25 Apr 2021 21:38:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lamSa-0006G4-TG for pgsql-general@arkaria.postgresql.org; Sun, 25 Apr 2021 21:38:36 +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 1lamSa-0006Fw-Kh for pgsql-general@lists.postgresql.org; Sun, 25 Apr 2021 21:38:36 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lamSY-0001nw-2e for pgsql-general@lists.postgresql.org; Sun, 25 Apr 2021 21:38:35 +0000 Received: from [188.174.61.177] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lamSU-0008Rp-S6; Sun, 25 Apr 2021 23:38:30 +0200 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 13PLcUqa003227 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 25 Apr 2021 23:38:30 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 13PLcTic003226; Sun, 25 Apr 2021 23:38:29 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Sun, 25 Apr 2021 23:38:29 +0200 From: Matthias Apitz To: Karsten Hilbert Cc: Tom Lane , Laurenz Albe , pgsql-general@lists.postgresql.org Subject: Re: client waits for end of update operation and server proc is idle Message-ID: Reply-To: Matthias Apitz References: <0551daad25ee518071e002ca17c4b6dac08a236c.camel@cybertec.at> <1935464.1619365905@sss.pgh.pa.us> <2002577.1619371285@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.177 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día domingo, abril 25, 2021 a las 08:05:21p. m. +0200, Karsten Hilbert escribió: > > > > The serverlog has around this time (sorry for German): > > > > > > > > 2021-04-23 05:55:23.591 CEST [2317] LOG: unvollständige Message vom Client > > "incomplete message from client" > > > > > 2021-04-23 05:55:23.593 CEST [2317] FEHLER: Speicher aufgebraucht > > "memory exhausted" > > > > > 2021-04-23 05:55:23.593 CEST [2317] DETAIL: Kann Zeichenkettenpuffer mit 0 Bytes nicht um 1380986158 Bytes vergrößern. > > "cannot extend 0-byte string buffer by 1380986158 bytes" > > > > > 2021-04-23 05:55:23.593 CEST [2317] LOG: konnte Daten nicht an den Client senden: Datenübergabe unterbrochen (broken pipe) > These messages at 05:55:xx are caused by our automatic deployment of the software every day which starts at 05:55:00 by cron and short after installing all software all servers (the PostgreSQL clients) get stopped (i.e. killed) and restarted. The hung appears a few minutes later at 05:57:xx. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub