Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbj4b-00CtPR-92 for pgsql-general@arkaria.postgresql.org; Sat, 25 Jan 2025 16:31:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tbj4Z-003WTG-TX for pgsql-general@arkaria.postgresql.org; Sat, 25 Jan 2025 16:31:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbj4Y-003WSO-Kc for pgsql-general@lists.postgresql.org; Sat, 25 Jan 2025 16:31:51 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tbj4V-001Ssy-2n for pgsql-general@postgresql.org; Sat, 25 Jan 2025 16:31:49 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 1E7052540118; Sat, 25 Jan 2025 11:31:47 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sat, 25 Jan 2025 11:31:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1737822706; x=1737909106; bh=6Fl4CCQsLvWsZC1CBLdXTQ0z8gbYIJ92Txb6AK1Oasc=; b= kRQqxjCkET2xk/CzapflcHmQ6Kn50827BkjAjJVypekPOniNK0svQ+T+4wz3B5W8 LNG6RBz4mrhEUfFXCMSndtKXD2uHRxGyxN8ArEO6jpvGI8gYXD2+4IGjun+ViOwg TgoqvB9uiEr/QZha0IWDktpRUMiP45ccJdON61tfBg2NIT5An96bw7WP6vJCP8UX M9R89jY0Ug3QY2RdBvlF/vP2NTgH7td3rwl8CXrNZ+PgbQvhs2tGYVJD1VrLynJ2 HFsFCaItrjrLlEjxJvxozhKzFDpYXRFjBCkn4uiBAsJPaZSwwgCq/lo0y+aKmT5d VlruI+H0LuC+dLtsWI4Osw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1737822706; x=1737909106; bh=6 Fl4CCQsLvWsZC1CBLdXTQ0z8gbYIJ92Txb6AK1Oasc=; b=fOj0z/Q0VI0XnN+pm j0fyPye13NuAupcGwn66sgILo+lJVgw6sXCIGtiuv2YlqotfINe0E6NH6BChscYs O5pa0HPbDC/ec7wa8YV4aheIB5QXG1d90LNuCdozp847fL4bwYLcl9iDZgRv/H/i n7fjmRPQsg6PY0ECpeVyUUmL4jHfZcSE1iwjKx1ttdgiC73B3+ank+cDq0p4C24k f/kFUw92HLGdeHA5lrRyH49Jw94XBWaBz07HzZtlXKqRzpx1/U37Vw6DR6GS4SZb CcL/Rc7bhL9WLNitlnvzcjdyhvTLo0SZB4nDFByIZZ0dfIbNG/Uopu042GoQTotr 9tIFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejgedgjeekkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeejvedthefgudeiteef heejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegushholhhikhesmhgrihhlrd hruhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdr ohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Jan 2025 11:31:45 -0500 (EST) Message-ID: <523cb2c9-b38d-498e-b6a2-155eaaef0a1e@aklaver.com> Date: Sat, 25 Jan 2025 08:31:45 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FATAL: could not send data to WAL stream: lost synchronization with server: got message type "0", length 892351284 To: =?UTF-8?B?0JTQvNC40YLRgNC40Lk=?= , pgsql-general References: <1737817110.817816585@f378.i.mail.ru> Content-Language: en-US From: Adrian Klaver In-Reply-To: <1737817110.817816585@f378.i.mail.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/25/25 06:58, Дмитрий wrote: > Hello everyone! > > Please help me with the error: FATAL: could not send data to WAL stream: > lost synchronization with server: got message type "0", length 892351284. > Replication worked for more than a month and now there is such a > problem. Restarting PostgreSQL helps. > How can I fix this error? This is going to need more information: 1) What sort of replication? 2) Where are the two servers located relative to each other? 3) Has there been any software upgrades/network changes recently? > > Source: > PostgreSQL 15.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 > 20150623 (Red Hat 4.8.5-44), 64-bit > CentOS Linux release 7.8.2003 (Core) > Filesystem type ext4 > > Receiver: > PostgreSQL 15.10 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 > 20240719 (Red Hat 11.5.0-2), 64-bit > Red Hat Enterprise Linux release 9.5 (Plow) > Filesystem type xfs > > > Thank you. > -- Adrian Klaver adrian.klaver@aklaver.com