Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750938AbWCLDoj (ORCPT ); Sat, 11 Mar 2006 22:44:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751305AbWCLDoj (ORCPT ); Sat, 11 Mar 2006 22:44:39 -0500 Received: from mustang.oldcity.dca.net ([216.158.38.3]:2784 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S1750938AbWCLDoj (ORCPT ); Sat, 11 Mar 2006 22:44:39 -0500 Subject: Re: can I bring Linux down by running "renice -20 cpu_intensive_process"? From: Lee Revell To: =?ISO-8859-1?Q?M=E5ns_Rullg=E5rd?= Cc: linux-kernel@vger.kernel.org In-Reply-To: References: <441180DD.3020206@wpkg.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Sat, 11 Mar 2006 22:44:36 -0500 Message-Id: <1142135077.25358.47.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Evolution 2.5.92 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 24 On Fri, 2006-03-10 at 22:01 +0000, M?ns Rullg?rd wrote: > Jan Engelhardt 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. Lee - 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/