🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #4051

Re: Setting Unix Kernel parameters

#4051
From: James Youngman
Date: Sun, 20 Dec 1998 00:00
43 lines
2439 bytes
"jacob bogers" <bogers07@worldonline.nl> writes:

> its for linux!

Please don't write your reply upside-down (i.e. above the text to
which it is a reply).  This makes it much harder to read.

> 
> Ade Barkah <qwix@mindspring.com> schreef in artikel
> <367C59A5.854CAB69@mindspring.com>...
> > We can't really answer your question because the answer depends on the 
> > specific Unix variant you are using.
> > 
> > Regards,
> > 
> > -Ade
> > 
> > jacob bogers wrote:
> > > 
> > > I have searched my literature extensivly and cannot answer the
> following
> > > question:
> > > How do i set the unix kernel enviroment variables to the following
> values:
> > >   SHMMAX         4294967295
> > >   SHMMIN          1
> > >   SHMSEG         10
> > > Please Help

These contants are defined in

$ find  /usr/src/linux/include -type f -print | xargs fgrep -l SHMMIN 2>/dev/null
/usr/src/linux/include/asm-i386/shmparam.h

for the x86 versions of Linux.  You can modify these and then
recompile the kernel.

Note that your value for SHMMAX is 4Gb - 1 byte, and you won't be able
to set it that high.  Read the code to discover the minimum/maximum
appropriate values.

-- 
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+usenet
Technical Details
Message-ID: <x6btky69j7.fsf@periwinkle.no.where>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be2ba0$66897a00$17e6f1c3@msn01> <367C59A5.854CAB69@mindspring.com> <01be2c17$cc3ef2e0$25ccf1c3@msn01>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,9aa3dbcfc54805ba
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: fc89c,9aa3dbcfc54805ba
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 11033e,9aa3dbcfc54805ba
X-Google-Attributes: gid11033e,public
X-Google-Thread: 100a83,9aa3dbcfc54805ba
X-Google-Attributes: gid100a83,public
X-Google-Thread: 1103af,9aa3dbcfc54805ba
X-Google-Attributes: gid1103af,public
X-Google-Thread: 108d68,9aa3dbcfc54805ba
X-Google-Attributes: gid108d68,public
From: James Youngman <james@periwinkle.no.where>
Subject: Re: Setting Unix Kernel parameters
Date: 1998/12/20
Message-ID: <x6btky69j7.fsf@periwinkle.no.where>
X-Deja-AN: 424325094
X-NNTP-Posting-Host: free-lunch.demon.co.uk:193.237.213.175
References: <01be2ba0$66897a00$17e6f1c3@msn01> <367C59A5.854CAB69@mindspring.com> <01be2c17$cc3ef2e0$25ccf1c3@msn01>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 914195620 nnrp-07:4617 NO-IDENT free-lunch.demon.co.uk:193.237.213.175
Organization: Where?
Newsgroups: ahn.tech.linux,cern.linux,comp.os.linux.misc,comp.unix.programmer,comp.unix.questions,worldonline.linux