Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I tried this. At least on my fairly vanilla MacOS X desktop, an mlock
> for a larger amount of memory than was conveniently on hand (4GB, on a
> 4GB box) neither succeeded nor failed in a timely fashion but instead
> progressively hung the machine, apparently trying to progressively
> push every available page out to swap. After 5 minutes or so I could
> no longer move the mouse. After about 20 minutes I gave up and hit
> the reset button. So there's apparently no value to this as a
> diagnostic tool, at least on this platform.
Fun. I wonder if other BSDen are as brain-dead as OSX on this point.
It'd probably at least be worth filing a bug report with Apple about it.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2012-06-28 18:55:29|
|Subject: Re: Uh, I change my mind about commit_delay +
commit_siblings (sort of)|
|Previous:||From: Robert Haas||Date: 2012-06-28 18:47:58|
|Subject: Re: Posix Shared Mem patch|