?
Solved

Linux, maximum number of users allowed for a user

Posted on 2012-04-03
2
Medium Priority
?
386 Views
Last Modified: 2012-04-03
I am getting an error message suggesting that the maximum number of processes available for a user has been exceeded

I am running RHEL 6.2  (This does not happen in RHEL 5.x under similar circumstances)

What is the command to increase the maximum number of processes allowed for a user ?
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:ErwindeVries
ID: 37801284
Hi Greensburo.

If you need to increase the limits, you will need to modify the /usr/src/linux/include/tasks.h file. The parameters to change are NR_TASKS and MAX_TASKS_PER_USER.

Greetz

Erwin de Vries
0
 
LVL 11

Accepted Solution

by:
jgiordano earned 2000 total points
ID: 37801309
For Redhat you will need to add the user to the limits.conf file and set the number of procs. You can see the number of procs for the user by issuing a ulimit -n as that user.


Here is an example increasing the oracle user; once completed log out and back in and execute the ulimit -n
To make the above changes permanent, you could also set the soft limit equal to the hard limit in /etc/security/limits.conf which I prefer:
oracle           soft    nproc          16384
oracle           hard    nproc          16384
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

764 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