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

Поиск
Список
Период
Сортировка
Искать
От
Wells Oliver
Тема
Re: Server crash... trying to figure it out
Дата
в 15:38:54
Msg-id
5366FE31-4E2E-41C6-94F7-90C9D0477C44@padres.com
Ответ на
Список
Дерево обсуждения
Server crash... trying to figure it out Wells Oliver <woliver@padres.com>
Re: Server crash... trying to figure it out "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Server crash... trying to figure it out Wells Oliver <woliver@padres.com>
Re: Server crash... trying to figure it out "Kevin Grittner" <Kevin.Grittner@wicourts.gov>

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

В списке pgsql-admin по дате отправления
От: Jesper Krogh
Дата:
От: Kevin Grittner
Дата:
FAQ