Solved

Linux, maximum number of users allowed for a user

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

696 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