[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Question about Kernel Source
- From: Stephen Carville <carville cpl net>
- To: "enigma-list redhat com" <enigma-list redhat com>
- Subject: Re: Question about Kernel Source
- Date: Sun, 24 Nov 2002 08:24:28 -0800 (PST)
On Fri, 22 Nov 2002, Dwight Taylor wrote:
- Hi, all:
-
- I have been setting up a RH 7.2 host at home to put an Oracle 8.1.7 db
- on for practice/test/training - I know that 8.1.7 isn't certified with
- 7.2, so don't go there. Anyway, I was trying to change the shmmax,
- nproc, and fopen last night and discovered that my installation doesn't
- have kernel-source in the rpms, so I would have to change it every
- stinkin time I boot up. I looked on the CD#1, but there's no folder for
- source there either. So what are my options? I have fast internet, so
- download is an option, but where do I go to get this? I assume it is a
- kernel-source*.rpm of some type, but couldn't find it on redhat's site.
- Any ideas?
You donlt have to modify the kernel source. I created a script file
where I modify the various values and source that in rc.local.
Example script:
#!/bin/sh
# set oracle kernel values on boot up
# generally use the Oracle recommended values or system defaults
# whichever is larger
# kernel sys directory
PROC=/proc/sys/kernel
# set semaphores (not graven in stone :-)
# maximum number of semaphores for each userid
SEMMSL=250
# maximum number of semaphores on the system
SEMMNS=32000
# maximum number of operations per sempop call
SEMOPM=100
# maximum nuber of semaphore sets in entire system
SEMMNI=128
echo "$SEMMSL $SEMMNS $SEMOPM $SEMMNI" > $PROC/sem
# set shared memory parameters
# maximum allowable size of shared memory ~= 50% of physical RAM
SHMMAX=526557184
# maximum number of shared memory segments
SHMMNI=4096
echo $SHMMAX >$PROC/shmmax
echo $SHMMNI >$PROC/shmmni
In rc.local add:
. /etc/rc.d/<name of script>
--
-- Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
==============================================================
Blessed are those who, in the face of death, think only of the
front sight.
==============================================================
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]