From: | Dave Coventry <dgcoventry(at)gmail(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Postgres errors in Drupal install. |
Date: | 2011-06-26 23:10:43 |
Message-ID: | BANLkTimEJ_u7sVpd39Tj+XOxs_gSMGRcnA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Apologies, I didn't notice that I was replying off-list.
On 27 June 2011 00:29, Dave Coventry <dgcoventry(at)gmail(dot)com> wrote:
> On 26 June 2011 23:37, John R Pierce <pierce(at)hogranch(dot)com> wrote:
>> I didn't read the whole thread, but is this a Linux server? Linux has a
>> horrible feature, the "Out of Memory Killer", which kills off processes when
>> the system is low on memory.
>>
>> the OOM-Killer usually leaves log entries in DMESG and maybe
>> /var/log/messages
>
> Yes, it's a Ubuntu 10.10 server. I don't actually see anything in
> dmesg or in /var/log/messages that would indicate indiscriminate
> culling of processes.
>
>> If in fact its the OOM killer, you should probably lower your WORK_MEM and
>> SHARED_BUFFERS and maybe MAINTENANCE_WORK_MEM in postgresql.conf
>
> Thanks for the suggestions. I have pulled them all down to their
> recommended minimums:
>
> work_mem: 64kB
> shared_buffers: 128kB
> maintenance_work_mem: 1MB
>
> I'll see if that makes any difference.
>
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2011-06-26 23:23:09 | Re: Postgres errors in Drupal install. |
Previous Message | Tomas Vondra | 2011-06-26 22:26:07 | Re: PostgreSQL 8.4.8 bringing my website down every evening |