Re: Server crash... trying to figure it out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May 31, 2011, at 11:31 AM, Kevin Grittner wrote:

You're probably overcommitting memory and running afoul of the oom
killer.

You've got an actual 12MB, but you can easily allocate up to
shared_buffers + (user_connections * work_mem), which is 18.5 GB.  I
would start by reducing shared_buggers to 3GB or less, and cut
work_mem in half.  Then I would get a connection pooler set up to
funnel 200 client-side connections through a pool of 10 or 20
database connections.  Then I would try edging up work_mem while
monitoring performance and memory usage.

-Kevin

Thanks for the response- great food for thought. Do you have any recommendations on a pg connection pooler?

--
Wells Oliver
Architect, Baseball Systems
619-795-5359
San Diego Padres | 100 Park Boulevard | San Diego CA 92101


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux