lkml.org 
[lkml]   [2001]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: isolating process..
On Tue, Jun 05, 2001 at 12:37:55PM +0300, Bohdan Vlasyuk wrote:
> Is it possible by any means to isolate any given process, so that
> it'll be unable to crash system. Suppose all the process needs is
> stdin, stdout, and CPU time. Can Linux guarantee that given process
> won't hurt system stability ? Let us soppose that we have ideal CPU
> without mistakes. How can I limit CPU time/Mem Usage for given
> process?

You just gave a nice description what an OS kernel should do :)

> Please, supply ANY suggestions.
>
> My ideas:
>
> create some user, and decrease his ulimits up to miminum of 1 process,
> 0 core size, appropriate memory/ etc.

That's indeed the way to do it.


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.161 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site