On 1/15/07, Joe <[EMAIL PROTECTED]> wrote:
...
And postgres settings:

max_connections = 1000
shared_buffers = 2000

You'll want to read these:
http://www.jacobian.org/writing/2005/dec/12/django-performance-tips/
http://www.revsys.com/writings/postgresql-performance.html
http://www.powerpostgresql.com/Downloads/annotated_conf_80.html

That shared_buffers setting is woefully low for a machine w/ 6GB of
RAM.  That's 2000 * 8k  =  16MB  for all shared buffer space; you want
something more like 10% of RAM.  (I'm using 100,000 on a dedicated
server w/ 4GB as a quick-n-dirty setting.  It serves ~1M hits per day
and load is rarely over 0.3.

But yeah, almost certainly the specific problem you're seeing is due
to KeepAlive.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to