Re: psql: core dumped - Mailing list pgsql-hackers

From Philip Yarra
Subject Re: psql: core dumped
Date
Msg-id 45887557.4090103@utiba.com
Whole thread Raw
In response to Re: psql: core dumped  (Mario <gonzalemario@gmail.com>)
Responses Re: psql: core dumped  (Jeremy Drake <pgsql@jdrake.com>)
List pgsql-hackers
Mario wrote:
>   Even if you get a core dumped every time you press CTRL+\  ?  why?

Try ulimit -c 0, then run it (you should get no core dump)
Then ulimit -c 500000, then run it (you should get a core dump)

SIGQUIT is supposed to dump core. Ulimit settings can suppress 
generation of core files. The difference between your machine and your 
friend's is likely just the ulimit settings.

Regards, Philip.

-- 
Philip Yarra
Senior Software Engineer, Utiba Pty Ltd
philip@utiba.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: effective_cache_size vs units
Next
From: Gregory Stark
Date:
Subject: Re: psql: core dumped