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.