This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Setting SHMMAX in Cygwin
>
> > 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/