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 1sbCz2-00Eq9U-2z for pgsql-admin@arkaria.postgresql.org; Tue, 06 Aug 2024 05:43:44 +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 1sbCz0-004O5T-JS for pgsql-admin@arkaria.postgresql.org; Tue, 06 Aug 2024 05:43:42 +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 1sbCyh-004Jaq-Rg for pgsql-admin@lists.postgresql.org; Tue, 06 Aug 2024 05:43:24 +0000 Received: from mail-oa1-x36.google.com ([2001:4860:4864:20::36]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sbCye-003PYE-7K for pgsql-admin@lists.postgresql.org; Tue, 06 Aug 2024 05:43:23 +0000 Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-267b7ef154aso197086fac.0 for ; Mon, 05 Aug 2024 22:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitnine-net.20230601.gappssmtp.com; s=20230601; t=1722922998; x=1723527798; 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=l/U1CVVys/T089PkCmJj+Iz/OhV5uYdxdiQ9PzGHgDQ=; b=0Lf3QBon/BWuZCygn33rtq8kOHRLl4vRe4IHGkyWxAcyry4SI2xAZFtxUCAzugMWLH MKRM8idy19teiMYdEo27Wwpw7gRevaToO/cVABbAJlEMypw0XxemrCx+QrBFJt0wnzvU zoLX07+HaSe0nHgUPdk3gBefgmWZWlgPBgLe+hqnhrZf/G+GpALuVlnf+XPuyh7zO6eJ A8ayGVvS6NDxwqhzh4oB58A68+Ab+1kSnaAa2gasHAiExIvxW+b08yMSxyfMZRoo06SR 8/T4nuL6GPMvMdB/3qN/sl2GqR8E0VmZf3Fpm0n9ybcokmSMdA+frA9NBc+Ke8ysNN/l Tnvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722922998; x=1723527798; h=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=l/U1CVVys/T089PkCmJj+Iz/OhV5uYdxdiQ9PzGHgDQ=; b=F9T8E6GnlDdAjCNvw/Y7MgiW0H+2iWwKBzg3Oc4KumzVNYEek+mSc16b3o7zwwtK/x tZOODndH1tc3ayZPUdeTCW3h1NcA6mzJSeQ0apEN9+JNcb3nqC+MoFF5gsUAwvy5V/7u Nl1i21FE547m0G1mri7BehEUhnHBfXlLHFd963WD5uu1q4N7QYmUsl9GkMtvqdb+JSd3 OWAFeyf9WzI4Jwx1Hk3j+0PQbpUJ1NVM2hUFrbk+QAE+L/Xs6IrXAOfsIQ86RPYO/pER FG9RT58XmblLPb442sxtcANVFVNdISPM995CiEfLM20OFdQ0SbY1AdHCNFPuheKrcu90 XtXw== X-Gm-Message-State: AOJu0YwaPcBz+fCPhI+SDZhHGAwhYDGpdMj0Je8rkj8DqK+Mc6buLOI1 3zPHFyDuzOx5t4Kh7RPMDf3+t7reHo7QTkPbI/o3w8f8jxYppPyNO9voVuW6/zE6blPNDRqTHUL 434TX239VPcs9jOtyMM3Pe7TDcpCR2OZT9ho6t/n/9cDVAFErkeg= X-Google-Smtp-Source: AGHT+IFmJ3WRLth084y6CwiH6IbZmRfBqFpayz2LGAWYg0SuXaB2XhYOAc3Sqr8PWvUkFS+dPfem20wJr2HFtYr4qSk= X-Received: by 2002:a05:6870:9690:b0:25e:281e:190f with SMTP id 586e51a60fabf-26891d46fadmr18932338fac.23.1722922997802; Mon, 05 Aug 2024 22:43:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Waqas Date: Tue, 6 Aug 2024 10:43:06 +0500 Message-ID: Subject: Re: Connection exceeded alert. To: Rajesh Kumar Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000428334061efd45c7" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000428334061efd45c7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please check maximum connection / Session parameter in postgreSQL.conf file and you can increase maximum session/connection. Please also check locking on database. 2024=EB=85=84 8=EC=9B=94 6=EC=9D=BC (=ED=99=94) =EC=98=A4=EC=A0=84 9:32, Ra= jesh Kumar =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84= =B1: > Hi all, > > I have been trying to find a steps or solution for past 1 year once we > received a connection exceeded alert. Couldn't get any answer from anybod= y > or internet so far. > > Today I checked a pgbadger report and matched the timeline and found > that, at that time of sudden connection hike (not normal), there were 3 > queries running at that time (2 update queries on table a , took 5s each, > one insert query on table b which took 2.5mns). > > Anybody provide me steps what all I have to do 1. At that time of > connection hike 2. If I am been asked to check after sometime as connecti= on > dropped to analyse. > --=20 *Muhammad Waqas* *Senior Technical Support Engineer - Tech Support Center (Karachi)* Mobile: +92-322-2844150 Email: *waqas.m@bitnine.net * 1st floor, suit no F-04, COLABS Karachi, 8-C Khayaban-e-Tanzeem, DHA Phase 5 Tauheed Commercial Area, Defense V Defense Housing Authority, Karachi, Karachi City, Sindh, 75500 Pakistan. --000000000000428334061efd45c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Please check=C2=A0 maximum connection / Session parameter = in postgreSQL.conf file and you can increase maximum session/connection.
Please also check locking on database.

2024=EB=85=84 = 8=EC=9B=94 6=EC=9D=BC (=ED=99=94) =EC=98=A4=EC=A0=84 9:32, Rajesh Kumar <= ;rajeshkumar.dba09@gmail.com= >=EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1:
Hi all,

I have been trying to find a steps or solution= for past 1 year once we received a connection exceeded alert. Couldn't= get any answer from anybody or internet so far.
Today I checked a pgbadger report and=C2=A0 matche= d the timeline and found that, at that time of sudden connection hike (not = normal), there were 3 queries running at that time (2 update queries on tab= le a , took 5s each, one insert query on table b which took 2.5mns).
<= div dir=3D"auto">
Anybody provide me steps what = all I have to do 1. At that time of connection hike 2. If I am been asked t= o check after sometime as connection dropped to analyse.


--
= Muhammad Waqas
Senior Technical Su= pport Engineer - Tech Support Center (Karachi)
Mobile: +92-322-2844150
Email:=C2=A0=C2=A0waqas.m@bitnine.net=C2=A0
1st floor, suit no F-04, CO= LABS Karachi, 8-C Khayaban-e-Tanzeem,=C2=A0
DHA Phase 5 Tauheed Commercial Area,
<= div>Defense V Defense Housing Author= ity, Karachi, Karachi City, Sindh,=C2=A0
75500 Pakistan.
--000000000000428334061efd45c7--