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
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
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
3. Solaris
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
4. Solaris
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
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
6. Solaris
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
7. What is on Your Mind?
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
SULOGIN(8) Linux System Administrator's Manual SULOGIN(8)
NAME
sulogin - Single-user login
SYNOPSIS
sulogin [ -e ] [ -p ] [ -t SECONDS ] [ TTY ]
DESCRIPTION
sulogin is invoked by init(8) when the system goes into single user mode. (This is done through an entry in inittab(5).) Init also tries
to execute sulogin when the boot loader (e.g., grub(8)) passes it the -b option.
The user is prompted
Give root password for system login
(or type Control-D for normal startup):
sulogin will be connected to the current terminal, or to the optional device that can be specified on the command line (typically /dev/con-
sole).
If the -t option is used then the program only waits the given number of seconds for user input.
If the -p option is used then the single-user shell is invoked with a dash as the first character in argv[0]. This causes the shell
process to behave as a login shell. The default is not to do this, so that the shell will not read /etc/profile or $HOME/.profile at
startup.
After the user exits the single-user shell, or presses control-D at the prompt, the system will (continue to) boot to the default runlevel.
ENVIRONMENT VARIABLES
sulogin looks for the environment variable SUSHELL or sushell to determine what shell to start. If the environment variable is not set, it
will try to execute root's shell from /etc/passwd. If that fails it will fall back to /bin/sh.
This is very valuable together with the -b option to init. To boot the system into single user mode, with the root file system mounted
read/write, using a special "fail safe" shell that is statically linked (this example is valid for the LILO bootprompt)
boot: linux -b rw sushell=/sbin/sash
FALLBACK METHODS
sulogin checks the root password using the standard method (getpwnam) first. Then, if the -e option was specified, sulogin examines these
files directly to find the root password:
/etc/passwd,
/etc/shadow (if present)
If they are damaged or nonexistent, sulogin will start a root shell without asking for a password. Only use the -e option if you are sure
the console is physically protected against unauthorized access.
AUTHOR
Miquel van Smoorenburg <miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
17 Jan 2006 SULOGIN(8)