Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: connections...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 4007 of 4424
Post > Topic >>

Re: connections slowing everything down?

by erik@[EMAIL PROTECTED] (Erik Jones) Apr 21, 2008 at 09:04 AM

On Apr 21, 2008, at 4:50 AM, Adrian Moisey wrote:

> Hi
>
> # ps -ef | grep idle | wc -l
> 87
> # ps -ef | grep SELECT | wc -l
> 5
>
>
> I have 2 web servers which connect to PGPool which connects to our=20=20
> postgres db.  I have noticed that idle connections seem to take up=20=20
> CPU and RAM (according to top).  Could this in any way cause
things=20=20
> to slow down?

Dependant on how much memory you have in your system, yes.  You can=20=20
fix the constant use of memory by idle connections by adjusting the=20=20
child_life_time setting in your pgpool.conf file.  The default if 5=20=20
minutes which a bit long.  Try dropping that down to 20 or 30 seconds.

Erik Jones

DBA | Emma=AE
erik@[EMAIL PROTECTED]
 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com




--=20
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 5 Posts in Topic:
connections slowing everything down?
adrian@[EMAIL PROTECTED]   2008-04-21 11:50:31 
Re: connections slowing everything down?
erik@[EMAIL PROTECTED] (  2008-04-21 09:04:28 
Re: connections slowing everything down?
adrian@[EMAIL PROTECTED]   2008-04-21 16:15:42 
Re: connections slowing everything down?
erik@[EMAIL PROTECTED] (  2008-04-21 09:46:17 
Re: connections slowing everything down?
mmoncure@[EMAIL PROTECTED  2008-04-22 20:46:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:36:25 CST 2008.