cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Starfighter Starfighter
Starfighter
  • 237 Views

Limit Number of Process Per User

What file contains the information to limit the number of processes that a user
account can have running at any given time?  

What would the actual entry look like in this file, to limit the number of processes to 11,
for a user account named "trev"?

What error message would I see on the terminal when this limit has been exceeded?

Trevor "Red Hat Evangelist" Chandler
1 Reply
Chetan_Tiwary_
Community Manager
Community Manager
  • 191 Views

Ok I waited for someone to pour their knowledge, but now it is my turn to showoff :

The configuration file is :  /etc/security/limits.conf

 

trev           hard    nproc   11

If the limit has been exceeded, then you may see this error in /var/log/messages :

error: fork: Resource temporarily unavailable

or something like :

fork of child failed: Resource temporarily unavailable

0 Kudos
Join the discussion
You must log in to join this conversation.