Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002b01c472f1$c5d26000$99280518@Gene> From: "Gene C. Ruzicka" To: References: <001a01c47281$c8b02070$99280518 AT Gene> <20040726083046 DOT GA732 AT cygbert DOT vinschen DOT de> Subject: Re: Setting SHMMAX in Cygwin Date: Mon, 26 Jul 2004 02:20:19 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes > > > Further comment: Uncovering this information was somewhat painful. > > Didn't you read /usr/share/doc/Cygwin/cygserver.README and in turn > /etc/cygserver.conf in the first place? The configuration file contains > the comment > > "kern.ipc.shmmaxpgs: Maximum pages available for XSI shared memory." > > I thought that explains it. > > > Corinna > You are correct that those files explain how to set shmmaxpgs, and I noticed that early on. The problem is that I wanted to set shmmax, NOT shmmaxpgs per se, but it seems that the only place that spells out the relationship between the two parameters --- thereby suggesting the means to adjust shmmax --- is in function shminit, which is rather deeply embedded in the source code tree: file /usr/src/cygwin/winsup/cygserver/sysgv_shm.cc to be precise. Gene -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/