mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Michael W. Shaffer" <mwshaffer@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel 2.6.4 Hang in utime() on swap file
Date: Sat, 20 Mar 2004 10:16:30 -0800 (PST)	[thread overview]
Message-ID: <20040320181630.27185.qmail@web10401.mail.yahoo.com> (raw)

I have a Debian Sarge system running a 2.6 kernel (tested with 2.6.2, 2.6.3,
2.6.4 with the same behavior as described here), and am seeing un-killable
hanging processes with our particular backup product.

When the backup disk agent process is running, one the the last files it
tries to back up is a swap file at the path /swapfile00. The read of the
file appears to work fine, but then it wants to call utime() to reset the
atime/mtime on the file, and at this point the process becomes infinitely
hung, doing nothing, no more output from strace, never terminating.

This only occurs if the swapfile is actively in use when the backup runs. If
I run swapoff to deactivate the swapfile, then the utime() call apparently
completes and the process immediately finishes and exits normally. If the
swapfile is not in use at all, everything works fine.

As a workaround, I am just going to leave this swapfile inactive, since it's
not really used much anyway. I do not observe this behavior on the same
machine running a 2.4.21-xfs kernel.


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

             reply	other threads:[~2004-03-20 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-20 18:16 Michael W. Shaffer [this message]
2004-03-20 21:55 ` Andrew Morton
2004-03-21  9:52   ` Ingo Oeser
2004-03-20 22:23 Michael W. Shaffer

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=20040320181630.27185.qmail@web10401.mail.yahoo.com \
    --to=mwshaffer@yahoo.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®