Re: Tom Lane 2014-05-18 <>
> 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:
> 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).

-- |

Sent via pgsql-hackers mailing list (
To make changes to your subscription:

Reply via email to