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: CPU bound a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 13 Topic 4010 of 4424
Post > Topic >>

Re: CPU bound at 99%

by haraldarminmassa@[EMAIL PROTECTED] ("Harald Armin Massa") Apr 22, 2008 at 06:15 PM

Bryan,

 > > about 2300 connections in idle
>  > > (ps auxwww | grep postgres | idle)

that is about 2300 processes being task scheduled by your kernel, each
of them using > 1 MB of RAM and some other ressources, are you sure
that this is what you want?

Usual recommended design for a web application:

start request, rent a connection from connection pool, do query, put
connection back, finish request, wait for next request

so to get 500 connections in parallel, you would have the outside
situaion of 500 browsers submitting requests within the time needed to
fullfill one request.

Harald
--=20
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Stra=DFe 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!

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




 13 Posts in Topic:
CPU bound at 99%
buecking@[EMAIL PROTECTED  2008-04-23 00:31:01 
Re: CPU bound at 99%
jd@[EMAIL PROTECTED] (&q  2008-04-22 08:41:09 
Re: CPU bound at 99%
buecking@[EMAIL PROTECTED  2008-04-23 00:56:46 
Re: CPU bound at 99%
erik@[EMAIL PROTECTED] (  2008-04-22 10:55:19 
Re: CPU bound at 99%
buecking@[EMAIL PROTECTED  2008-04-23 01:10:26 
Re: CPU bound at 99%
buecking@[EMAIL PROTECTED  2008-04-23 01:22:37 
Re: CPU bound at 99%
tgl@[EMAIL PROTECTED] (T  2008-04-22 12:25:36 
Re: CPU bound at 99%
buecking@[EMAIL PROTECTED  2008-04-23 01:16:43 
Re: CPU bound at 99%
ivoras@[EMAIL PROTECTED]   2008-04-23 01:58:47 
Re: CPU bound at 99%
craig@[EMAIL PROTECTED]   2008-04-23 00:36:35 
Re: CPU bound at 99%
haraldarminmassa@[EMAIL P  2008-04-22 18:15:38 
Re: CPU bound at 99%
scott.marlowe@[EMAIL PROT  2008-04-22 10:23:55 
Re: CPU bound at 99%
lists@[EMAIL PROTECTED]   2008-04-22 18:45:24 

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:59:27 CST 2008.