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

From Tom Lane
Subject Re: pq_recvbuf: unexpected EOF
Date
Msg-id 2625.1051309073@sss.pgh.pa.us
Whole thread Raw
In response to Re: pq_recvbuf: unexpected EOF  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
List pgsql-general
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).

Failing that, put it into the pg_ctl script ...

            regards, tom lane


pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: pq_recvbuf: unexpected EOF
Next
From: Jan Wieck
Date:
Subject: Re: Backing up 16TB of data (was Re: > 16TB worth of