Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Setting Linux Kernel Parameters

Re: Setting Linux Kernel Parameters

From: crappy <crappygolucky_at_hotmail.com>
Date: 29 Mar 2002 22:57:05 -0800
Message-ID: <ce31c410.0203292257.25f51f8e@posting.google.com>


actually modifying those .h files is probably not such a great idea, because doing it is so .. well, permament. also that will require you re-compile the kernel, which is also something you mentioned: generally something which, if you're not experienced with it, you shouldn't try unless you're prepared to spend some time figuring out what went wrong (you do learn a lot in the process tho).

in fact, your initial approach is probably better: echo the params to the proc "filesystem". those changes take effect immediately, but not permamently as you said. now, .profile is something that happens on each login (not precisely, but close enough) so that's not it: the place you want to put it in is in a startup script, that is, /etc/rc.d ... to do it "right" will require a little reading about run levels, but you can always just put it in the rc.local ("for now").

"Howard J. Rogers" <dba_at_hjrdba.com> wrote in message news:<a837go$g83$1_at_lust.ihug.co.nz>...
> Lovely. That's really useful, so thank you.
>
> But it unfortunately doesn't tell me *how* to modify those parameters, which
> is what I actually needed to know. The structure of those files looks a bit
> tricky, and I don't want to bodge them up. It then also says 'if you modify
> them, rebuild the kernel', which again I'm sure is sound advice, but it
> doesn't say *how* to do that.
>
> If these aren't steps which are easily describable, then fair enough: if I
> have to get the Big Boys Book of Linux for Windows Users out of the library,
> I'll do it. I just thought maybe it wasn't that tricky... ?
>
> Regards
> HJR
> --
> ------------------------------------------
> Resources for Oracle : www.hjrdba.com
> ============================
>
>
>
> "Eve Hoellwarth" <hoellwarth-e_at_gmx.at> wrote in message
> news:v94aausclahcbd0nritk14o2cd1s7nhsst_at_4ax.com...
> > "Howard J. Rogers" wrote
> >
> > >Would anyone care to enlighten a poor Windows user on how to go about
> making
> > >the kernel parameter changes you need to make on a Linux box before
> > >installing Oracle a permanent fixture of the kernel?
> > >
> > >In other words, for installation, I do the following one-off exercise:
> > >
> > >cd /proc/sys/kernel
> > >
> > >echo 250 32000 100 128 > sem
> > >
> > >echo 33554432 > shmmax
> > >
> > >echo 4096 > shmmni
>
> > >And installation proceeds smoothly accordingly. But how to make the
> change
> > >permanent? In the deepest recesses of my brain, the words ".profile" are
> > >stirring into life, but not sure if that's really the way to do it (or
> whose
> > >profile to alter if so, so that the settings are made system-wide).
> >
> > Out from the linux install guide from technet.oracle.com
> >
> http://technet.oracle.com/docs/products/oracle8i/pdf/linux_installguide_817.
> pdf:
> >
> > Set the kernel parameters for shared memory in
> > /usr/src/linux/include/asm/shmparam.h and the semaphores in
> > /usr/src/linux/include/linux/sem.h
> >
> > In .profile you should set your oracle environment variables
> >
> > hth
> > Eve
> >
Received on Sat Mar 30 2002 - 00:57:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US