lkml.org 
[lkml]   [2006]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: can I bring Linux down by running "renice -20 cpu_intensive_process"?
From
Date
Lee Revell <rlrevell@joe-job.com> writes:

> On Fri, 2006-03-10 at 22:01 +0000, Måns Rullgård wrote:
>> Jan Engelhardt <jengelh@linux01.gwdg.de> writes:
>>
>> >>Subject: can I bring Linux down by running "renice -20
>> >>cpu_intensive_process"?
>> >>
>> > Depends on what the cpu_intensive_process does. If it tries to
>> > allocate lots of memory, maybe. If it's _just_ CPU (as in `perl
>> > -e '1 while 1'`), you get a chance that you can input some
>> > commands on a terminal to kill it. SCHED_FIFO'ing or
>> > SCHED_RR'ing such a process is sudden death of course.
>>
>> Sysrq+n changes all realtime tasks to normal priority.
>>
>
> A nice -20 SCHED_OTHER task is not realtime, only SCHED_FIFO and
> SCHED_RR.

Maybe extending sysrq+n to lower the priority of -20 tasks would be a
good idea.

--
Måns Rullgård
mru@inprovide.com
-
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: 2006-03-12 13:03    [W:0.184 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site