Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5fm9-00042Z-Bj for pgsql-general@arkaria.postgresql.org; Thu, 18 Jun 2015 19:47:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5fm8-0007v3-RH for pgsql-general@arkaria.postgresql.org; Thu, 18 Jun 2015 19:47:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5fm6-0007sC-VK for pgsql-general@postgresql.org; Thu, 18 Jun 2015 19:46:59 +0000 Received: from resqmta-ch2-03v.sys.comcast.net ([2001:558:fe21:29:69:252:207:35]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z5fm3-0001fw-Vw for pgsql-general@postgresql.org; Thu, 18 Jun 2015 19:46:57 +0000 Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-03v.sys.comcast.net with comcast id hvmo1q0032D5gil01vmsaP; Thu, 18 Jun 2015 19:46:52 +0000 Received: from jerry.enova.com ([38.98.177.132]) by resomta-ch2-06v.sys.comcast.net with comcast id hvmc1q00R2rmZlA01vme8i; Thu, 18 Jun 2015 19:46:50 +0000 Received: by jerry.enova.com (Postfix, from userid 1001) id 278AF7401EB; Thu, 18 Jun 2015 14:46:36 -0500 (CDT) From: Jerry Sievers To: "Sheena\, Prabhjot" Cc: "ktm\@rice.edu" , Will Platnick , "pgsql-performance\@postgresql.org" , "pgsql-general\@postgresql.org" Subject: Re: [PERFORM] PGBOUNCER ISSUE PLEASE HELP(Slowing down the site) References: <13E39D789E19FF4E9A87F6D456F3F9820123C607@SEAMBX02.sea.corp.int.untd.com> <20150618171623.GT31129@aart.rice.edu> <13E39D789E19FF4E9A87F6D456F3F9820123C645@SEAMBX02.sea.corp.int.untd.com> <20150618181023.GU31129@aart.rice.edu> <13E39D789E19FF4E9A87F6D456F3F9820123D71A@SEAMBX02.sea.corp.int.untd.com> Date: Thu, 18 Jun 2015 14:46:36 -0500 In-Reply-To: <13E39D789E19FF4E9A87F6D456F3F9820123D71A@SEAMBX02.sea.corp.int.untd.com> (Prabhjot Sheena's message of "Thu, 18 Jun 2015 19:19:13 +0000") Message-ID: <868ubgajfn.fsf@jerry.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1434656812; bh=hAp41pXrLstpDzETxF0NEOWysMbXtylB53QrRS3ZCOE=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=MD7/fYaLhyVfo6OkilfRIE5oRYye3dF1zkpv+yzUlG2nWib5WJqqgytDueIkx/+Wo lysJqAzRQAmt9rR8BRcI1k/3DYvCXn1ZNlsyHtfZQTLqcD7hCkXwzImTIHuNSNepOW PreqeRsATdOckRCGggm3KUFR83c4QI3NjyQLdaaP4jYsGPCEmB49eSeGz8OrATui4p NIHofzRwZA6z3imZglwZKh8o+a5INY7nj1mWkiyjkUrAifXtvFWQvxEeL/uIYPQyeI CUdwQuM0dKz2tjGDGhftc5qckXt1uN63runXmS1cNf8j5LDEgO0Q8mj7ybodnSSnXc CGTr1K8by5dUA== X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org "Sheena, Prabhjot" writes: > Hi Ken/ Will > > I have checked the ulimit value and we are nowhere hitting the max > 4096 that we have currently set. Is there any other explanation why > we should be thinking of bumping it to like ulimit -n 50000 ( Add > ulimit -n 50000 to the start of whatever you use to start pgbouncer > (init script, etc..)) even though we are not reaching 4096 max value If I can assume you're running on linux, best you get limits readout from... /proc/$PID-of-bouncer-process/limits Best not to trust that run time env of interactive shell is same as where bouncer launched from. FWIW > Regards > Prabhjot Singh > > > > -----Original Message----- > From: ktm@rice.edu [mailto:ktm@rice.edu] > Sent: Thursday, June 18, 2015 11:10 AM > To: Sheena, Prabhjot > Cc: pgsql-performance@postgresql.org; pgsql-general@postgresql.org > Subject: Re: [PERFORM] PGBOUNCER ISSUE PLEASE HELP(Slowing down the site) > > On Thu, Jun 18, 2015 at 05:41:01PM +0000, Sheena, Prabhjot wrote: >> Here is the output of OS limits >> >> postgres@symds-pg:~ $ ulimit -a >> >> core file size (blocks, -c) 0 >> data seg size (kbytes, -d) unlimited >> scheduling priority (-e) 0 >> file size (blocks, -f) unlimited >> pending signals (-i) 790527 >> max locked memory (kbytes, -l) 32 >> max memory size (kbytes, -m) unlimited >> open files (-n) 4096 >> pipe size (512 bytes, -p) 8 >> POSIX message queues (bytes, -q) 819200 >> real-time priority (-r) 0 >> stack size (kbytes, -s) 10240 >> cpu time (seconds, -t) unlimited >> max user processes (-u) 16384 >> virtual memory (kbytes, -v) unlimited >> file locks (-x) unlimited >> >> >> Thanks >> Prabhjot >> > > I would bump your open files as was suggested in your pgbouncer start script. > > Regards, > Ken -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general