Re: postmaster crashing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: psql-mail(at)freeuk(dot)com
Cc: pgsql-general(at)postgresql(dot)org, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: postmaster crashing
Date: 2003-09-04 16:02:48
Message-ID: 1883.1062691368@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

psql-mail(at)freeuk(dot)com writes:
> #0 SN_create_env (S_size=0, I_size=2, B_size=1) at api.c:6
> 6 z->p = create_s();

Hm. Is it possible you're running out of memory? If the crash is right
there, and not inside create_s(), it seems like a null return from calloc
is the only explanation. This code doesn't seem to be checking for
calloc() failure (I wonder why it's not using palloc/pfree anyway).

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Muck 2003-09-04 16:03:05 Re: More than 1024 connections from the same c-backend
Previous Message scott.marlowe 2003-09-04 16:00:09 Re: NFS performance tuning