

Starfighter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024
05:09 AM
- 445 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

Community Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024
08:25 PM
- 399 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
Join the discussion
You must log in to join this conversation.