Re: backend exit mystery - Mailing list pgsql-general

From Ed L.
Subject Re: backend exit mystery
Date
Msg-id 200310122248.36896.pgsql@bluepolka.net
Whole thread Raw
In response to Re: backend exit mystery  (Jeff <threshar@torgo.978.org>)
List pgsql-general
On Saturday October 11 2003 9:00, Jeff wrote:
> On Fri, 10 Oct 2003, Ed L. wrote:
> > I have libpq client program that repeatedly connects to a DB, queries,
> > and then disconnects.  After a seemingly random number of such
> > successful sessions (sometimes 30, sometimes hundreds), the backend
> > mysteriously exits after the client calls PQsetdbLogin(), and the
> > client hangs.  Any clues? Details below...
> >
> > Client:  C program linked with 7.2.1 libpq on HP-UX B.11.00 E 9000/803.
> > Server:  PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.96.
>
> How's the memory situation on the server box?
> Don't forget linux has that GREAT feature that randomly kills processes
> when memory is tight.... Perhaps there's something in syslog

Hmmm... it's quite repeatable, though not easy to predict after how many
sessions, so I don't think it's that.  Happens whether memory is tight or
not.

pgsql-general by date:

Previous
From: Zitan Broth
Date:
Subject: Re: Upgrading to 7.4beta
Next
From: Alex
Date:
Subject: Re: Cannot Delete