On Mon, May 10, 2010 at 18:04, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> valentin.hocher@kabelbw.de (Valentin Hocher) writes:
>> [ cPanel's "Shell Fork Bomb Protection" actually does this: ]
>> ulimit -n 100 -u 20 -m 200000 -d 200000 -s 8192 -c 200000 -v 200000 2>/dev/null
>
> Just to annotate that: some experimentation I did confirms that on
> RHEL5 x86_64, PG 8.4.3 falls over with the mentioned error when run
> under ulimit -v in the vicinity of 200000 (ie 200MB).
> ...
> I'd be interested to know if people can reproduce similar
> problems on other Linux variants.
FWIW on arch linux x86_64 breaks ~130000 and 32bit ~55000.