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