Solved

Linux, maximum number of users allowed for a user

Posted on 2012-04-03
2
381 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

737 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