Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 4E40C475A87 for ; Wed, 22 May 2002 13:02:55 -0400 (EDT) Received: from cs.brown.edu (fullabull.cs.brown.edu [128.148.32.100]) by postgresql.org (Postfix) with ESMTP id AA6374759F1 for ; Wed, 22 May 2002 13:02:52 -0400 (EDT) Received: from jamaica.cs.brown.edu (jamaica.cs.brown.edu [128.148.31.157]) by cs.brown.edu (8.12.0/8.12.0) with ESMTP id g4MH2qQi013638 for ; Wed, 22 May 2002 13:02:52 -0400 (EDT) Received: (from gss@localhost) by jamaica.cs.brown.edu (8.9.0/8.9.0) id NAA07663 for pgsql-general@postgresql.org; Wed, 22 May 2002 13:02:52 -0400 (EDT) Date: Wed, 22 May 2002 13:02:51 -0400 From: Gregory Seidman To: pgsql-general@postgresql.org Subject: Re: MacOS X Shared Buffers (SHMMAX)? Message-ID: <20020522130251.B7586@jamaica.cs.brown.edu> Reply-To: gss+pg@cs.brown.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from pgsql-general@commandprompt.com on Wed, May 22, 2002 at 10:30:00AM -0700 X-Archive-Number: 200205/774 X-Sequence-Number: 24754 Command Prompt, Inc. sez: [...] } [...actually, a minute later of looking at the source...] } } Okay, so it appears to be when it's checking sockets for data in } src/backend/postmaster/pgstat.c, line 1579...I just tried re-building the } kernel with a higher value for kern.ipc.maxsockets but that didn't have } any effect, still get that error. } } Anyone have any ideas on what specifically would cause this part of pgstat } to fail? Recompiling the kernel was necessary to change the shared memory limit, but kern.ipc.maxsockets can be changed on the fly with sysctl. It might be getting changed in one of the scripts (perhaps SystemTuning) in /System/Library/StartupItems (there are also sometimes scripts in /Library/StartupItems; both directories are used in the startup process). When your system is up and running, try sysctl kern.ipc.maxsockets and see if the value is what you expected. If not, dig around in the StartupItems directories and see if something is changing it. } Best regards, } Jw. --Greg