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 1qm9mf-005r7b-RJ for pgsql-admin@arkaria.postgresql.org; Fri, 29 Sep 2023 09:27:41 +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 1qm9me-003M7C-Eg for pgsql-admin@arkaria.postgresql.org; Fri, 29 Sep 2023 09:27:40 +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 1qm9md-003M6t-UN for pgsql-admin@lists.postgresql.org; Fri, 29 Sep 2023 09:27:40 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qm9mb-008Feg-3q for pgsql-admin@lists.postgresql.org; Fri, 29 Sep 2023 09:27:39 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-31fa15f4cc6so13151426f8f.2 for ; Fri, 29 Sep 2023 02:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1695979654; x=1696584454; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=htCpRTpkN8nKWoPo/TC9+0bvGHMlPMY4Y0ZRxI6+N+Q=; b=dDlqc1/lWd0bJnQwnKdWSgvzoYcQSHrOdWdug0jykRCynEUo6KQJi7d0Gd5Z8ZCi1Q k0WVjn6kkgkTxPdT2v46SmNVNNjndKf9l4jNev0eG6JYEjUIym4PgP5/Sjo69nvqZbwB 64Y+jlHJW64xBCbP1GphPuhCzQKJ/ADgOKK45bDHWsyDdn8NW77//9X3Pp3RHa3vJ+NY 4uvFoCVWW1iJtHZMj20TeJgYGihhqIeyv38RcHlpGTpcKUbxubaV4xXLWneE1xztnUHc 3M1gJ11CE6vb2cHDf4f7bEgZymMO4AX85n2e1y/dQ1h5cMAqA5J8Qd/zw4WxRfBNuSNd 7tzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979654; x=1696584454; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=htCpRTpkN8nKWoPo/TC9+0bvGHMlPMY4Y0ZRxI6+N+Q=; b=Ji/NaMBUBi/oYdTk3+5Y88kPKhcw2S52vZwCQdMOxEnlgwHSF/RDrHNvgOIpTm7F/U m9Nw3TFr8ewD9AeYb1Qia6XZUrefYFRQGOqr6DLofsSxBI8sBffWViBcLU6hR6BrUVKa r+D5KPczAImJz47QtZ6h5Id+eUJQ/D+CLazhGNZOHjXKAd0PIJwO+Xjafl9djuZkkJCL t0F1epMP53QFmEaObBAIGZiYsozySHb50GMNMwdqx6BEYmNHLVvWz2gvG6QftiNvUgGx amw76L8tY7tooc4Dj73EfDJ8iotAyHZ5ZKlawCoSseqydTsdiSiESGF3DLavZICoXveg JYSw== X-Gm-Message-State: AOJu0YzHVg4/pHCgTw9I/39aDaOJ/LDNUGi8rjhzsGoUilSHOA82684c QJNsIRQ4b1ucsGLS0qHzB1Cqzw== X-Google-Smtp-Source: AGHT+IH3ryqQzSNmA1jxKdDiFJdPiTQUehMK4ZYRHbk5vUm/fah+tZ/JYbWjTsym84b9E6cslmIBEQ== X-Received: by 2002:a5d:46cc:0:b0:315:8a13:ef17 with SMTP id g12-20020a5d46cc000000b003158a13ef17mr2912159wrs.65.1695979654491; Fri, 29 Sep 2023 02:27:34 -0700 (PDT) Received: from localhost.localdomain (62-46-249-24.adsl.highway.telekom.at. [62.46.249.24]) by smtp.gmail.com with ESMTPSA id z4-20020a5d6404000000b003176aa612b1sm8416102wru.38.2023.09.29.02.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:27:34 -0700 (PDT) Message-ID: <428f8ffe02b21f97f48887a2c6c97dd893cdbd8f.camel@cybertec.at> Subject: Re: Terminating connection because of crash of another server process From: Laurenz Albe To: Deo Felix , Deepak Goel Cc: Scott Ribe , Pgsql-admin Date: Fri, 29 Sep 2023 11:27:33 +0200 In-Reply-To: References: <78b8abef6c84c173aa1a5498cb3907db79d8593a.camel@cybertec.at> <3DEB744B-A312-427A-8644-7B16BD60419A@elevated-dev.com> <09FDA966-9E9D-4F52-8B4D-0A9C2283DA3A@elevated-dev.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2023-09-29 at 11:21 +0300, Deo Felix wrote: > Please find the screenshot of =C2=A0error from the log file=C2=A0=C2=A0po= stgresqlerror.png It is really amazing how much effort you make *not* to share any relevant information with us. But there is finally some interesting message hidden in your image: server process (PID 14257) was terminated by signal 9: Killed Since I don't expect that random users on your server machine go around "kill -9"-ing PostgreSQL processes, it is very likely that PostgreSQL is crashed by the Linux out-of-memory killer. You should disable memory overcommit, see https://www.postgresql.org/docs/current/kernel-resources.html#LINUX-MEMORY-= OVERCOMMIT Then you will start getting "out of memory" errors instead of crashes. To combat these, reduce the memory usage parameters, mostly "work_mem", or reduce the number of active database sessions by using a connection pool. Yours, Laurenz Albe