All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: linux-kernel@vger.kernel.org
Subject: can I bring Linux down by running "renice -20 cpu_intensive_process"?
Date: Fri, 10 Mar 2006 14:36:29 +0100	[thread overview]
Message-ID: <441180DD.3020206@wpkg.org> (raw)

I have a Linux server (kernel 2.6.8.1 + Linux RAID1) which is a "backup" 
machine: it gets the files from other servers, compresses it, writes to 
the tape, checks md5sums etc.

It's been running for quite a bit, no problems with stability so far.

Yesterday, something happened though.

I was logged in remotely, and the system was running md5sum against a 30 
GB file.

I wanted the things to speed up a bit, and made "renice -20 <md5sum_pid>".

Few minutes after that I couldn't start any process, so I thought I made 
the system so busy with renice -20, that my SSH session probably 
disconnected.

In the morning, the system was still unavailable - I could ping it, I 
could telnet to any of the ports opened, but nothing more happened.

SSH was waiting forever after:

debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1


Nothing was displayed on the monitor (all black).

As I restarted the machine, I saw that the logging ends few minutes 
after I changed the priority of md5sum to -20.


So here is my question: is it possible to bring down the machine by 
simply doing "renice -20 cpu_intensive_process"?

As I said, this machine does heavy compression and md5sum calculations 
of big files every day, and was stable all the time - but stopped 
responding after I changed the priority of a CPU-intensive process to -20.

Coincidence and a hardware failure?

-- 
Tomasz Chmielewski
http://wpkg.org

             reply	other threads:[~2006-03-10 13:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 13:36 Tomasz Chmielewski [this message]
2006-03-10 14:44 ` can I bring Linux down by running "renice -20 cpu_intensive_process"? Jan Engelhardt
2006-03-10 14:52   ` Tomasz Chmielewski
2006-03-10 22:01   ` Måns Rullgård
2006-03-10 22:06     ` Jeffrey Hundstad
2006-03-11 10:42       ` Måns Rullgård
2006-03-12  1:41     ` Luke-Jr
2006-03-12  3:46       ` Lee Revell
2006-03-12  3:50       ` Lee Revell
2006-03-12  3:44     ` Lee Revell
2006-03-12 12:00       ` Måns Rullgård
2006-03-16 21:15         ` Bill Davidsen
2006-03-16 22:11           ` Lee Revell
2006-03-16 22:51           ` Måns Rullgård
2006-03-17  6:05             ` Mike Galbraith
2006-03-17 22:22               ` Måns Rullgård
2006-03-18 12:38             ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=441180DD.3020206@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.