All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: NILFS Users mailing list <users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
Subject: Re: Deadlocks! help, please!
Date: Fri, 18 Jan 2008 19:11:11 +0900	[thread overview]
Message-ID: <1200651072.2931.112.camel@localhost.localdomain> (raw)
In-Reply-To: <1200628693.2931.54.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

Hi Gábor,

On Fri, 2008-01-18 at 12:58 +0900, Ryusuke Konishi wrote:
> > > Could you get information through the following way
> > 
> > I attach the kernel log. Sorry for the long delay, but the machine
> frooze
> > during kernel recompilation, as i didn't use sysrq before. It
> worked.
> > Hope the information will be useful.
> Great!
> 
> I will look into both logs.
> 
> Anyway, thanks a lot for your effort.

Your log actually gave me a great hint!

The following part of the log indicates that 
the device mapper faced starvation of a memory pool,
and was waiting for someone to make room for it.

 Call Trace:
  [mempool_alloc+28/228] mempool_alloc+0x1c/0xe4
  [<c013dd7f>] mempool_alloc+0x1c/0xe4
  [wait_for_completion+125/205] wait_for_completion+0x7d/0xcd
  [<c036c31f>] wait_for_completion+0x7d/0xcd
  [default_wake_function+0/12] default_wake_function+0x0/0xc
  [<c0114c20>] default_wake_function+0x0/0xc
  [<e08c711a>] nilfs_segbuf_wait+0x79/0x1d7 [nilfs2]
  [<e08c7268>] nilfs_segbuf_wait+0x1c7/0x1d7 [nilfs2]
  [<e08c75de>] nilfs_segbuf_write+0x48/0x83 [nilfs2]
  [<e08ca035>] nilfs_segctor_add_dirty+0x1ca3/0x259f [nilfs2]
  [update_curr+267/309] update_curr+0x10b/0x135
  [<c0113b07>] update_curr+0x10b/0x135
  [<e08ca8e0>] nilfs_segctor_add_dirty+0x254e/0x259f [nilfs2]
  [<e08cbd47>] nilfs_clean_segments+0x3e0/0x9ac [nilfs2]
  [<e08cab33>] nilfs_segctor_add_segments_to_be_freed+0x202/0x33b
[nilfs2]
  [<e08cbbcc>] nilfs_clean_segments+0x265/0x9ac [nilfs2]
  [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10
  [<c0104917>] kernel_thread_helper+0x7/0x10


This seems to arise partly from the current NILFS implementation.
I'll advance analysis, and would like to find a possible
solution to manage this.

In the meantime, you may be able to suppress the problem
by avoiding use of the DM (if possible).

Thanks,
-- 
Ryusuke Konishi
NILFS team NTT
http://www.nilfs.org/

  parent reply	other threads:[~2008-01-18 10:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 21:25 Deadlocks! help, please! Gergely Gábor
2008-01-17  7:58 ` Ryusuke Konishi
     [not found]   ` <1200556717.3085.94.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-01-17  9:14     ` Ryusuke Konishi
     [not found]       ` <1200561294.3085.131.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-01-17 17:33         ` Gergely Gábor
2008-01-18  3:58           ` Ryusuke Konishi
     [not found]             ` <1200628693.2931.54.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-01-18 10:11               ` Ryusuke Konishi [this message]
     [not found]                 ` <1200651072.2931.112.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-01-21  5:01                   ` Ryusuke Konishi
     [not found]                     ` <20080121.140129.01311807.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-01-21 23:00                       ` Gergely Gábor
2008-01-22  3:02                         ` Ryusuke Konishi
     [not found]                           ` <1200970920.2844.59.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-02-05  9:28                             ` Ryusuke Konishi
     [not found]                               ` <20080205.182829.44149266.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-02-05 12:18                                 ` Gergely Gábor
2008-02-07 10:09                                 ` Gergely Gábor
2008-02-12 12:57                                   ` Ryusuke Konishi
     [not found]                                     ` <1202821077.9432.99.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-02-19 12:54                                       ` NILFS2 git repositories Ryusuke Konishi
2008-01-17 19:10         ` Deadlocks! help, please! Gergely Gábor
2008-01-25 11:46           ` Other strange things Gergely Gábor
2008-01-29  7:53             ` Ryusuke Konishi

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=1200651072.2931.112.camel@localhost.localdomain \
    --to=ryusuke-sg5x7nla6pw@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.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.