On Tue, 17 Jun 2003, santosh kumar wrote:

> assign high priority for X user to access a particular m/c. For example

What is an m/c?

> have a high end m/c which is meant for some simulation purpose but it
> will be usable by all users around the clock by which it hogs all the
> memory so I want to assign a high priority for a single user X that If

Linux doesn't support fair scheduling (yet), although I think someone is 
working on a patch for that. In the meantime, the proper thing to do is 
renice the memory-hogging process to give more priority to other tasks. 
Setting it to a niceness value of 16-18 should give you better 
performance without killing the process, although swap usage may be 
increased.

Limiting memory is more difficult. You can set a limit with ulimit or PAM, 
but if the application exceeds the limits it will probably segfault...not 
what you want. 

This is really an application problem. You should have your programmers 
(or vendor) add support for memory limits in the application so that you 
can specify a maximum memory size.

-- 
The DMCA is anti-consumer. The RIAA has no right to rewrite copyright
laws to suit themselves.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to