Solved

Linux 2.0.27 onfig for large system

Posted on 1997-04-14
5
200 Views
Last Modified: 2013-12-15
My linux system (PPro 200, 256MB) ran out of various kernel resources recently under heavy load. I am trying to find out what constants I can safely change to produce a "bigger" kernel -- more files, more open files, more tasks, etc.
0
Comment
Question by:stevelinton
  • 3
5 Comments
 
LVL 1

Expert Comment

by:ggeens
ID: 1627126
The built-in limits are scattered all over the kernel AFAIK. You should look into the relevant source files where they are defined.
Whether you can do this `safely', I don't know. My guess would be that you can enlarge most limits, as long as you don't change the data type.
If you want to be sure about this, visit the Kernel Hackers' guide at
http://www.redhat.com:8080/HyperNews/get/khg.html

0
 

Author Comment

by:stevelinton
ID: 1627127
This is what I  knew already I'm afraid. I'm looking for someone who does know their way around the various limits and their relationships.
0
 

Author Comment

by:stevelinton
ID: 1627128
Adjusted points to 150
0
 
LVL 1

Accepted Solution

by:
bencur earned 150 total points
ID: 1627129
You can change the value of scheduler interupts to get a better response. It's constant HZ.

in ~linux/include/linux/limits.h you can change a lot,
but your programs (if you don't have something speciall)
will never use it. Only PIPE_BUF could be usefull to increase
(or decrease), you can try it and check the performance.
0
 

Author Comment

by:stevelinton
ID: 1627130
I'm afraid you have missed the point. We sometimes have a lot of concurrent users and/or process on this machine, and we ran out of various kernel resources like process slots and open files. Some of these are controlled from the limits file that you mention, but not all.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now