- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Help with kernel parameters
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
тАО05-15-2003 10:38 AM
тАО05-15-2003 10:38 AM
1. max open files
2. max inodes
3. max processes
I know I can use sysctl to tuned it and edit sysctl.conf file so the next time the server is rebooted it will set the parameter accordingly. However, I am a bit uncertain what the name of these parameters are under Linux.
For max file and inode, this is what I have narrow it down to:
fs.file-max
fs.file-nr
fs.inode-nr
I would think fs.file-max would be the number of max open files. But what is fs.file-nr and fs.inode-nr? Could someone shed some light on it? when check the vaule for fs.inode-nr, I get "fs.inode-nr = 4039 18" it has two value. Are the vaule min and max? how would I set it via sysctl command and in sysclt.conf file; The reason I ask this is because I am use to setting only one value for one parameter. The same goes for "fs.file-nr = 4925 2340 209708". That's it for max file number and inode.
What parameter name corresponds in linux to "max no. of processes in a system" and "max no. of processes per user"? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 12:22 PM
тАО05-15-2003 12:22 PM
SolutionYou can find a lot of information on proc parms in the documention that comes with the kernel sources.
/usr/src/linux-2.4/Documentation/filesystems/proc.txt
I attached the file, i think it
will answer your questions.
Go to the section :
2.1 /proc/sys/fs - File system data
brgds.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 06:36 PM
тАО05-15-2003 06:36 PM
Re: Help with kernel parameters
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2003 04:04 AM
тАО05-16-2003 04:04 AM
Re: Help with kernel parameters
The value in file-max mean maximum
handles that the Linux kernel will allocate.
This parm is good to edit if is required.
echo "fs.file-max = xxxxxxx" >> /etc/sysctl.conf
sysctl -p
The three values in file-nr mean
the number of allocated
file handles, the number of used file handles and the maximum number of file handles.
The value inode-max mean max of inodes handles and is recomended that this value is 3-4x greater than file-max, when is required it is possible to edit this value.
echo "fs.inode-max=xxxxxxx" >> /etc/sysctl.conf
sysctl -p
with value inode-nr is it similar as file-nr.
regards
Frantisek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2003 05:08 AM
тАО05-16-2003 05:08 AM
Re: Help with kernel parameters
2)in kernel 2.3 and < there is in
/usr/src/linux/include/linux/tasks.h
param:
NR_TASKS, MAX_TASKS_PER_USER, NR_TASKS/2) and MIN_TASKS_LEFT_FOR_ROOT.
need to compile kernel after change.
in kernel 2.4.x and >
Param max procesess eq. NR_TASKS and MAX_TASKS_PER_USER, allowed,
is on 2.4 kernel dynamic function how much memory do you have(I think )
Second part is setting limit for shell
ulimit -a
ulimit -u unlimited or LIMIT
Hi,
Frantisek.