Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Linux 2.0.27 onfig for large system

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
stevelinton
Asked:
stevelinton
  • 3
1 Solution
 
ggeensCommented:
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
 
stevelintonAuthor Commented:
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
 
stevelintonAuthor Commented:
Adjusted points to 150
0
 
bencurCommented:
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
 
stevelintonAuthor Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now