On Wed, Sep 28, 2005 at 11:40:11AM +0200, ruben wrote:
> Hi Tom:
>
> No way to get the core dump, this is what I did:
>
> 1) Add "ulimit" to /etc/rc.d/init.d/postgresql just before pg_ctl start
> in the "start" section of the script:
<snip>
> 2) Restart postmaster
>
> /etc/rc.d/init.d/postgresql restart
Does that run the start section? Maybe you need to stop/start. Maybe
the bash_profile/bashrc for the postgres user resets the core limit.
> 4) Search core file:
>
> -bash-2.05b$ find /usr/local/pgsql/ -name '*core*' -print
> -bash-2.05b$
It'll be under $PGDATA, where is that? It may be under
/var/lib/postgres, depending on how you installed...
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.