RHEL, RHEL 6.x question

Posted on 2012-04-05
Medium Priority
Last Modified: 2012-08-13
I noticed I needed to increase my nproc on RHEL 6.2 in applications where I did not have to increase nproc on RHEL 5.x.

Does the creation of RHEL 6 threads count against the max number of nproc
Question by:Los Angeles1
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 37812170
RHEL 5 and 5 essentially behave the same way,

The difference is in the default value of nproc, which is 1024 in RHEL 6 regardless of the machine size, whereas Red Hat 5.x sets the limit dynamically based on the machine configuration, usually very much higher than just 1024.

I read that an 8-core system would set the limit at 256693, but I'm not aware of the actual calculation formula used.

LVL 30

Expert Comment

by:Kerem ERSOY
ID: 37812190

It is not that you'd not needed to increase nproc. Bu  some old versions of 2.6 libs were broken someiimes they did not apply limts and in some other cases there were not a granular process distribution and now they are handled differently with the newer kernel. Another reason is  more systems are 64-bit the probablity of them using larger memory and disk  are imminent hence the minimum values are updateed according to average avaliable hardware.


Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

586 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