Linux NILFS development
 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: Thu, 17 Jan 2008 16:58:37 +0900	[thread overview]
Message-ID: <1200556717.3085.94.camel@localhost.localdomain> (raw)
In-Reply-To: <20080116222500.60e78090@vosztok>

Hi,

On Wed, 2008-01-16 at 22:25 +0100, Gergely Gábor wrote:
> Hello!
> 
> Yesterday I have made the transition from xfs to nilfs on the /home
> partition of my notebook, and since then, with the same usage as
> before,i have experienced deadlocks 3 times.
> 
> The situations were the following:
> 
> using gimp to cut a picture
> browsing web with epiphany browser
> epiphany again
> 
> rtorrent was running in the background.

Sorry for inconvenience.
I will try to reproduce the problem by using same applications.
I may ask for your help to get information if I cannot.

> What I experienced:
> 
> suddenly hdd activity starts. possibly because of swapping (i have
> 512m ram, and only gimp/epiphany are likely to eat much ram, i use
> wmaker and console based programs mostly)
> 
> i can't kill gimp/epi, i can log in at other VT-s with root, but
> not with user. thing that touch /home (even ls!), sync simply get
> stuck, and even kill -9 can't kill the stuck program. therefore i
> must assume it got stuck in some syscall, in kernel mode or
> something similiar, possibly in the nilfs2 module. I must assume
> this, as the hangs seemed to be in connection with /home.
> 
> i couldn't restart the computer cleanly,had to power-cycle it, and
> after restart the system got alive as expected (i noticed there is
> no fsck util. isn't fsck needed? is a roll forward from last cp
> done at mount? ) The garbage collector couldn't have donethis,, 
> in theory, as i ordered it to have a 3 day long protection interval.

Yes, NILFS automatically recovers at mount time, so you don't have to
run fsck normally. NILFS does a roll forward during recovery, and
restarts from the last checkpoint that was completely written to disk.

This recovery, howerver, cannot rescue corrupted filesystem due to
destructive writes to the device nor a bug of NILFS.  So, it doesn't
mean that fsck.nilfs2 is needless.

> my GC put the following message to the logs:
> 
> Jan 16 01:19:00 vosztok nilfs_cleanerd[29597]: start
> Jan 16 01:19:00 vosztok nilfs_cleanerd[29597]: cannot create cleanerd on /dev/vosztok_vg/home
> Jan 16 01:19:00 vosztok nilfs_cleanerd[29597]: shutdown
> Jan 16 17:51:54 vosztok nilfs_cleanerd[4254]: close /var/run/nilfs_cleanerd-dm-1.pid
> Jan 16 17:51:54 vosztok nilfs_cleanerd[4254]: unlink /var/run/nilfs_cleanerd-dm-1.pid
> Jan 16 17:51:54 vosztok nilfs_cleanerd[4254]: shutdown
> Jan 16 17:54:34 vosztok nilfs_cleanerd[9661]: start
> Jan 16 17:54:35 vosztok nilfs_cleanerd[9661]: open /var/run/nilfs_cleanerd-dm-1.pid
> 
> And the module gave these messages:
> 
> Jan 16 17:54:34 vosztok kernel: NILFS warning (device dm-1): nilfs_sync_super: barrier-based sync failed. disabling barriers
> Jan 16 17:54:34 vosztok nilfs_cleanerd[9661]: start
> Jan 16 17:54:35 vosztok nilfs_cleanerd[9661]: open /var/run/nilfs_cleanerd-dm-1.pid

Hmm, the line
> Jan 16 01:19:00 vosztok nilfs_cleanerd[29597]: cannot create cleanerd on /dev/vosztok_vg/home

seems to show a related or unrelated abnormal state of the GC.
But I think we need different information to identify the problem.

> Please help me, (as tough i love nilfs even after this short
> interval of use, this quite reduces the user experience :) ) and tell
> me how, and what information should I provide to help you fix the
> problem.

Thanks :), we'll ask for your help later.

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

  reply	other threads:[~2008-01-17  7:58 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 [this message]
     [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
     [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=1200556717.3085.94.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox