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 1pvjKo-0006WZ-Pn for pgsql-general@arkaria.postgresql.org; Sun, 07 May 2023 18:42:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pvjKm-00049r-QZ for pgsql-general@arkaria.postgresql.org; Sun, 07 May 2023 18:42:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvjKm-00049g-DR for pgsql-general@lists.postgresql.org; Sun, 07 May 2023 18:42:12 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pvjKd-001BCp-5x for pgsql-general@lists.postgresql.org; Sun, 07 May 2023 18:42:11 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9659e9bbff5so675945066b.1 for ; Sun, 07 May 2023 11:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20221208.gappssmtp.com; s=20221208; t=1683484922; x=1686076922; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=c/AEuFR2QfpT2fRbA0A8Y1bE9lM0F7PjV+rkiaGeXRU=; b=2g+rewsUfy+/mUGKabpFANeprtBiQ57CLUU+HhrjaITrVp3oK5Huo0Zj+7m6UOEKCl 7SXnsh+l+S/XERWd9lpLJP1qgDAckM2F7jIYk1+V5z6rkuiFso5y3/G4iyNavUPfKAgn rm6e8b02F2P50IkMYSmMiTWr+xfuu937fxivJQQme5ACD6D+zPQiGJOoaAf7JYX/9uR5 vRAV27nT+86BdfxhJqfTuhoURjAU8miNzQnMRRS89dcfK8SHZEDTrrRfPqOBlrNzex+j 0ctSJjY5KQGoJrP1LmCMSWPhpWtWfQhNmNHExes5uTrlR+jlRykwU+BSzeSLgxxVg5Sa w+kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683484922; x=1686076922; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=c/AEuFR2QfpT2fRbA0A8Y1bE9lM0F7PjV+rkiaGeXRU=; b=RRgdJXTD4zbJumOekz/9QanKQjyqgpdvej0ycXpRyOHVN9wgtECHtt+paabEGcTVBZ bHw1tkUEydT6CgeaMJ3Y23oj2VYYvnM3Ur/j1ygruOlGBo6D/l8JO3hJF6UEVGaS5lek 2BRfVUbSx3a7A45vk3H+sTV2f+hhpL7ZMRGsCZFd6SOEKNCofhsOQykvWbj4eDMNyvbD V2g/rIfAi766m9kq5hGSXgqWaaPubFR2Cj491AAl9HH3Q8DfGjmoQ7EU08n5LhsYcdJV Wi+xmEg0gI0yTEM/Viv7hBcnjUe0ezE1w5XWj+zUodg0LKI2JeHLZt5YYZLTWQe9BsBV 1jXQ== X-Gm-Message-State: AC+VfDx+ySU8Uh/6BIxnehs9lzF4Ekrni6tLpF0vtLBT6KeI0lDWWCEl UC1O+82xVV4p3dIOUDILEPDosDEhUHKNUSAwnlw= X-Google-Smtp-Source: ACHHUZ4VaW0R+XtMZg7dMwPfyN3EN4zEn9xj9nws/UeKrBD//b1ujlpJxNllPOsX6LZ8xAkP+xBuaA== X-Received: by 2002:a17:907:8a14:b0:8ae:11ca:81de with SMTP id sc20-20020a1709078a1400b008ae11ca81demr5984638ejc.34.1683484922059; Sun, 07 May 2023 11:42:02 -0700 (PDT) Received: from localhost.localdomain (178-190-175-138.adsl.highway.telekom.at. [178.190.175.138]) by smtp.gmail.com with ESMTPSA id d2-20020a170907272200b0096650474479sm908803ejl.165.2023.05.07.11.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 11:42:01 -0700 (PDT) Message-ID: <9061fac25866f02c539ae389ace7617d9cfdca74.camel@cybertec.at> Subject: Re: Death postgres From: Laurenz Albe To: Marc Millas , "pgsql-general@lists.postgresql.org" Date: Sun, 07 May 2023 20:42:00 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, 2023-05-06 at 03:14 +0200, Marc Millas wrote: > postgres 14.2 on Linux redhat >=20 > temp_file_limit set around 210 GB. >=20 > a select request with 2 left join have crashed the server (oom killer) af= ter the postgres > disk occupation did grow from 15TB to 16 TB. >=20 > What are the cases where postgres may grow without caring about temp_file= _limit ? That's too little information for a decent answer. One obvious answer is: if it is not writing temporary files. Yours, Laurenz Albe