RHEL, RHEL 6.x question

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
Los Angeles1Asked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
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.


wmp
0
 
Kerem ERSOYPresidentCommented:
Hi,

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.

Cheers,
K.
0
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.

All Courses

From novice to tech pro — start learning today.