From: | Steve Lane <slane(at)fmpro(dot)com> |
---|---|
To: | "Command Prompt, Inc(dot)" <pgsql-general(at)commandprompt(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Cc: | <jlx(at)commandprompt(dot)com> |
Subject: | Re: MacOS X Shared Buffers (SHMMAX)? |
Date: | 2002-05-21 01:59:32 |
Message-ID: | B90F1435.D909%slane@fmpro.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On 5/20/02 9:25 PM, "Command Prompt, Inc." <pgsql-general(at)commandprompt(dot)com>
wrote:
> Good day,
>
> Does anyone have any experience in increasing the amount of shared memory
> buffers available to Mac OS X/Darwin? When starting with more than 128
> backend connections on a test G3 I encounter:
>
> ------------------------------------------------------------------------------
> -----
> IpcMemoryCreate: shmget(key=5432001, size=33357824, 03600) failed: Invalid
> argument
>
> This error usually means that PostgreSQL's request for a shared memory
> segment exceeded your kernel's SHMMAX parameter. You can either
> reduce the request size or reconfigure the kernel with larger SHMMAX.
> ------------------------------------------------------------------------------
> -----
>
> However, I can find no helpful information looking around for how Darwin
> handles this configuration. Hopefully it does not require a recompile of
> the Kernel. ;)
Actually --- :-> I'm no expert on this topic, but Darwin is BSD and I do
recall a post on this very topic, to the effect that the poster believed
some flavors of BSD, possibly MOSX included, do require rebuilding the
kernel to change this value.
As a MOSX user I'd certainly love to be found wrong.
-- sgl
=======================================================
Steve Lane
Vice President
Chris Moyer Consulting, Inc.
833 West Chicago Ave Suite 203
Voice: (312) 433-2421 Email: slane(at)fmpro(dot)com
Fax: (312) 850-3930 Web: http://www.fmpro.com
=======================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Command Prompt, Inc. | 2002-05-21 02:25:11 | MacOS X Shared Buffers (SHMMAX)? |
Previous Message | Dan Weston | 2002-05-21 01:45:42 | Added index ability for isbn-issn contrib example |
From | Date | Subject | |
---|---|---|---|
Next Message | Command Prompt, Inc. | 2002-05-21 02:25:11 | MacOS X Shared Buffers (SHMMAX)? |
Previous Message | Joel Burton | 2002-05-21 00:21:53 | Re: [SQL] Guarantee uniqueness of PGP key |