Resource management


 
Thread Tools Search this Thread
Operating Systems Linux Resource management
Prev   Next
# 1  
Old 03-15-2004
Resource management

Hi all,

we have a big problem, we are running an IA-64 linux system, with 8 CPUs and some GB of RAM, for user usage.
The user are compiling and testing programs on this system, and this caused some problems.

Sometimes, a user program used the hole memory, blocks the other users, and also blocked the hole system.
Even root was not able to login, and kill this prcess -(

Do you have an idea, how to restrict the system usage, for example by memory or CPU time for each user ?

Or can we reserve for example 5 % system ressources for the root user, so in such a case, root can login and kill this process ??

Thnx / Regards
Malcom
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Individual Risk Management (Personal IT Security) and Browser Cache Management

Original post from this thread on browser caching. To add to this, it is an effective security measure to clear absolutely all cached data (cookies, web content, ....) when closing the browser - i.e. in case of a shutdown. It takes a bit of work to re-login to all the sites but websites will not... (7 Replies)
Discussion started by: bakunin
7 Replies

2. Solaris

Resource Capping Help!

Hi guys. Quick question for some hopefully ;-) When using resource capping (for CPU in this case). If a container is restricted to use a single CPU/core, are the other containers intelligent enough to know that they have fewer CPU's available to them? My question relates to a T2000 which... (7 Replies)
Discussion started by: boneyard
7 Replies

3. Solaris

Check resource management from NGZ

Hi, Is there any way if a normal user in a non global zone can check the resources assigned to the zone ? like max-locked-memory etc. 2. Is it possible to disable the max-locked-memory for a particular zone without rebooting a zone ? (1 Reply)
Discussion started by: fugitive
1 Replies

4. Solaris

Difference between resource management attribbutes

Can anyone answer my questions 1. Whats the difference between project.max-locked-memory and max-rss. And out these 2 which is the preferred way of limiting the physical memory in a project or zone. 2. How to restrict the swap memory in projects (0 Replies)
Discussion started by: fugitive
0 Replies

5. Solaris

Resource Management Question

I 've 2 questions regarding resource pools and projects, 1. My system has 5 zones and 2 pools configured. Now, how can i check which zone is running with with pool with the ps command , not with zonecfg command. 2. How can i check a process is running under which project ? (1 Reply)
Discussion started by: fugitive
1 Replies

6. Solaris

Resource management (projadd)

Hi When I create a new project: For example: projadd -K "project.max-shm-memory=(priv,16GB,deny)" project_name I need to associate this project to a user in /etc/user_attr: User_name::::project=project_name Otherwise, id -p shows reveals that the user has project default. Is there... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies

7. UNIX for Dummies Questions & Answers

resource manaement

Hi all I would like to know which other tools i can use besides top & sar to track the system resources i heard of somthing that sounds like acamdmin or acsadm... Thanks for your help (1 Reply)
Discussion started by: yelalouf
1 Replies
Login or Register to Ask a Question
TASKSET(1)							Linux User's Manual							TASKSET(1)

NAME
taskset - retrieve or set a process's CPU affinity SYNOPSIS
taskset [options] mask command [arg]... taskset [options] -p [mask] pid DESCRIPTION
taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affin- ity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful only in certain applications. The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that corresponds to no valid CPUs on the current system) an error is returned. The masks are typically given in hexadecimal. For example, 0x00000001 is processor #0 0x00000003 is processors #0 and #1 0xFFFFFFFF is all processors (#0 through #31) When taskset returns, it is guaranteed that the given program has been scheduled to a legal CPU. OPTIONS
-p, --pid operate on an existing PID and not launch a new task -c, --cpu-list specify a numerical list of processors instead of a bitmask. The list may contain multiple items, separated by comma, and ranges. For example, 0,5,7,9-11. -h, --help display usage information and exit -V, --version output version information and exit USAGE
The default behavior is to run a new command with a given affinity mask: taskset mask command [arguments] You can also retrieve the CPU affinity of an existing task: taskset -p pid Or set it: taskset -p mask pid PERMISSIONS
A user must possess CAP_SYS_NICE to change the CPU affinity of a process. Any user can retrieve the affinity mask. AUTHOR
Written by Robert M. Love. COPYRIGHT
Copyright (C) 2004 Robert M. Love This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
chrt(1), nice(1), renice(1), sched_setaffinity(2), sched_getaffinity(2) See sched_setscheduler(2) for a description of the Linux scheduling scheme. AVAILABILITY
The taskset command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. schedutils Apr 2003 TASKSET(1)