Re: Tom Lane 2014-05-18 <26862.1400449...@sss.pgh.pa.us>
> OK, so the problem is that getrlimit(RLIMIT_STACK) is lying to us about
> the available stack depth.  I'd classify that as a kernel bug.  I wonder
> if it's a different manifestation of this issue:
> https://bugzilla.redhat.com/show_bug.cgi?id=952946
> 
> A different line of thought is that if ulimit -s is 8192, why are we
> not getting 8MB of stack?  But in any case, if we're only going to
> get 1944kB, getrlimit ought to tell us that.

The issue looks exactly like what you are writing in that bugzilla
bug, including the fact that [stack] in /proc/maps gets replaced by
[heap] once the bus error happens (Comment 11).

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to