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 1jK1Td-0005EJ-Rt for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 15:09:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jK1Tc-0007TM-Mq for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 15:09:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jK1Tc-0007TF-Ca for pgsql-general@lists.postgresql.org; Thu, 02 Apr 2020 15:09:52 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jK1Ta-0000oj-BC for pgsql-general@postgresql.org; Thu, 02 Apr 2020 15:09:51 +0000 Received: by mail-io1-xd42.google.com with SMTP id i3so3890221ioo.13 for ; Thu, 02 Apr 2020 08:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Naat6sYyYH799olky/SGtwinkf7kXuclNOxQUm9iJvA=; b=ME/FCFxIyflUqkOdzSrQO8lOG2LGieJtGlO7KM2SliOnaOlfOB9cr1QQH+7t2MAkBe zb025J8YY/bJwuYtPixXXDYiSsCFLMLqmM8KWwNfaNNjV0R5tdW4pBA8vecPul0brQ8x 4yoK6iQmVgI0HCaxVO92QjOUHDrEQNMcCGzDKqmPEi4dEG5uOypCcGueHWbXnFjwULXu AtrKVWvyxN6w4e4Q9zUhCJ30D8CiV866fhD4Y3Cr18Q69nAGtzvluMjaWQwGIG1NLIl4 GQuxXMdzGD7aQvl2poomjrKPMh0PFaz7FoExeyjYTQCdFVh585szEZMumgpGytG3KkMg syng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Naat6sYyYH799olky/SGtwinkf7kXuclNOxQUm9iJvA=; b=FLT5ggggvY/ulHMRZnOpepqOHSbzezcIT/eFLC8FGgbApvsnEntEpEHZ7sLspdHZM/ oy2GFCiEug1uya8SlK4TtdmqdKwjZBqs8gZfduSZ2OIlsMXxmZEOnTCzMitVko7HCoCC 9y8LyxRf0ugh78GUsNIS2PV/fQHL5EkjE1zPhpAdnqEIjFExr139L/zsUBur93xmsMnS 5lFTIK6LH8aoEZn66r7FwCXjpIh0zKKu+IkxQIGZ9TfM1VmjbHl0HmnZnxTXCyyg8BL7 evyv2VSVsoOpKtH8DI0qeK5iEjKH70H+Gbv65H8lR9tk0iYLFetsfur5Fr0eeXNBnHcG ZjzA== X-Gm-Message-State: AGi0PuaaOIOiGLaHRJFPLSgTsTAnGmq63CJnTP9gvkwJlRt9aeJKAcDJ BXInBm3Hc52s3j6hzhrpzDU= X-Google-Smtp-Source: APiQypL4h8nkU2VY/znmhoQebE1aj3yAr5OwIMvvYUzGhqiNMiGhqPrAz+5Vqpz0WSIrhYyPyibYRw== X-Received: by 2002:a5d:9a94:: with SMTP id c20mr3172655iom.166.1585840189230; Thu, 02 Apr 2020 08:09:49 -0700 (PDT) Received: from [192.168.1.108] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id i4sm1789208ilq.4.2020.04.02.08.09.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2020 08:09:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: too many clients already From: Rob Sargent In-Reply-To: Date: Thu, 2 Apr 2020 09:09:47 -0600 Cc: "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Abraham, Danny" X-Mailer: Apple Mail (2.3608.60.0.2.5) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Apr 2, 2020, at 9:06 AM, Abraham, Danny = wrote: >=20 > Hi, >=20 > Will appreciate a hint here. >=20 > Running on a big and stressed AIX platform and receiving lots of = "CDTFATAL: sorry, too many clients already" > and transient difficulty to log in. >=20 > Happens on all PG versions (Tested 9.5,10.4,11.5) >=20 > Big installation: max_connections is 1200, shared_buffers is 2GB=20 >=20 > But .. select count(*) from pg_stat_activity is only 66. >=20 > Thanks >=20 > Danny >=20 >=20 Lots of idle, kept-alive clients? Do you have a connection pooler (e.g. = pg-bouncer)?=