Re: pq_recvbuf: unexpected EOF

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pq_recvbuf: unexpected EOF
Дата
Msg-id 2625.1051309073@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pq_recvbuf: unexpected EOF  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
Re: pq_recvbuf: unexpected EOF  (David Link <dvlink@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: pq_recvbuf: unexpected EOF
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Backing up 16TB of data (was Re: > 16TB worth of