Re: pq_recvbuf: unexpected EOF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: David Link <dvlink(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pq_recvbuf: unexpected EOF
Date: 2003-04-25 22:17:53
Message-ID: 2625.1051309073@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-04-25 22:20:35 Re: Backing up 16TB of data (was Re: > 16TB worth of
Previous Message Joe Conway 2003-04-25 22:04:09 Re: pq_recvbuf: unexpected EOF