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.96) (envelope-from ) id 1wBe2X-001FSs-0F for pgsql-admin@arkaria.postgresql.org; Sat, 11 Apr 2026 19:30:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wBe2V-000ASl-1N for pgsql-admin@arkaria.postgresql.org; Sat, 11 Apr 2026 19:30:44 +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.96) (envelope-from ) id 1wBe2V-000ASc-0K for pgsql-admin@lists.postgresql.org; Sat, 11 Apr 2026 19:30:44 +0000 Received: from mail-yx1-xb12f.google.com ([2607:f8b0:4864:20::b12f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wBe2U-00000000Yly-028l for pgsql-admin@lists.postgresql.org; Sat, 11 Apr 2026 19:30:43 +0000 Received: by mail-yx1-xb12f.google.com with SMTP id 956f58d0204a3-650221149e2so3103393d50.0 for ; Sat, 11 Apr 2026 12:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775935840; cv=none; d=google.com; s=arc-20240605; b=jkb6uY1MLe5u0mgZ2eq5v8nj2scG9S5X5I4kTyYzIklUsw0EqZVkwGMCeDYMu/fK1v FXTey07zhS7lubRxmKpDjhO7uutn6lfOZe4eAJRfYe6kHEqwylYxZmHnsoEdGm9rAuQ+ yZdJuEEMBZTa07v2H7ORq6yu+lZkdd1NUQfMnjGcPCFUlTxV1kOKIB0bLrUWshykJxVp FpFHCN1S/vywGjqe8fbLemhBvl8iYsiKiGvPoDl7M4sRvgm20d7+aJQQmBYWt+Bp3kgi yJcEbBeqb3OvZUwxTrvLNHCmj9+KttRSH3Z/aSC1z3bmIE+wFs+Abv99/mDXO8Nns7+L jBFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=6qAeIbKLUVe0eQth+9BeJkHRPF593eqO7CGUO05SFgY=; fh=wdXGVzlufEJVTc6wMaMv0VsO7oswMxTqQBT0LXOkQhg=; b=UB9svkap2W5Bu4hTuNMCiPE0D3Ncqm1KzYH2O++k/tWNgGEKoba2YMX/r2GkXzmzHr U6aKaO/HmygIMLHT7eWIlbqlh9YOOfCECsd2NwyAAG/0JTtnMt7ISMEUy2CGk23bs/tA YAuapCZBAb5jzuYLKdxad7hBmmEUTIuiN6w3Ks9PxTgDW0tNHNJ+kkRACjop5YYZjZMC QBDbrNmGG2ZRecWw6vI4pzkpwbfG0Oy8BXQ/1obK8uKNIDToFe4E/1b6Z2JgjVqSXSzs vBMDll/OZjcMnd8lue7aFtshFV2iI3QmzluixpKJ+XeLzdLjSaMGpM3LkutVog78S7+n TYIg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775935840; x=1776540640; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6qAeIbKLUVe0eQth+9BeJkHRPF593eqO7CGUO05SFgY=; b=T6wRS972HHRAovlBsJSjm/2u0DLQsEOOei8L/+BBHJhh1iGBFMJ+CSEFxdMa8UFMf/ N+wreMCsJD4B+ble5KovhazsdebhJlPHo19cftsqGwbfwwcNu6EozP30Xhth2LjdQhYO qxf+LfIhPpFJmJcAsYuP2W+Nh5Ij3NJYONMrClRHt8B0F9j1HTkuumgb8ZprYrWl9xw2 mWmppvt7fFXHKin/UmHBTYdyeTVgihH3NHyQBzyWAegrOzpYbqaVklVdNrZxBLPbRNgF DCngIjbIonsixwhAPLu2gI4mDUx/17X0ECUgQPFj+BYWNuFr0jPQSXErxsf9ZcOAfBus jfxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775935840; x=1776540640; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6qAeIbKLUVe0eQth+9BeJkHRPF593eqO7CGUO05SFgY=; b=LqdrXFvHuXcbjq9WpbnU9a/Z7F2Axfa/QQ9RW3Ma8oEThnhnYDYcBHI1hctPVqzfjh b7FDwRdHYhNwYFYuf6+yxUK+XBsLA5fv2sikRh1V4Crpj/uu0k2yYTSWIRQYwn3NJUVQ TUJA4xNfNWBWha5koBku9N65z4mjnQCZ5F1eZcpZHcjQYSwI+A8+7RyJOhFLr11T9a5k eelr2ZHIe9fdGFS7wfqA2Nq2bNt5T49R1APC6mtFuTltfFCHU6eEUs8Dw6hNpSj+IY// B8FLSQcm3ahWa648F3r6JbyfRyhfPElcCmQGgadWSw0h74wt4ILsAPKE3uzu1K3ag6Uw r8ew== X-Gm-Message-State: AOJu0YzaVbdl2bQJidkKDMW674J3LmM+dvofKTs591/dFFepCIsv4R4f vMeeufGQjLYBCxZgcSoVcxQqtUgKfErCP2Y1IUclfgz7FdIgqSJT272474bZh/UI8nsUdifFs7x 1q9Lj21WllGSRmL27i01ndl0SqSYYNs0= X-Gm-Gg: AeBDievK2U9WV+CaTqGUcq3eyRScX6iolVTPXmMoNgJ75ZcuMGVedLfxJUoB26XVmjk P6pm8UyA8FXQqS9kfGO1M56aDfWRVhimUHyya0nIc9i87g9v1xSIMlVB2fDY0o3edemm8bLZZlw qYQ8DRARH6mYIbXRtjwMADWEbaBAr2D2jpWRDP7Y30SVd3Bl29QnZEiAanWZEWThuFDpaHPhulM oioE5wW9U/bK2eQZVtMZOI4AEWKmQdGuZ6W88BEa8EqWPuzZFglZR/pPOMTQw7+73Vl5oZE3UcK X46aNeA= X-Received: by 2002:a05:690e:e8c:b0:650:2ff9:d660 with SMTP id 956f58d0204a3-65198a7767amr7790672d50.1.1775935840181; Sat, 11 Apr 2026 12:30:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "David G. Johnston" Date: Sat, 11 Apr 2026 12:30:02 -0700 X-Gm-Features: AQROBzAN3CmWEmCvoyvUlZzXvdU2C_rJ5tUqyXvmlZ8xb0TtdoAe1NB5Ogi60VE Message-ID: Subject: Re: Pgbouncer error To: Raj Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000e5dfa1064f3448f8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000e5dfa1064f3448f8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Apr 11, 2026 at 12:16=E2=80=AFPM Raj = wrote: > I see error in pgbouncer saying 'server conn crashed'. Could it be > possible that because I set idle_session_timeout to 30min. > Seems like a reasonable scenario. > Also application team getting an error, duplicate values violate > constraint's. Is this error possible because of pgbouncer lag ? Or > sequences or pure application side issue? > This requires actually debugging your system, not generalities. But 'pgbouncer lag' doesn't really seem like a thing. Concurrency timing issues are a thing to be aware of though. David J. --000000000000e5dfa1064f3448f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Apr 11, 2026 at 12:16=E2=80=AFPM Raj <rajeshkumar.dba09@gmail.com>= wrote:
=
I see e= rror in pgbouncer saying 'server conn crashed'. Could it be possibl= e that because I set idle_session_timeout to 30min.=C2=A0

Seems like a reasonable scenario.


Also application team getting an error, = duplicate values violate constraint's. Is this error possible because o= f pgbouncer lag ? Or sequences or pure application side issue?
<= /blockquote>

This requires actually debugging your system,= not generalities.=C2=A0 But 'pgbouncer lag' doesn't really see= m like a thing.=C2=A0 Concurrency timing issues are a thing to be aware of = though.

David J.

--000000000000e5dfa1064f3448f8--