Limit CPU and RAM utilization for new user in RedHat


 
Thread Tools Search this Thread
Special Forums Cybersecurity Limit CPU and RAM utilization for new user in RedHat
# 1  
Old 09-20-2012
Question Limit CPU and RAM utilization for new user in RedHat

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..
# 2  
Old 09-20-2012
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.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 09-20-2012
MySQL

Quote:
Thanks Smilie
# 4  
Old 09-20-2012
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
This User Gave Thanks to bakunin For This Post:
# 5  
Old 09-21-2012
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
# 6  
Old 09-21-2012
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

2. Red Hat

Cpu, memory - limit by user

Hi all ! I'm new in this site, so sorry if this question is into wrong place. How can I limit cpu/core and memory usage by user? System: RedHat Ent. Linux. 6.4 Tks, (4 Replies)
Discussion started by: Tiago
4 Replies

3. Red Hat

Need to check full utilization of my pc RAM - any commands ???

hi guys, I wanted to utilize my PC's full RAM memory to check its performance, for that how can i perform this full RAM utilization with the help of a process or a command in rhel 6. for example, in windows, while checking the harddisk for error (chkdsk - command ) could takes full RAM... (7 Replies)
Discussion started by: redhatlbug
7 Replies

4. Red Hat

Limit RAM Usages

Is there any kernel tune parameters available to limit RAM usages at certain level . EG . RAM: 4 GB Swap: 2 GB I Need if my RAM usages reached 3 GB Kernel will start swaping new pages . .. --Shirish Shukla (8 Replies)
Discussion started by: Shirishlnx
8 Replies

5. Solaris

RAM Utilization per process

Hello All, My Server RAM utilization is exceeding 90% and i would like to idnetify the per process RAM utilization.. We are using Solaris 10 10/9 OS release... Is there any way achieve this ??? Definitely not interested in any of the third party tool but some Solaris command... ... (5 Replies)
Discussion started by: EmbedUX
5 Replies

6. AIX

AIX 6.1 Power6 - Sys CPU utilization twice that of User

Hello, We just purchased two new 4-way (one active one failover) 5Ghz Power6 Servers (failover) with 64GB RAM (32GB per node) runing AIX 6.1 with two LPARs per node connected to our SAN with two 4GB HBAs. The PROD LPAR has 2 dedicated CPUs (4 virtual) and the TEST LPAR has 2 dedicated CPUs. ... (3 Replies)
Discussion started by: troym72
3 Replies

7. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

8. Shell Programming and Scripting

script for cpu utilization for each user

Can someone suggest me the script to calculate cpu utilization for each user in solaris say for a period of 24 Hrs or last 12 Hrs I am using solaris 10. Thanks in Advance (1 Reply)
Discussion started by: rajusa10
1 Replies

9. Shell Programming and Scripting

Alert When a Process Exceeds a CPU Utilization Limit...

Hi EveryOne We run CICS Sofware on our AIX Machine... When ever some Process or Transaction loops it Takes heavy process Usage.. Is there a way that i can Get a alert message or a Message Thrown on to screen when ever a process named "cicsas" uses more that 20%... fo CPU.. I was... (4 Replies)
Discussion started by: pbsrinivas
4 Replies

10. Linux

Built in ram limit for 64 bit

Hey all, I have been thinking about getting a new computer, and the motherboard I am looking at is capable of holding up to 8 Gb of ram. Now it appears as though for 32 bit linux, in order to use more than 4 Gb of ram, you had to enable a certain option in the kernel, but if I remember... (2 Replies)
Discussion started by: kermit
2 Replies
Login or Register to Ask a Question