- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: kernel parameters in Linux?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 07:57 AM
тАО10-02-2000 07:57 AM
I am trying to install an Oracle database and the installation procedure specifies recommended values for e.g. shmmax and semmni
Thanks
Solved! Go to Solution.
- Tags:
- kernel parms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 09:26 AM
тАО10-02-2000 09:26 AM
Re: kernel parameters in Linux?
The first thing thast you'll need are the kernel source rpms. You should also probably install the Kernel-Header files as well.
There are MANY Exceptional resources which can guide you through the Kernel Compilation process.
The one that probably answers all of your questions is at http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html I would consider this as the definitive resource for the Linux Kernel.
Please let me know if this resolved your problem.
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 09:57 AM
тАО10-02-2000 09:57 AM
Re: kernel parameters in Linux?
One more thing, the file you are looking for should be in /usr/src/linux/asm-i386/shmparam.h
Hope that helps!
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 10:11 AM
тАО10-02-2000 10:11 AM
Re: kernel parameters in Linux?
I have had a good look around HOW_TOs and kernel config files and I have seen lots of things to do with configuring modules and drivers into the kernel, but I have nothing related to shmmax, semmni etc.
Can you be a bit more specific. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2000 11:44 AM
тАО10-02-2000 11:44 AM
Re: kernel parameters in Linux?
Ok, then let's start with this, when you type:
rpm -qa | grep kernel
Do you get:
kernel-doc-2.2.15-4mdk
kernel-headers-2.2.15-4mdk
kernel-source-2.2.15-4mdk
Or something similar?
If not, these are the very first thing that you'll need inorder to compile a kernel.
In order to change shmmax on a permanent basis, you need these files. You see the shmparam.h file is contained in the Kernel Header file:
rpm -qf shmparam.h
kernel-headers-2.2.15-4mdk
I have attached the shmparam.h file for your convenience.
Hope that gets you started!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2000 02:14 AM
тАО10-04-2000 02:14 AM
Re: kernel parameters in Linux?
I think I am getting the idea, is this right?
. These parameters are compiled into the kernel (same as HP-UX).
. To change them I need to change the relevant .h files and recompile.
So there is no nice interface like HP-UX SAM?
Here is the output of the 'rpm' commands you suggested:
# rpm -qa | grep kernel
kernel-headers-2.2.14-5.0
kernel-2.2.14-5.0
kernel-pcmcia-cs-2.2.14-5.0
kernel-source-2.2.14-5.0
kernel-utils-2.2.14-5.0
kernelcfg-0.5-5
# rpm -qf shmparam.h
file shmparam.h: No such file or directory
Is this because 'kernel-doc' is missing?
But I can see shmparam.h in /home/src/linux-2.2.14/include/asm-i386/ and in various other places.
This is a full list of the parameters Oracle is suggesting:
SHMMAX 4294967295
SHMMIN 1
SHMMNI 100
SHMSEG 10
SEMMNS 200
SEMMNI 70
SEMMSL Equal to or greater than the value of the PROCESSES initialization parameter.
I don't see all of them in shmparam.h
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2000 12:40 PM
тАО10-04-2000 12:40 PM
Re: kernel parameters in Linux?
Now back to your question.
try the following:
cd /home/src/linux-2.2.14/include/asm-i386/
then type
grep SHMM *.h
You will see that all of the SHMM variables are int he shmparam.h file.
If you like I can track down the implementation of the semaphore values.
Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2000 12:52 AM
тАО10-05-2000 12:52 AM
Re: kernel parameters in Linux?
I still cannot find reference to the kernel parameters starting with SEM
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2000 05:28 AM
тАО10-05-2000 05:28 AM
SolutionThe reason that you cannot find the SEM (or semaphore) parameters, is because they have been located in the /usr/src/linux/include/linux directory, in the file called sem.h.
That should cover all of your Semaphore and Shared Memory parameters.
I tried several site to locate a White Paper, but as of yet cannot find one. Even tried Oracle, but alas they want to charge you for this same information. Information that only costs you the time to give a few points away.
Hope this helps you. If not feel free to post again. I leave the lights on.
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2000 12:39 AM
тАО10-31-2000 12:39 AM
Re: kernel parameters in Linux?
To avoid recompiling your kernel (for parameters available), you have the sysctl interface. It is available in the /proc fs. A good reading about it could be found at http://www.bb-zone.com/Proc/.
The variables could be permanently (ie. over reboots) by using the file /etc/sysctl.conf, found in Mandrake 7.1, which could also be in RH6.2.
Regards,
Jerome