mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steve Thompson <smt@vgersoft.com>
To: Alex Adriaanse <alex@innovacomputing.com>
Cc: linux-kernel@vger.kernel.org, drbd-user@lists.linbit.com
Subject: Re: [DRBD-user] Hanging kernel
Date: Thu, 23 Sep 2010 08:46:30 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LRH.0.9999.1009230842330.5001@helios.vgersoft.com> (raw)
In-Reply-To: <4C9AA4EB.70407@innovacomputing.com>

On Wed, 22 Sep 2010, Alex Adriaanse wrote:

> I'm administering a server that has frozen three times over the past two 
> days.  During these times, it seemed that most processes would all of a 
> sudden start hanging, and I couldn't SSH into the server or even log into the 
> console.  I would start seeing messages like "INFO: task kswapd0:28 blocked 
> for more than 120 seconds" on the console shortly after the processes hung. 
> The only way I could get the server to respond again was by resetting it.

This may not apply in your situation, but the only times I have ever seen 
this (and I've seen it several times), it was due to VM parameters that 
were inappropriate for the work load. Usually, if you wait long enough 
(sometimes as much as 20 minutes), the system will recover and continue. 
What are your values of:

 	sysctl vm.dirty_ratio
 	sysctl vm.dirty_background_ratio

I have had success in these situations by setting the former to 50, and 
the latter to 5, but the optimum values are sensitive to your peak load.
I don't believe that it has any direct connection with drbd.

Steve
----------------------------------------------------------------------------
Steve Thompson                 E-mail:      smt AT vgersoft DOT com
Voyager Software LLC           Web:         http://www DOT vgersoft DOT com
39 Smugglers Path              VSW Support: support AT vgersoft DOT com
Ithaca, NY 14850
   "186,300 miles per second: it's not just a good idea, it's the law"
----------------------------------------------------------------------------

  reply	other threads:[~2010-09-23 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23  0:52 Alex Adriaanse
2010-09-23 12:46 ` Steve Thompson [this message]
2010-09-23 13:40   ` [DRBD-user] " Alex Adriaanse

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=alpine.LRH.0.9999.1009230842330.5001@helios.vgersoft.com \
    --to=smt@vgersoft.com \
    --cc=alex@innovacomputing.com \
    --cc=drbd-user@lists.linbit.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®