|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Security Discuss UNIX and Linux computer and network security, cyber security, cyber attacks, IT security, and more. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
We have a system with 4 Xeon Processors each with 10 cores, total 512 GB RAM and 10 TB Hard Drive.
we want to create multiple user accounts with different resource limitations as : User 1: RAM : 50GB, PROCESSOR: 10 Cores , User folder in home directory of 10GB space. User 2: RAM : 100GB, PROCESSOR: 30 Cores , User folder in home directory of 100GB space. Could you please suggest me how to set this kind of limitations for each user. Thanks in advance.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Some of what you want can be done with /etc/security/limits.conf, which lets you set hard and soft limits for things like memory use and maximum number of processes, controlled by user or group.
|
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
vaibhavvsk (09-20-2012) | ||
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
For the rest - limitation of space in the HOME directory - there are disk quotas.
Here is a document describing the setup. You can set up quotas based on users as well as based on groups. I hope this helps. bakunin |
| The Following User Says Thank You to bakunin For This Useful Post: | ||
vaibhavvsk (09-20-2012) | ||
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Hey thanks a lot bakunin,
It's good explained here. ---------- Post updated at 12:42 PM ---------- Previous update was at 12:56 AM ---------- Whether it's necessary to set both soft and hard values for each item ? I'm able to set maxlogins with hard limit only..but I'm not able to set memlock and nproc |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
You do not need to: a "hard limit" is like a wall: once set, it can't be changed (by the user, that is). A "soft limit" is different: it is set, but the user can change it (up to the maximum of the hard limit) himself.
I hope this helps. bakunin |
| Sponsored Links | ||
|
![]() |
| Tags |
| limit processor cores per user, limit resources per user |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit a user on AIX | edosseh | AIX | 2 | 12-20-2010 02:09 PM |
| AIX 6.1 Power6 - Sys CPU utilization twice that of User | troym72 | AIX | 3 | 01-26-2010 11:07 AM |
| Redhat 2.1 AS Memory Limit? | Cbish68 | Ubuntu | 2 | 10-30-2008 07:25 AM |
| script for cpu utilization for each user | rajusa10 | Shell Programming and Scripting | 1 | 03-28-2008 04:25 AM |
| Alert When a Process Exceeds a CPU Utilization Limit... | pbsrinivas | Shell Programming and Scripting | 4 | 06-20-2007 08:38 AM |
|
|