Darwin 5.4 xnu kernel CVS Release Tags and SHMMAX
Darwin 5.4 xnu kernel CVS Release Tags and SHMMAX
- Subject: Darwin 5.4 xnu kernel CVS Release Tags and SHMMAX
- From: John Worsley <email@hidden>
- Date: Wed, 22 May 2002 17:19:58 -0700 (PDT)
Greetings,
I work for a company producing a commercial distribution of PostgreSQL, an
open-source RDBMS. I've found that building it for OS X running the Darwin
Kernel produces an error suggesting the Kernel be re-configured to have a
higher value for SHMMAX when the requested concurrent connection value is
too high.
I've read up on the Darwin HOWTOs, and I've checked out xnu release
Apple-201-19 from Apple's public CVS server, and I have two questions.
1. The Kernel Version appears to be 5.3, but the Kernel on my iMac running
10.1.4 of OS X reports Darwin Kernel version 5.4...just poking around I
don't see any log or diff on the version.minor file in xnu/bsd/conf/ with
a value of 4, and browsing the list of Release Tags didn't help much.
So: is the version of the Darwin Kernel used with MacOS 10.1.4 (5.4) not
available via Darwin CVS? The current snapshot reveals work on Kernel 6.0,
which I'm pretty sure is inappropriate for my needs. ;) If it is
available, what is the Release Tag?
2. I've found the SHMMAX parameter in xnu/bsd/conf/param.c, lines 98-101,
and I found the following:
#define SHMMAXPGS 1024 /* XXX until we have more kmap space */
#ifndef SHMMAX
#define SHMMAX (SHMMAXPGS * 4096)
Increasing the SHMMAXPGS value arbitrarily by a factor of 16 seemed to
solve my problem, as far as the RDBMS software goes, but does anyone have
an opinion on what effect, if any, this would have on the rest of the
system? I'm a little leery of the "until we have more kmap space" warning
since I have no idea to what it refers. ;)
Any information on either of these topics would be duly appreciated.
Best regards,
Jw.
--
John Worsley - Lead Programmer / Web Developer, Command Prompt, Inc.
TheLinuxReview | Resources for Linux Users |
http://www.thelinuxreview.com/
(503) 736-4609 | email@hidden | email@hidden
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.