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 1qo4mM-0004s6-4Y for pgsql-www@arkaria.postgresql.org; Wed, 04 Oct 2023 16:31:18 +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 1qo4mK-0017gW-2K for pgsql-www@arkaria.postgresql.org; Wed, 04 Oct 2023 16:31:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qo4mJ-0017g7-QL for pgsql-www@lists.postgresql.org; Wed, 04 Oct 2023 16:31:16 +0000 Received: from mail-oo1-xc2e.google.com ([2607:f8b0:4864:20::c2e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qo4mD-0001Yo-Ow for pgsql-www@postgresql.org; Wed, 04 Oct 2023 16:31:16 +0000 Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-57bab4e9e1aso1437139eaf.3 for ; Wed, 04 Oct 2023 09:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander-net.20230601.gappssmtp.com; s=20230601; t=1696437067; x=1697041867; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1dkJz1hE6LIvLyGqbZkqkhMmtcsWtNBztmAKWLmf6Yc=; b=imdcqN/JD+RamIehshNqYXc8G0U6Cfrg9FDpiVmLovynB9ebavMtPJVzPuOGtyZYNC KxAjWVjufCtQuyeA/mLMVUsF2DwtFaAzCsfQTxSzEs9ip5keveWKrFJrEQpmJyqSw0od sEBA43zx0aOW8v9mtjYe3d9Y3J76H2FFkBMlrF58iUcUXRvT1uB+SeXjduDDkQDek1gX 8N0zOkEsyZvFNIuHFCIycXHL+DERWvwsOuy1pjwErzY/oCI3F5DTqYRhTdYp01tEIlvR yXzKtRyF2Dcf8qtjMPlSr6SW3MpoCY4zorIagwSawIVYyxaCKIMs86DbzxmBjxT1hOHO WIyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696437067; x=1697041867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1dkJz1hE6LIvLyGqbZkqkhMmtcsWtNBztmAKWLmf6Yc=; b=NbaAw0zDvOZZsm4Eqblkieu/5s1J5XklTvTKvshkcGDRNt435df4Y3gsrLpoV5pD/G QdUcWTkmEdCZuND5kPnuMP0dRcCbTGurx10ywkeiNhFF7gNLxXCERMREZf7e8Uo8DRRc U75biyriG1F/NIhE3oJcU1rI6NYC/RqAvoKlXwr9AlFe658gc3C9lZDAw972dWmCjyiC dFD8+1awvkbuvC9ZIsYvIZy1lfe2g8ewFQLzKU7qXk3piF2QJVc1CocBc6n51CU72tDR DVun/7z3Akmze9EnEvkYx9ik4ibE039lNSSHQ++UFzx55ti8Yp7oQ59rXKXKIiQtDbbR jBmw== X-Gm-Message-State: AOJu0YxYMJ4V17omU1iOh893wc41q2g0p5+lNUsZ6+PcMC5V9Q2vXEJf G5UTmrs936Qzj0gC4dBZ45YI7eyADwtpCj4O27FJW4eeinnDCVNn X-Google-Smtp-Source: AGHT+IFlSPB8s3GqsRJWXcEBme4sUjxx1CpgWzdVgsSb1vQTthVKIDoe0j9dXEE87v/TiMnW/P9BKkIUJQAgpeYXgPg= X-Received: by 2002:a05:6358:7e87:b0:13f:e3eb:53a6 with SMTP id o7-20020a0563587e8700b0013fe3eb53a6mr2449055rwn.30.1696437067653; Wed, 04 Oct 2023 09:31:07 -0700 (PDT) MIME-Version: 1.0 References: <1112882.1695942651@sss.pgh.pa.us> <2158268.1696279968@sss.pgh.pa.us> In-Reply-To: From: Magnus Hagander Date: Wed, 4 Oct 2023 12:30:52 -0400 Message-ID: Subject: Re: Mailing list subscription's mail delivery delays? To: Tom Lane Cc: "David G. Johnston" , Matthias van de Meent , pgsql-www@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Oct 3, 2023 at 2:31=E2=80=AFPM Magnus Hagander wrote: > > On Mon, Oct 2, 2023 at 4:52=E2=80=AFPM Tom Lane wrote= : > > > > Magnus Hagander writes: > > > On Fri, Sep 29, 2023 at 1:11=E2=80=AFAM Tom Lane = wrote: > > >> I have been seeing the same thing for a few days now, on my > > >> definitely-not-gmail personal server. Something's flaky in the > > >> PG mail infrastructure. It's gotten better since yesterday's > > >> outage, though I'm not convinced it's totally fixed. > > > > > There have been some pretty bad issues with gmail recently. Some > > > changes have been deployed that will hopefully help mitigate those an= d > > > make things better, but it takes time to recover. > > > > > The massive backlogs caused by gmail have been enough to spill over > > > and affect other destinations as well simply due to the load created > > > since we have such a huge number of gmail subscribers. But we're > > > slowly seeing the backlogs shrink now and the load come down so > > > hopefully the changes made will continue to have effect and let us be > > > back to normal soon. > > > > I'm still seeing multi-hour delivery delays on a subset of traffic, > > like maybe half a dozen instances today. > > > > Looking at the Received: timestamps shows pretty conclusively that > > the delays are within PG infra, for example this recent message from > > Heikki got hung up at two separate jumps: > > > > Return-Path: > > Received: from malur.postgresql.org (malur.postgresql.org [217.196.149.= 56]) > > by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTPS id 392HruLZ2135620 > > (version=3DTLSv1.3 cipher=3DTLS_AES_256_GCM_SHA384 bits=3D256 v= erify=3DNOT) > > for ; Mon, 2 Oct 2023 13:53:57 -0400 > > Received: from localhost ([127.0.0.1] helo=3Dmalur.postgresql.org) > > by malur.postgresql.org with esmtp (Exim 4.94.2) > > (envelope-from ) > > id 1qnN7D-00GbGd-FB > > for tgl@sss.pgh.pa.us; Mon, 02 Oct 2023 17:53:55 +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 1qnGcb-00AqOg-Ti > > for pgsql-hackers@lists.postgresql.org; Mon, 02 Oct 2023 10:57:= 53 +0000 > > Received: from meesny.iki.fi ([195.140.195.201]) > > by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA= _WITH_AES_256_GCM_SHA384 > > (Exim 4.94.2) > > (envelope-from ) > > id 1qnF5S-007kvc-AQ > > for pgsql-hackers@postgresql.org; Mon, 02 Oct 2023 09:19:35 +00= 00 > > Received: from [192.168.1.115] (dsl-hkibng22-54f8db-125.dhcp.inet.fi [8= 4.248.219.125]) > > (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits= ) > > key-exchange X25519 server-signature RSA-PSS (2048 bits)) > > (No client certificate requested) > > (Authenticated sender: hlinnaka) > > by meesny.iki.fi (Postfix) with ESMTPSA id 4Rzb4d51FBzydx; > > Mon, 2 Oct 2023 12:19:29 +0300 (EEST) > > Message-ID: > > Date: Mon, 2 Oct 2023 12:19:29 +0300 > > ... > > > > > > Also, my own message <2154347.1696278028@sss.pgh.pa.us> went > > out to -hackers about 25 minutes ago and hasn't come back, > > so based on other recent examples I'm betting I won't see it > > for hours. > > > > Plenty of other traffic *is* coming through in normal-ish time, > > so I'm not sure I buy that there's still a massive logjam. > > There is still definitely a problem, but it is slowly recovering. It > is *mostliy* hitting gmail at this point, but there can be spillover > to others in some cases (for example, there's a general throttling > when the load on the server gets too high). In this particular case, > it coincides timing-wise with our old friend the oom-killer nuking > postgres on the machine thereby stopping all incoming email for a > while before it got moving again. That particular problem should have > been taken care of completely by now, but the general backlog/queueing > problem is still ongoing but has been improving. We *think* this issue has now been mostly resolved. We are still seeing some extra delays in deliveries to gmail right now but that's due to *us* slowing down the deliveries to not trigger things. But we are now talking delays of minutes or tens of minutes, and not hours or tens of hours. Non-gmail recipients should now be back to being mostly unaffected. We're continuing to monitor the situation of course, and to make careful modifications to bring us back to the quicker deliverry times. --=20 Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/