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 1sC0Q7-002aGM-SW for pgsql-general@arkaria.postgresql.org; Tue, 28 May 2024 17:15:33 +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 1sC0Q6-00AvgI-Et for pgsql-general@arkaria.postgresql.org; Tue, 28 May 2024 17:15:30 +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 1sC0Q5-00AvgA-WF for pgsql-general@lists.postgresql.org; Tue, 28 May 2024 17:15:30 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sC0Q3-001Cop-7C for pgsql-general@lists.postgresql.org; Tue, 28 May 2024 17:15:29 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-578972defb3so1340862a12.2 for ; Tue, 28 May 2024 10:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=peoplecall-com.20230601.gappssmtp.com; s=20230601; t=1716916526; x=1717521326; darn=lists.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=OHYDh8ZdbiXLb9/JGXr1uWKdqq1++r0O5Gnq6eAZiJA=; b=Wxpmnr9W2Dq+uPb2TLNkmT2T/rvGsRoglh74MNs3zYJmLrRS6NbDgulYR88jz0nQ1V unZJAKV3FmHl24NScmS0GKMRiYz0GYh4i6LJO16VcS44RfY4iGINxK0mCxAXje0Hg2cR 0nnWEymewwXBCD5vCuXvtejpxIgKgiPimTUg71UUs+pbyrfWc5gmkWxq5v/ZiCnqqAbw E7N4RU8YSe1WwAwZq92If1QlP7JgkZ0fzUwu+iG5SDpdK9JqN1BV65v6ZNVfp74OCMOm VNX1kSuEXNmQiearhmeNGjBv/3btI4D/KBLtl6AgKu/+51O0g9+Quv9+jfZ4ov6XsgKY 9YYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716916526; x=1717521326; 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=OHYDh8ZdbiXLb9/JGXr1uWKdqq1++r0O5Gnq6eAZiJA=; b=NRLiNs10hmdjKm/Jof9pzvIVsiZfWljvK1ZZD/jt2TN2DdPSqhqVkjTBeM4jGwquzf uFAVLOlFJ5cZW7y0taNBeIrYoYsGvjsTxiKwF36KartkF6Rp5s7HgOzjtH2fmurh9QcA H9Uq4+02RvE/HHnDKZI0KluuzWvuXAgLfszH0yPdfV5dnJeOkXEW8YlXbVZYNSrNR3pH JkBZgKY4aW/Mhx9mhX2IO+eWArsR92sdkJRbfBj/apINxhKn1GcuGNLM8M/zjxWuGUve S1hE/Z/lntV10ueKVc7VZhcCWGlGSl3j1hAnMJI7R850bNm921CitKEh+h5DffvqfYOZ kwVw== X-Gm-Message-State: AOJu0YwhcqruLxk8rtKQrlnnBZYR04q6FAbPt1hFyHfaufcosjCb0uY0 qn/LJBQjeEcCruYwYMbY30IR3kv9VEYSXJkCkz6zBzAGLo968vwobUn0d9P7XAkjyDeE7MYNM5t bMxB3Gewfs4LTCuBduGVGcDVqEP7ehy96pmDW X-Google-Smtp-Source: AGHT+IFBM+Ly3eIHnFi0XSH9bnN5VM8/XAEqbvTtn0qd9VDeZzJSdVz5gjXxkqjD4WbUE43VUl3Dm6th5bxy8bSFZuc= X-Received: by 2002:a50:8e17:0:b0:578:67db:7516 with SMTP id 4fb4d7f45d1cf-57867db77fcmr6266484a12.37.1716916525932; Tue, 28 May 2024 10:15:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Francisco Olarte Date: Tue, 28 May 2024 19:14:49 +0200 Message-ID: Subject: Re: Memory issues with PostgreSQL 15 To: =?UTF-8?Q?Christian_Schr=C3=B6der?= Cc: "pgsql-general@lists.postgresql.org" , Eric Wong 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 Hi Christian: On Tue, 28 May 2024 at 18:40, Christian Schr=C3=B6der wrote: > <2024-05-21 11:34:46 CEST - mailprocessor> ERROR: could not resize share= d memory segment "/PostgreSQL.2448337832" to 182656 bytes: No space left on= device This hints at some shm function getting an ENOSPC: Coupled with... > I thought this could all be related to our "shared_buffers" setting, so I= increased it to 8 GB. This almost immediately (after a few minutes) gave m= e these errors: A faster fail when increasing it I would start by checking your IPC shared memory limits are ok, especially if you upgraded something in the OS when going from 9 to 15, which seems likely. IIRC in linux you can read them in /proc/sys/kernel/shm*, and they were configured via sysctl. Francisco Olarte.