Re: pq_recvbuf: unexpected EOF - Mailing list pgsql-general

From David Link
Subject Re: pq_recvbuf: unexpected EOF
Date
Msg-id 20030428141358.76735.qmail@web13508.mail.yahoo.com
Whole thread Raw
In response to Re: pq_recvbuf: unexpected EOF  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> > On Fri, Apr 25, 2003 at 02:32:20PM -0700, David Link wrote:
> >> Running with ulimit ...
> >>
> >> echo "setting max user processes to unlimited..."
> >> ulimit -u unlimited
> >> echo -n "$PSQL_START"
> >> su -l postgres -s /bin/sh -c "$PGLIB/bin/pg_ctl -D $PGDATA -p
> >> $PGLIB/bin/postmaster -o '-i' start > $PGDATA/log/syslog 2>&1" <
> >> /dev/null
> >>
> >> but still no core.  I can't product that bt.  Any suggestions?
>
> > Try ulimit -c...
>
> Also, the "su" very probably negates any environment settings from
> the
> outside shell script anyway.  It might work to put the ulimit command
> into the postgres user's ~/.profile (or local equivalent).
>

It doesn't negate it, interestingly enough,  I tested by printing out
'ulimit -a ;' just prior to the call to postmaster within su's -c statement.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Estimating space required for indexes
Next
From: marco
Date:
Subject: Re: Performance problems