Re: postgres dying

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Callis <callis(at)idncafe(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres dying
Date: 2006-06-05 18:48:51
Message-ID: 1149533331.25526.190.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 2006-06-05 at 12:03, Callis wrote:
> Hi all,
>
> Please pardon me if it sound naive or its been answered.
> I am running freeradius with postgresql for VOIP with
> Cisco gateways. But my server keeps dying and after tuning
> the SHMMX and number of connections and all that i still
> get the same results.
>
> Any form of help will be greatly appreciated.
>
> Thank you.

Most of the time this happens, PostgreSQL isn't dying so much as being
euthanized by the OS for some reason.

Perhaps you're hitting the oom killer in the linux kernel, or you're
running it under a ulimit that results in it being killed.

If it is dying, is there anything in the postgresql logs showing why it
died?

Generally speaking, if the database starts up, the shmmax settings and
such are fine, as they are not particularly dynamic in their allocation.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-06-05 19:01:22 Re: postgres dying
Previous Message Guido Barosio 2006-06-05 18:41:13 Re: postgres dying