All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Brett Pemberton <brett@vpac.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG: soft lockup in 2.6.25.5
Date: Fri, 19 Sep 2008 01:55:02 -0700	[thread overview]
Message-ID: <20080919015502.4183933d.akpm@linux-foundation.org> (raw)
In-Reply-To: <1221796156.4019.204.camel@sys05.in.vpac.org>

On Fri, 19 Sep 2008 13:49:16 +1000 Brett Pemberton <brett@vpac.org> wrote:

> I'm getting about 3-5 machines in a cluster of 95 hanging with 
> 
> BUG: soft lockup - CPU#7 stuck for 61s! [pdflush:321]
> 
> per week.  Nothing in common each time, different users running
> different jobs on different nodes.
> 
> The most recent is at the end of this email, .config is attached.
> 
> Googling is scary.  Many people reporting these, but never any response.
> It's happening on enough separate nodes that I can't believe it's
> hardware, although they are identical machines:
> 
> - 2x Quad-Core AMD Opteron(tm) Processor 2356
> - 32gb ram
> - 4 x sata drives
> 
> Running CentOS 5.2 with a kernel.org kernel
> Has been happening with a variety of kernels from 2.6.25 - present.

Yes, it's a false positive.  With a lot of memory and a random-access
or lot-of-files writing behaviour, it can take tremendous amounts of
time to get everything stored on the disk.

Not sure what to do about it, really.  Perhaps touch the softlockup
detector somewhere in the writeback code.

> I'd love any advice on where to turn to next and what avenues to pursue.

Set /proc/sys/kernel/softlockup_thresh to zero to shut it up :(

hm, there's a bug...

--- a/Documentation/sysctl/kernel.txt~a
+++ a/Documentation/sysctl/kernel.txt
@@ -351,9 +351,10 @@ kernel.  This value defaults to SHMMAX.
 
 softlockup_thresh:
 
-This value can be used to lower the softlockup tolerance
-threshold. The default threshold is 10s.  If a cpu is locked up
-for 10s, the kernel complains.  Valid values are 1-60s.
+This value can be used to lower the softlockup tolerance threshold.  The
+default threshold is 60 seconds.  If a cpu is locked up for 60 seconds, the
+kernel complains.  Valid values are 1-60 seconds.  Setting this tunable to
+zero will disable the softlockup detection altogether.
 
 ==============================================================
 
_


  reply	other threads:[~2008-09-19  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19  3:49 BUG: soft lockup in 2.6.25.5 Brett Pemberton
2008-09-19  8:55 ` Andrew Morton [this message]
2008-09-19 10:14   ` Brett Pemberton

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=20080919015502.4183933d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=brett@vpac.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.